Medical Imaging Interaction Toolkit
2018.4.99-389bf124
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... | |
~QmitkDicomExternalDataWidget () override | |
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 40 of file QmitkDicomExternalDataWidget.h.
QmitkDicomExternalDataWidget::QmitkDicomExternalDataWidget | ( | QWidget * | parent | ) |
QmitkDicomExternalDataWidget(QWidget *parent) constructor.
parent | is a pointer to the parent widget |
Definition at line 27 of file QmitkDicomExternalDataWidget.cpp.
References CreateQtPartControl(), and Initialize().
|
override |
QmitkDicomExternalDataWidget destructor.
Definition at line 34 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 38 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 133 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 79 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 102 of file QmitkDicomExternalDataWidget.cpp.
References GetFileNamesFromIndex(), info(), and SignalStartDicomImport().
Referenced by CreateQtPartControl().
|
slot |
Definition at line 187 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 177 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 115 of file QmitkDicomExternalDataWidget.cpp.
References m_Controls, m_ExternalDatabase, and SignalDicomToDataManager().
Referenced by CreateQtPartControl().
|
protected |
SetupImportDialog Sets up import dialog.
Definition at line 192 of file QmitkDicomExternalDataWidget.cpp.
References m_ImportDialog.
Referenced by CreateQtPartControl().
|
protected |
Definition at line 206 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 111 of file QmitkDicomExternalDataWidget.h.
Referenced by CreateQtPartControl(), GetFileNamesFromIndex(), OnSeriesSelectionChanged(), and OnViewButtonClicked().
|
protected |
Definition at line 104 of file QmitkDicomExternalDataWidget.h.
Referenced by CreateQtPartControl(), GetFileNamesFromIndex(), Initialize(), OnStartDicomImport(), and OnViewButtonClicked().
|
protected |
Definition at line 105 of file QmitkDicomExternalDataWidget.h.
Referenced by CreateQtPartControl(), Initialize(), and OnStartDicomImport().
|
protected |
Definition at line 106 of file QmitkDicomExternalDataWidget.h.
Referenced by CreateQtPartControl(), OnStartDicomImport(), and SetupImportDialog().
|
protected |
Definition at line 109 of file QmitkDicomExternalDataWidget.h.
Referenced by OnStartDicomImport().
|
protected |
Definition at line 108 of file QmitkDicomExternalDataWidget.h.
Referenced by CreateQtPartControl(), and SetupProgressDialog().
|
static |
Definition at line 47 of file QmitkDicomExternalDataWidget.h.