src
paraview-5.12
Qt
Components
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
19
class
PQCOMPONENTS_EXPORT
pqSelectReaderDialog
:
public
QDialog
20
{
21
Q_OBJECT
22
public
:
26
pqSelectReaderDialog
(
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
pqServer
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...
Definition:
pqServer.h:35
vtkStringList
Manages allocation and freeing for a string list.
Definition:
vtkStringList.h:18
vtkSMReaderFactory
is a factory for creating a reader proxy based on the filename/extension.
Definition:
vtkSMReaderFactory.h:45
pqSelectReaderDialog::Internal
QScopedPointer< pqInternal > Internal
Definition:
pqSelectReaderDialog.h:51
pqSelectReaderDialog
a dialog that prompts for a reader type to open a file
Definition:
pqSelectReaderDialog.h:19
Generated by
1.8.17 on Wed Mar 27 2024