Slicer  5.1
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
qSlicerExportNodeDialog.h
Go to the documentation of this file.
1 /*==============================================================================
2 
3  Program: 3D Slicer
4 
5  Copyright (c) Kitware Inc.
6 
7  See COPYRIGHT.txt
8  or http://www.slicer.org/copyright/copyright.txt for details.
9 
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15 
16 ==============================================================================*/
17 
18 #ifndef __qSlicerExportNodeDialog_h
19 #define __qSlicerExportNodeDialog_h
20 
21 // Slicer includes
22 #include "qSlicerFileDialog.h"
23 #include "qSlicerBaseQTGUIExport.h"
24 
26 class qSlicerExportNodeDialogPrivate;
27 
28 //------------------------------------------------------------------------------
29 class Q_SLICER_BASE_QTGUI_EXPORT qSlicerExportNodeDialog : public qSlicerFileDialog
30 {
31  Q_OBJECT
32 public:
33  typedef QObject Superclass;
34  qSlicerExportNodeDialog(QObject* parent = nullptr);
35  ~qSlicerExportNodeDialog() override;
36 
37  qSlicerIO::IOFileType fileType()const override;
38  QString description()const override;
39  qSlicerFileDialog::IOAction action()const override;
40 
47  bool exec(const qSlicerIO::IOProperties& readerProperties =
48  qSlicerIO::IOProperties()) override;
49 
50 protected:
51  QScopedPointer<qSlicerExportNodeDialogPrivate> d_ptr;
52 
53 private:
54  Q_DECLARE_PRIVATE(qSlicerExportNodeDialog);
55  Q_DISABLE_COPY(qSlicerExportNodeDialog);
56 };
57 
58 #endif
virtual QString description() const =0
virtual qSlicerFileDialog::IOAction action() const =0
QScopedPointer< qSlicerExportNodeDialogPrivate > d_ptr
virtual qSlicerIO::IOFileType fileType() const =0
QString IOFileType
Definition: qSlicerIO.h:52
virtual bool exec(const qSlicerIO::IOProperties &ioProperties=qSlicerIO::IOProperties())=0