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 Member Functions | Protected Attributes
qSlicerDataDialog Class Reference

#include <Base/QTGUI/qSlicerDataDialog.h>

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

Public Types

typedef qSlicerFileDialog Superclass
 
- Public Types inherited from qSlicerFileDialog
enum  IOAction { Read, Write }
 
typedef QObject Superclass
 

Public Member Functions

virtual qSlicerFileDialog::IOAction action () const
 
virtual QString description () const
 
virtual void dropEvent (QDropEvent *event)
 
virtual bool exec (const qSlicerIO::IOProperties &readerProperties=qSlicerIO::IOProperties())
 run the dialog to select the file/files/directory More...
 
virtual qSlicerIO::IOFileType fileType () const
 
virtual bool isMimeDataAccepted (const QMimeData *mimeData) const
 
 qSlicerDataDialog (QObject *parent=0)
 
virtual ~qSlicerDataDialog ()
 
- Public Member Functions inherited from qSlicerFileDialog
virtual QStringList loadedNodes () const
 
 qSlicerFileDialog (QObject *parent=0)
 
virtual ~qSlicerFileDialog ()
 

Protected Attributes

QScopedPointer< qSlicerDataDialogPrivate > d_ptr
 

Additional Inherited Members

- Properties inherited from qSlicerFileDialog
QString description
 
- Static Public Member Functions inherited from qSlicerFileDialog
static QStringList nameFilters (qSlicerIO::IOFileType fileType=QString("NoFile"))
 

Detailed Description

Definition at line 36 of file qSlicerDataDialog.h.

Member Typedef Documentation

◆ Superclass

Definition at line 40 of file qSlicerDataDialog.h.

Constructor & Destructor Documentation

◆ qSlicerDataDialog()

qSlicerDataDialog::qSlicerDataDialog ( QObject *  parent = 0)

◆ ~qSlicerDataDialog()

virtual qSlicerDataDialog::~qSlicerDataDialog ( )
virtual

Member Function Documentation

◆ action()

virtual qSlicerFileDialog::IOAction qSlicerDataDialog::action ( ) const
virtual

Implements qSlicerFileDialog.

◆ description()

virtual QString qSlicerDataDialog::description ( ) const
virtual

Unique name of the reader/writer

See also
filetype()

Implements qSlicerFileDialog.

◆ dropEvent()

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

Handle drop events: populate the dialog with the droped 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()

virtual bool qSlicerDataDialog::exec ( const qSlicerIO::IOProperties readerProperties = qSlicerIO::IOProperties())
virtual

run the dialog to select the file/files/directory

Implements qSlicerFileDialog.

◆ fileType()

virtual qSlicerIO::IOFileType qSlicerDataDialog::fileType ( ) const
virtual

Implements qSlicerFileDialog.

◆ isMimeDataAccepted()

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

Accept or ignore mimedata. Returns false by default. Can be reimplemented in subclass to support drag&drop.

See also
dropEvent()

Reimplemented from qSlicerFileDialog.

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerDataDialogPrivate> qSlicerDataDialog::d_ptr
protected

Definition at line 56 of file qSlicerDataDialog.h.


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