Slicer
4.10
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Base/QTGUI/qSlicerFileDialog.h>
Public Types | |
enum | IOAction { Read, Write } |
typedef QObject | Superclass |
Properties | |
QString | description |
Public Member Functions | |
virtual qSlicerFileDialog::IOAction | action () const =0 |
virtual QString | description () const =0 |
virtual void | dropEvent (QDropEvent *event) |
virtual bool | exec (const qSlicerIO::IOProperties &ioProperties=qSlicerIO::IOProperties())=0 |
virtual qSlicerIO::IOFileType | fileType () const =0 |
virtual bool | isMimeDataAccepted (const QMimeData *mimeData) const |
virtual QStringList | loadedNodes () const |
qSlicerFileDialog (QObject *parent=0) | |
virtual | ~qSlicerFileDialog () |
Static Public Member Functions | |
static QStringList | nameFilters (qSlicerIO::IOFileType fileType=QString("NoFile")) |
Definition at line 43 of file qSlicerFileDialog.h.
typedef QObject qSlicerFileDialog::Superclass |
Definition at line 50 of file qSlicerFileDialog.h.
Enumerator | |
---|---|
Read | |
Write |
Definition at line 60 of file qSlicerFileDialog.h.
|
read |
Definition at line 47 of file qSlicerFileDialog.h.
qSlicerFileDialog::qSlicerFileDialog | ( | QObject * | parent = 0 | ) |
|
virtual |
|
pure virtual |
Implemented in qSlicerStandardFileDialog, qSlicerDataDialog, qSlicerModelsDialog, and qSlicerSaveDataDialog.
|
pure virtual |
Unique name of the reader/writer
Implemented in qSlicerStandardFileDialog, qSlicerDataDialog, qSlicerModelsDialog, and qSlicerSaveDataDialog.
|
virtual |
Handle drop events: populate the dialog with the dropped mime data. Can be reimplemented in subclass to support drag&drop. Do nothing by default. If it does something, acceptProposedAction() or accept() must be called.
Reimplemented in qSlicerScriptedFileDialog, and qSlicerDataDialog.
|
pure virtual |
run the dialog to select the file/files/directory Properties availables with IOPorperties: fileMode, multipleFiles, fileType.
Implemented in qSlicerStandardFileDialog, qSlicerScriptedFileDialog, qSlicerDataDialog, qSlicerModelsDialog, and qSlicerSaveDataDialog.
|
pure virtual |
Implemented in qSlicerStandardFileDialog, qSlicerDataDialog, qSlicerModelsDialog, and qSlicerSaveDataDialog.
|
virtual |
Accept or ignore mimedata. Returns false by default. Can be reimplemented in subclass to support drag&drop.
Reimplemented in qSlicerScriptedFileDialog, and qSlicerDataDialog.
|
virtual |
Return the list of nodes created by exec(). To be reimplemented.
Reimplemented in qSlicerStandardFileDialog, and qSlicerModelsDialog.
|
static |
TBD: move in qSlicerCoreIOManager or qSlicerIOManager ? Return the namefilters of all the readers in IOManager corresponding to fileType