1 #ifndef __qSlicerIOManager_h 2 #define __qSlicerIOManager_h 10 #include <ctkVTKObject.h> 17 #include "qSlicerBaseQTGUIExport.h" 20 class QDragEnterEvent;
24 class qSlicerIOManagerPrivate;
48 vtkCollection* loadedNodes =
nullptr);
50 void addHistory(
const QString& path);
51 const QStringList& history()
const;
82 void dragEnterEvent(QDragEnterEvent *event);
90 void dropEvent(QDropEvent *event);
94 void openScreenshotDialog();
95 void openSceneViewsDialog();
96 bool openLoadSceneDialog();
97 bool openAddSceneDialog();
98 inline bool openAddDataDialog();
99 inline bool openAddDataDialog(QString fileName);
100 inline bool openAddVolumeDialog();
101 inline bool openAddVolumesDialog();
102 inline bool openAddModelDialog();
103 inline bool openAddScalarOverlayDialog();
104 inline bool openAddTransformDialog();
105 inline bool openAddColorTableDialog();
106 inline bool openAddFiducialDialog();
107 inline bool openAddMarkupsDialog();
108 inline bool openAddFiberBundleDialog();
109 inline bool openSaveDataDialog();
112 void updateProgressDialog();
113 void execDelayedFileDialog();
119 QScopedPointer<qSlicerIOManagerPrivate>
d_ptr;
130 ioProperties[
"fileName"] = fileName;
150 ioProperties[
"multipleFiles"] =
true;
bool openAddMarkupsDialog()
Q_INVOKABLE bool openDialog(qSlicerIO::IOFileType fileType, qSlicerFileDialog::IOAction action, qSlicerIO::IOProperties ioProperties=qSlicerIO::IOProperties(), vtkCollection *loadedNodes=nullptr)
QScopedPointer< qSlicerIOManagerPrivate > d_ptr
const QList< qSlicerFileReader * > & readers() const
Returns the list of registered readers.
bool openAddVolumesDialog()
bool openSaveDataDialog()
bool openAddScalarOverlayDialog()
bool openAddFiducialDialog()
bool openAddModelDialog()
bool openAddFiberBundleDialog()
bool openAddVolumeDialog()
bool openAddTransformDialog()
virtual Q_INVOKABLE bool loadNodes(const qSlicerIO::IOFileType &fileType, const qSlicerIO::IOProperties ¶meters, vtkCollection *loadedNodes=nullptr, vtkMRMLMessageCollection *userMessages=nullptr)
qSlicerCoreIOManager Superclass
bool openAddColorTableDialog()