Slicer
5.1
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Base/QTGUI/qSlicerFileDialog.h>
Properties | |
IOAction | action |
QString | description |
qSlicerIO::IOFileType | fileType |
Properties inherited from qSlicerFileDialog | |
QString | description |
Public Member Functions | |
qSlicerFileDialog::IOAction | action () const override |
QString | description () const override |
bool | exec (const qSlicerIO::IOProperties &ioProperties=qSlicerIO::IOProperties()) override |
qSlicerIO::IOFileType | fileType () const override |
QStringList | loadedNodes () const override |
Return the list of nodes created by exec(). More... | |
qSlicerStandardFileDialog (QObject *parent=nullptr) | |
void | setAction (IOAction action) |
virtual void | setDescription (const QString &description) |
virtual void | setFileType (qSlicerIO::IOFileType fileType) |
~qSlicerStandardFileDialog () override | |
Public Member Functions inherited from qSlicerFileDialog | |
virtual void | dropEvent (QDropEvent *event) |
virtual bool | isMimeDataAccepted (const QMimeData *mimeData) const |
qSlicerFileDialog (QObject *parent=nullptr) | |
~qSlicerFileDialog () override | |
Static Public Member Functions | |
static QString | getExistingDirectory (qSlicerIO::IOProperties ioProperties=qSlicerIO::IOProperties()) |
static QStringList | getOpenFileName (qSlicerIO::IOProperties ioProperties=qSlicerIO::IOProperties()) |
Properties availables with IOPorperties: fileMode, multipleFiles, fileType. More... | |
Static Public Member Functions inherited from qSlicerFileDialog | |
static QStringList | nameFilters (qSlicerIO::IOFileType fileType=QString("NoFile")) |
Protected Member Functions | |
qSlicerIOOptions * | options (const qSlicerIO::IOProperties &ioProperties) const |
Static Protected Member Functions | |
static ctkFileDialog * | createFileDialog (const qSlicerIO::IOProperties &ioProperties=qSlicerIO::IOProperties(), QWidget *parent=nullptr) |
Protected Attributes | |
QScopedPointer< qSlicerStandardFileDialogPrivate > | d_ptr |
Additional Inherited Members | |
Public Types inherited from qSlicerFileDialog | |
enum | IOAction { Read, Write } |
typedef QObject | Superclass |
Definition at line 105 of file qSlicerFileDialog.h.
|
readwrite |
This property controls which action the dialog is doing: read or write. Read by default.
Definition at line 113 of file qSlicerFileDialog.h.
|
readwrite |
Definition at line 110 of file qSlicerFileDialog.h.
|
readwrite |
Definition at line 109 of file qSlicerFileDialog.h.
qSlicerStandardFileDialog::qSlicerStandardFileDialog | ( | QObject * | parent = nullptr | ) |
|
override |
|
overridevirtual |
Reimplemented to return the IOAction set by setAction()
Implements qSlicerFileDialog.
|
staticprotected |
|
overridevirtual |
Reimplemented to return the description set by setDescription()
Implements qSlicerFileDialog.
|
overridevirtual |
run the dialog to select the file/files/directory Properties availables with IOPorperties: fileMode, multipleFiles, fileType.
Implements qSlicerFileDialog.
Reimplemented in qSlicerScriptedFileDialog.
|
overridevirtual |
Reimplemented to return the fileType set by setFileType()
Implements qSlicerFileDialog.
|
static |
|
static |
Properties availables with IOPorperties: fileMode, multipleFiles, fileType.
|
overridevirtual |
Return the list of nodes created by exec().
Reimplemented from qSlicerFileDialog.
|
protected |
void qSlicerStandardFileDialog::setAction | ( | IOAction | action | ) |
|
virtual |
|
virtual |
|
protected |
Definition at line 155 of file qSlicerFileDialog.h.