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