pqSelectReaderDialog.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3 // SPDX-License-Identifier: BSD-3-Clause
4 
5 #ifndef pqSelectReaderDialog_h
6 #define pqSelectReaderDialog_h
7 
8 #include "pqComponentsModule.h"
9 #include <QDialog>
10 #include <QScopedPointer> // needed for ivar
11 
12 class pqServer;
13 class vtkSMReaderFactory;
14 class vtkStringList;
15 
20 {
21  Q_OBJECT
22 public:
27  const QString& file, pqServer* s, vtkSMReaderFactory* factory, QWidget* p = nullptr);
28 
29  pqSelectReaderDialog(const QString& file, pqServer* s, vtkStringList* list, QWidget* p = nullptr);
33  ~pqSelectReaderDialog() override;
34 
38  QString getReader() const;
39 
43  QString getGroup() const;
44 
48  bool isSetAsDefault() const;
49 
50 protected:
51  class pqInternal;
52  QScopedPointer<pqInternal> Internal;
53 };
54 
55 #endif
QScopedPointer< pqInternal > Internal
#define PQCOMPONENTS_EXPORT
is a factory for creating a reader proxy based on the filename/extension.
a dialog that prompts for a reader type to open a file
Manages allocation and freeing for a string list.
Definition: vtkStringList.h:18
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...
Definition: pqServer.h:35