Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Slots | Public Member Functions | Protected Attributes
qSlicerScriptedFileDialog Class Reference

#include <Base/QTGUI/qSlicerScriptedFileDialog.h>

Inheritance diagram for qSlicerScriptedFileDialog:
Inheritance graph
[legend]
Collaboration diagram for qSlicerScriptedFileDialog:
Collaboration graph
[legend]

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

virtual void dropEvent (QDropEvent *event)
 Reimplemented to propagate to python methods. More...
 
Q_INVOKABLE QDropEvent * dropEvent () const
 
virtual bool exec (const qSlicerIO::IOProperties &ioProperties=qSlicerIO::IOProperties())
 Reimplemented to propagate to python methods. More...
 
Q_INVOKABLE const qSlicerIO::IOPropertiesioProperties () const
 
virtual bool isMimeDataAccepted (const QMimeData *mimeData) const
 Reimplemented to propagate to python methods. More...
 
Q_INVOKABLE const QMimeData * mimeData () const
 
QString pythonSource () const
 
 qSlicerScriptedFileDialog (QObject *parent=0)
 
Q_INVOKABLE PyObjectself () const
 Convenience method allowing to retrieve the associated scripted instance. More...
 
bool setPythonSource (const QString &newPythonSource, const QString &className=QLatin1String(""))
 
virtual ~qSlicerScriptedFileDialog ()
 
- Public Member Functions inherited from qSlicerStandardFileDialog
virtual qSlicerFileDialog::IOAction action () const
 
virtual QString description () const
 
virtual qSlicerIO::IOFileType fileType () const
 
virtual QStringList loadedNodes () const
 Return the list of nodes created by exec(). More...
 
 qSlicerStandardFileDialog (QObject *parent=0)
 
void setAction (IOAction action)
 
virtual void setDescription (const QString &description)
 
virtual void setFileType (qSlicerIO::IOFileType fileType)
 
virtual ~qSlicerStandardFileDialog ()
 
- Public Member Functions inherited from qSlicerFileDialog
 qSlicerFileDialog (QObject *parent=0)
 
virtual ~qSlicerFileDialog ()
 

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
qSlicerIOOptionsoptions (const qSlicerIO::IOProperties &ioProperties) const
 
- Static Protected Member Functions inherited from qSlicerStandardFileDialog
static ctkFileDialog * createFileDialog (const qSlicerIO::IOProperties &ioProperties=qSlicerIO::IOProperties())
 

Detailed Description

Definition at line 35 of file qSlicerScriptedFileDialog.h.

Member Typedef Documentation

◆ Superclass

Definition at line 41 of file qSlicerScriptedFileDialog.h.

Constructor & Destructor Documentation

◆ qSlicerScriptedFileDialog()

qSlicerScriptedFileDialog::qSlicerScriptedFileDialog ( QObject *  parent = 0)

◆ ~qSlicerScriptedFileDialog()

virtual qSlicerScriptedFileDialog::~qSlicerScriptedFileDialog ( )
virtual

Member Function Documentation

◆ acceptMimeData

void qSlicerScriptedFileDialog::acceptMimeData ( bool  accept)
slot

◆ dropEvent() [1/2]

virtual void qSlicerScriptedFileDialog::dropEvent ( QDropEvent *  event)
virtual

Reimplemented to propagate to python methods.

Reimplemented from qSlicerFileDialog.

◆ dropEvent() [2/2]

Q_INVOKABLE QDropEvent* qSlicerScriptedFileDialog::dropEvent ( ) const

Return the dropEvent when dropEvent() is bebing called.

See also
dropEvent()

◆ exec()

virtual bool qSlicerScriptedFileDialog::exec ( const qSlicerIO::IOProperties ioProperties = qSlicerIO::IOProperties())
virtual

Reimplemented to propagate to python methods.

Reimplemented from qSlicerStandardFileDialog.

◆ ioProperties()

Q_INVOKABLE const qSlicerIO::IOProperties& qSlicerScriptedFileDialog::ioProperties ( ) const

Return the ioProperties when exec() is being called.

See also
exec()

◆ isMimeDataAccepted()

virtual bool qSlicerScriptedFileDialog::isMimeDataAccepted ( const QMimeData *  mimeData) const
virtual

Reimplemented to propagate to python methods.

Reimplemented from qSlicerFileDialog.

◆ mimeData()

Q_INVOKABLE const QMimeData* qSlicerScriptedFileDialog::mimeData ( ) const

Return the dragEnterEvent when dragEnterEvent() is being called.

See also
dragEnterEvent()

◆ pythonSource()

QString qSlicerScriptedFileDialog::pythonSource ( ) const

◆ self()

Q_INVOKABLE PyObject* qSlicerScriptedFileDialog::self ( ) const

Convenience method allowing to retrieve the associated scripted instance.

◆ setPythonSource()

bool qSlicerScriptedFileDialog::setPythonSource ( const QString &  newPythonSource,
const QString &  className = QLatin1String("") 
)
Warning
Setting the source is a no-op. See detailed comment in the source code.

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerScriptedFileDialogPrivate> qSlicerScriptedFileDialog::d_ptr
protected

Definition at line 75 of file qSlicerScriptedFileDialog.h.


The documentation for this class was generated from the following file: