Slicer
5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Base/QTGUI/qSlicerScriptedFileDialog.h>
Public Types | |
typedef qSlicerStandardFileDialog | Superclass |
Public Types inherited from qSlicerFileDialog | |
enum | IOAction { Read, Write } |
typedef QObject | Superclass |
Public Slots | |
void | acceptMimeData (bool accept) |
Public Member Functions | |
void | dropEvent (QDropEvent *event) override |
Reimplemented to propagate to python methods. More... | |
Q_INVOKABLE QDropEvent * | dropEvent () const |
bool | exec (const qSlicerIO::IOProperties &ioProperties=qSlicerIO::IOProperties()) override |
Reimplemented to propagate to python methods. More... | |
Q_INVOKABLE const qSlicerIO::IOProperties & | ioProperties () const |
bool | isMimeDataAccepted (const QMimeData *mimeData) const override |
Reimplemented to propagate to python methods. More... | |
Q_INVOKABLE const QMimeData * | mimeData () const |
QString | pythonSource () const |
qSlicerScriptedFileDialog (QObject *parent=nullptr) | |
Q_INVOKABLE PyObject * | self () const |
Convenience method allowing to retrieve the associated scripted instance. More... | |
bool | setPythonSource (const QString &newPythonSource, const QString &className=QLatin1String(""), bool missingClassIsExpected=true) |
~qSlicerScriptedFileDialog () override | |
Public Member Functions inherited from qSlicerStandardFileDialog | |
qSlicerFileDialog::IOAction | action () const override |
QString | description () const 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 | |
qSlicerFileDialog (QObject *parent=nullptr) | |
~qSlicerFileDialog () override | |
Protected Attributes | |
QScopedPointer< qSlicerScriptedFileDialogPrivate > | d_ptr |
Protected Attributes inherited from qSlicerStandardFileDialog | |
QScopedPointer< qSlicerStandardFileDialogPrivate > | d_ptr |
Additional Inherited Members | |
Properties inherited from qSlicerStandardFileDialog | |
IOAction | action |
QString | description |
qSlicerIO::IOFileType | fileType |
Properties inherited from qSlicerFileDialog | |
QString | description |
Static Public Member Functions inherited from qSlicerStandardFileDialog | |
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 inherited from qSlicerStandardFileDialog | |
qSlicerIOOptions * | options (const qSlicerIO::IOProperties &ioProperties) const |
Static Protected Member Functions inherited from qSlicerStandardFileDialog | |
static ctkFileDialog * | createFileDialog (const qSlicerIO::IOProperties &ioProperties=qSlicerIO::IOProperties(), QWidget *parent=nullptr) |
Definition at line 35 of file qSlicerScriptedFileDialog.h.
Definition at line 41 of file qSlicerScriptedFileDialog.h.
qSlicerScriptedFileDialog::qSlicerScriptedFileDialog | ( | QObject * | parent = nullptr | ) |
|
override |
|
slot |
|
overridevirtual |
Reimplemented to propagate to python methods.
Reimplemented from qSlicerFileDialog.
Q_INVOKABLE QDropEvent* qSlicerScriptedFileDialog::dropEvent | ( | ) | const |
Return the dropEvent when dropEvent() is bebing called.
|
overridevirtual |
Reimplemented to propagate to python methods.
Reimplemented from qSlicerStandardFileDialog.
Q_INVOKABLE const qSlicerIO::IOProperties& qSlicerScriptedFileDialog::ioProperties | ( | ) | const |
|
overridevirtual |
Reimplemented to propagate to python methods.
Reimplemented from qSlicerFileDialog.
Q_INVOKABLE const QMimeData* qSlicerScriptedFileDialog::mimeData | ( | ) | const |
Return the dragEnterEvent when dragEnterEvent() is being called.
QString qSlicerScriptedFileDialog::pythonSource | ( | ) | const |
Q_INVOKABLE PyObject* qSlicerScriptedFileDialog::self | ( | ) | const |
Convenience method allowing to retrieve the associated scripted instance.
bool qSlicerScriptedFileDialog::setPythonSource | ( | const QString & | newPythonSource, |
const QString & | className = QLatin1String("") , |
||
bool | missingClassIsExpected = true |
||
) |
|
protected |
Definition at line 76 of file qSlicerScriptedFileDialog.h.