Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
QmitkDicomExternalDataWidget Class Reference

QmitkDicomExternalDataWidget is a QWidget providing functionality for dicom import. More...

#include <QmitkDicomExternalDataWidget.h>

Inheritance diagram for QmitkDicomExternalDataWidget:
Collaboration diagram for QmitkDicomExternalDataWidget:

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 Slots

void OnProgressStep (const QString &)
 
void OnProgressDetail (const QString &)
 
void OnProgress (int value)
 
void OnIndexingComplete (int, int, int, int)
 

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
 
QString m_ProgressStep
 
Ui::QmitkDicomExternalDataWidgetControls * m_Controls
 

Detailed Description

QmitkDicomExternalDataWidget is a QWidget providing functionality for dicom import.

Definition at line 37 of file QmitkDicomExternalDataWidget.h.

Constructor & Destructor Documentation

◆ QmitkDicomExternalDataWidget()

QmitkDicomExternalDataWidget::QmitkDicomExternalDataWidget ( QWidget *  parent)

QmitkDicomExternalDataWidget(QWidget *parent) constructor.

Parameters
parentis a pointer to the parent widget

◆ ~QmitkDicomExternalDataWidget()

QmitkDicomExternalDataWidget::~QmitkDicomExternalDataWidget ( )
override

Member Function Documentation

◆ CreateQtPartControl()

virtual void QmitkDicomExternalDataWidget::CreateQtPartControl ( QWidget *  parent)
virtual

CreateQtPartControl(QWidget *parent) sets the view objects from ui_QmitkDicomExternalDataWidgetControls.h.

Parameters
parentis a pointer to the parent widget

◆ GetFileNamesFromIndex()

QStringList QmitkDicomExternalDataWidget::GetFileNamesFromIndex ( )
protected

Get the list of filepath from current selected index in TreeView. All file paths referring to the index will be returned.

◆ Initialize()

void QmitkDicomExternalDataWidget::Initialize ( )

Initializes the widget. This method has to be called before widget can start.

◆ OnDownloadButtonClicked

void QmitkDicomExternalDataWidget::OnDownloadButtonClicked ( )
slot

Called when download button was clicked.

◆ OnIndexingComplete

void QmitkDicomExternalDataWidget::OnIndexingComplete ( int  ,
int  ,
int  ,
int   
)
protectedslot

◆ OnProgress

void QmitkDicomExternalDataWidget::OnProgress ( int  value)
protectedslot

◆ OnProgressDetail

void QmitkDicomExternalDataWidget::OnProgressDetail ( const QString &  )
protectedslot

◆ OnProgressStep

void QmitkDicomExternalDataWidget::OnProgressStep ( const QString &  )
protectedslot

◆ OnSeriesSelectionChanged

void QmitkDicomExternalDataWidget::OnSeriesSelectionChanged ( const QStringList &  s)
slot

◆ OnStartDicomImport

void QmitkDicomExternalDataWidget::OnStartDicomImport ( const QString &  )
slot

Called when adding a dicom directory. Starts a thread adding the directory.

◆ OnViewButtonClicked

void QmitkDicomExternalDataWidget::OnViewButtonClicked ( )
slot

Called when view button was clicked.

◆ SetupImportDialog()

void QmitkDicomExternalDataWidget::SetupImportDialog ( )
protected

SetupImportDialog Sets up import dialog.

◆ SetupProgressDialog()

void QmitkDicomExternalDataWidget::SetupProgressDialog ( )
protected

◆ SignalDicomToDataManager

void QmitkDicomExternalDataWidget::SignalDicomToDataManager ( QHash< QString, QVariant >  )
signal

emitted when view button is clicked.

◆ SignalStartDicomImport

void QmitkDicomExternalDataWidget::SignalStartDicomImport ( const QStringList &  )
signal

emitted when import into database is finished.

Member Data Documentation

◆ m_Controls

Ui::QmitkDicomExternalDataWidgetControls* QmitkDicomExternalDataWidget::m_Controls
protected

Definition at line 118 of file QmitkDicomExternalDataWidget.h.

◆ m_ExternalDatabase

ctkDICOMDatabase* QmitkDicomExternalDataWidget::m_ExternalDatabase
protected

Definition at line 110 of file QmitkDicomExternalDataWidget.h.

◆ m_ExternalIndexer

ctkDICOMIndexer* QmitkDicomExternalDataWidget::m_ExternalIndexer
protected

Definition at line 111 of file QmitkDicomExternalDataWidget.h.

◆ m_ImportDialog

ctkFileDialog* QmitkDicomExternalDataWidget::m_ImportDialog
protected

Definition at line 112 of file QmitkDicomExternalDataWidget.h.

◆ m_LastImportDirectory

QString QmitkDicomExternalDataWidget::m_LastImportDirectory
protected

Definition at line 115 of file QmitkDicomExternalDataWidget.h.

◆ m_ProgressDialog

QProgressDialog* QmitkDicomExternalDataWidget::m_ProgressDialog
protected

Definition at line 114 of file QmitkDicomExternalDataWidget.h.

◆ m_ProgressStep

QString QmitkDicomExternalDataWidget::m_ProgressStep
protected

Definition at line 116 of file QmitkDicomExternalDataWidget.h.

◆ Widget_ID

const std::string QmitkDicomExternalDataWidget::Widget_ID
static

Definition at line 44 of file QmitkDicomExternalDataWidget.h.


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