Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
QmitkDicomExternalDataWidget is a QWidget providing functionality for dicom import. More...
#include <QmitkDicomExternalDataWidget.h>
Public Slots | |
void | OnDownloadButtonClicked () |
Called when download button was clicked. More... | |
void | OnViewButtonClicked () |
Called when view button was clicked. More... | |
void | OnStartDicomImport (const QString &) |
Called when adding a dicom directory. Starts a thread adding the directory. More... | |
void | OnSeriesSelectionChanged (const QStringList &s) |
Signals | |
void | SignalStartDicomImport (const QStringList &) |
emitted when import into database is finished. More... | |
void | SignalDicomToDataManager (QHash< QString, QVariant >) |
emitted when view button is clicked. More... | |
Public Member Functions | |
QmitkDicomExternalDataWidget (QWidget *parent) | |
QmitkDicomExternalDataWidget(QWidget *parent) constructor. More... | |
virtual | ~QmitkDicomExternalDataWidget () |
QmitkDicomExternalDataWidget destructor. More... | |
virtual void | CreateQtPartControl (QWidget *parent) |
CreateQtPartControl(QWidget *parent) sets the view objects from ui_QmitkDicomExternalDataWidgetControls.h. More... | |
void | Initialize () |
Initializes the widget. This method has to be called before widget can start. More... | |
Static Public Attributes | |
static const std::string | Widget_ID |
Protected Member Functions | |
QStringList | GetFileNamesFromIndex () |
Get the list of filepath from current selected index in TreeView. All file paths referring to the index will be returned. More... | |
void | SetupImportDialog () |
SetupImportDialog Sets up import dialog. More... | |
void | SetupProgressDialog () |
Protected Attributes | |
ctkDICOMDatabase * | m_ExternalDatabase |
ctkDICOMIndexer * | m_ExternalIndexer |
ctkFileDialog * | m_ImportDialog |
QProgressDialog * | m_ProgressDialog |
QString | m_LastImportDirectory |
Ui::QmitkDicomExternalDataWidgetControls * | m_Controls |
QmitkDicomExternalDataWidget is a QWidget providing functionality for dicom import.
Definition at line 44 of file QmitkDicomExternalDataWidget.h.
QmitkDicomExternalDataWidget::QmitkDicomExternalDataWidget | ( | QWidget * | parent | ) |
QmitkDicomExternalDataWidget(QWidget *parent) constructor.
parent | is a pointer to the parent widget |
Definition at line 30 of file QmitkDicomExternalDataWidget.cpp.
References CreateQtPartControl(), and Initialize().
|
virtual |
QmitkDicomExternalDataWidget destructor.
Definition at line 37 of file QmitkDicomExternalDataWidget.cpp.
|
virtual |
CreateQtPartControl(QWidget *parent) sets the view objects from ui_QmitkDicomExternalDataWidgetControls.h.
parent | is a pointer to the parent widget |
Definition at line 41 of file QmitkDicomExternalDataWidget.cpp.
References m_Controls, m_ExternalDatabase, m_ExternalIndexer, m_ImportDialog, m_ProgressDialog, OnDownloadButtonClicked(), OnSeriesSelectionChanged(), OnStartDicomImport(), OnViewButtonClicked(), SetupImportDialog(), and SetupProgressDialog().
Referenced by QmitkDicomExternalDataWidget().
|
protected |
Get the list of filepath from current selected index in TreeView. All file paths referring to the index will be returned.
Definition at line 131 of file QmitkDicomExternalDataWidget.cpp.
References m_Controls, and m_ExternalDatabase.
Referenced by OnDownloadButtonClicked().
void QmitkDicomExternalDataWidget::Initialize | ( | ) |
Initializes the widget. This method has to be called before widget can start.
Definition at line 82 of file QmitkDicomExternalDataWidget.cpp.
References m_ExternalDatabase, m_ExternalIndexer, and MITK_ERROR.
Referenced by QmitkDicomExternalDataWidget().
|
slot |
Called when download button was clicked.
Definition at line 100 of file QmitkDicomExternalDataWidget.cpp.
References GetFileNamesFromIndex(), info(), and SignalStartDicomImport().
Referenced by CreateQtPartControl().
|
slot |
Definition at line 185 of file QmitkDicomExternalDataWidget.cpp.
References m_Controls.
Referenced by CreateQtPartControl().
|
slot |
Called when adding a dicom directory. Starts a thread adding the directory.
Definition at line 175 of file QmitkDicomExternalDataWidget.cpp.
References m_ExternalDatabase, m_ExternalIndexer, m_ImportDialog, and m_LastImportDirectory.
Referenced by CreateQtPartControl().
|
slot |
Called when view button was clicked.
Definition at line 113 of file QmitkDicomExternalDataWidget.cpp.
References m_Controls, m_ExternalDatabase, and SignalDicomToDataManager().
Referenced by CreateQtPartControl().
|
protected |
SetupImportDialog Sets up import dialog.
Definition at line 190 of file QmitkDicomExternalDataWidget.cpp.
References m_ImportDialog.
Referenced by CreateQtPartControl().
|
protected |
Definition at line 204 of file QmitkDicomExternalDataWidget.cpp.
References m_ProgressDialog.
Referenced by CreateQtPartControl().
|
signal |
emitted when view button is clicked.
Referenced by OnViewButtonClicked().
|
signal |
emitted when import into database is finished.
Referenced by OnDownloadButtonClicked().
|
protected |
Definition at line 115 of file QmitkDicomExternalDataWidget.h.
Referenced by CreateQtPartControl(), GetFileNamesFromIndex(), OnSeriesSelectionChanged(), and OnViewButtonClicked().
|
protected |
Definition at line 108 of file QmitkDicomExternalDataWidget.h.
Referenced by CreateQtPartControl(), GetFileNamesFromIndex(), Initialize(), OnStartDicomImport(), and OnViewButtonClicked().
|
protected |
Definition at line 109 of file QmitkDicomExternalDataWidget.h.
Referenced by CreateQtPartControl(), Initialize(), and OnStartDicomImport().
|
protected |
Definition at line 110 of file QmitkDicomExternalDataWidget.h.
Referenced by CreateQtPartControl(), OnStartDicomImport(), and SetupImportDialog().
|
protected |
Definition at line 113 of file QmitkDicomExternalDataWidget.h.
Referenced by OnStartDicomImport().
|
protected |
Definition at line 112 of file QmitkDicomExternalDataWidget.h.
Referenced by CreateQtPartControl(), and SetupProgressDialog().
|
static |
Definition at line 51 of file QmitkDicomExternalDataWidget.h.