21 #ifndef __qSlicerScriptedFileDialog_h 22 #define __qSlicerScriptedFileDialog_h 26 #include "qSlicerBaseQTGUIExport.h" 33 class qSlicerScriptedFileDialogPrivate;
45 QString pythonSource()
const;
48 bool setPythonSource(
const QString& newPythonSource,
const QString& className = QLatin1String(
""));
56 virtual void dropEvent(QDropEvent* event);
66 Q_INVOKABLE
const QMimeData* mimeData()
const;
72 void acceptMimeData(
bool accept);
75 QScopedPointer<qSlicerScriptedFileDialogPrivate>
d_ptr;
virtual bool exec(const qSlicerIO::IOProperties &ioProperties=qSlicerIO::IOProperties())
virtual void dropEvent(QDropEvent *event)
qSlicerStandardFileDialog Superclass
QScopedPointer< qSlicerScriptedFileDialogPrivate > d_ptr
virtual bool isMimeDataAccepted(const QMimeData *mimeData) const