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;
75 void dragEnterEvent(QDragEnterEvent *event);
83 void dropEvent(QDropEvent *event);
87 void openScreenshotDialog();
88 void openSceneViewsDialog();
89 bool openLoadSceneDialog();
90 bool openAddSceneDialog();
91 inline bool openAddDataDialog();
92 inline bool openAddDataDialog(QString fileName);
93 inline bool openAddVolumeDialog();
94 inline bool openAddVolumesDialog();
95 inline bool openAddModelDialog();
96 inline bool openAddScalarOverlayDialog();
97 inline bool openAddTransformDialog();
98 inline bool openAddColorTableDialog();
99 inline bool openAddFiducialDialog();
100 inline bool openAddMarkupsDialog();
101 inline bool openAddFiberBundleDialog();
102 inline bool openSaveDataDialog();
105 void updateProgressDialog();
106 void execDelayedFileDialog();
112 QScopedPointer<qSlicerIOManagerPrivate>
d_ptr;
123 ioProperties[
"fileName"] = fileName;
143 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()