#include <Base/QTGUI/qSlicerDataDialog.h>
|
virtual void | addDirectory (const QString directoryPath) |
|
virtual void | addFile (const QString filePath) |
| for programmatic population of dialog More...
|
|
|
QScopedPointer< qSlicerDataDialogPrivate > | d_ptr |
|
Definition at line 36 of file qSlicerDataDialog.h.
◆ Superclass
◆ qSlicerDataDialog()
qSlicerDataDialog::qSlicerDataDialog |
( |
QObject * |
parent = nullptr | ) |
|
◆ ~qSlicerDataDialog()
qSlicerDataDialog::~qSlicerDataDialog |
( |
| ) |
|
|
override |
◆ action()
◆ addDirectory
virtual void qSlicerDataDialog::addDirectory |
( |
const QString |
directoryPath | ) |
|
|
virtualslot |
◆ addFile
virtual void qSlicerDataDialog::addFile |
( |
const QString |
filePath | ) |
|
|
virtualslot |
for programmatic population of dialog
◆ description()
QString qSlicerDataDialog::description |
( |
| ) |
const |
|
overridevirtual |
◆ dropEvent()
void qSlicerDataDialog::dropEvent |
( |
QDropEvent * |
event | ) |
|
|
overridevirtual |
Handle drop events: populate the dialog with the dropped mime data. Can be reimplemented in subclass to support drag&drop. Do nothing by default. If it does something, acceptProposedAction() or accept() must be called.
- See also
- isMimeDataAccepted()
Reimplemented from qSlicerFileDialog.
◆ exec()
◆ fileType()
◆ isMimeDataAccepted()
bool qSlicerDataDialog::isMimeDataAccepted |
( |
const QMimeData * |
mimeData | ) |
const |
|
overridevirtual |
Accept or ignore mimedata. Returns false by default. Can be reimplemented in subclass to support drag&drop.
- See also
- dropEvent()
Reimplemented from qSlicerFileDialog.
◆ d_ptr
QScopedPointer<qSlicerDataDialogPrivate> qSlicerDataDialog::d_ptr |
|
protected |
The documentation for this class was generated from the following file: