Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
QmitkDicomLocalStorageWidget Class Reference

QmitkDicomLocalStorageWidget is a QWidget providing functionality for dicom storage and import. More...

#include <QmitkDicomLocalStorageWidget.h>

Inheritance diagram for QmitkDicomLocalStorageWidget:
Collaboration diagram for QmitkDicomLocalStorageWidget:

Public Slots

void OnViewButtonClicked ()
 Called when view button was clicked. More...
 
void OnDeleteButtonClicked ()
 Called delete button was clicked. More...
 
void OnStartDicomImport (const QString &dicomData)
 Called when adding a dicom directory. Starts a thread adding the directory. More...
 
void OnStartDicomImport (const QStringList &dicomData)
 Called when adding a list of dicom files. Starts a thread adding the dicom files. More...
 
void OnSeriesSelectionChanged (const QStringList &)
 Called when the selection in the series table has changed. More...
 

Signals

void SignalFinishedImport ()
 emitted when import into database is finished. More...
 
void SignalDicomToDataManager (QHash< QString, QVariant > _t1)
 emitted when view button is clicked. More...
 
void SignalCancelImport ()
 emitted if cancel button is pressed. More...
 

Public Member Functions

 QmitkDicomLocalStorageWidget (QWidget *parent)
 QmitkDicomLocalStorageWidget(QWidget *parent) constructor. More...
 
 ~QmitkDicomLocalStorageWidget () override
 QmitkDicomExternalDataWidget destructor. More...
 
virtual void CreateQtPartControl (QWidget *parent)
 CreateQtPartControl(QWidget *parent) sets the view objects from ui_QmitkDicomExternalDataWidgetControls.h. More...
 
void SetDatabaseDirectory (QString newDatabaseDirectory)
 SetDatabaseDirectory sets database directory. More...
 

Static Public Attributes

static const std::string Widget_ID
 

Protected Member Functions

void SetDatabase (QString databaseFile)
 
bool DeletePatients ()
 
bool DeleteStudies ()
 
bool DeleteSeries ()
 

Protected Attributes

ctkDICOMDatabase * m_LocalDatabase
 
ctkDICOMIndexer * m_LocalIndexer
 
Ui::QmitkDicomLocalStorageWidgetControls * m_Controls
 

Detailed Description

QmitkDicomLocalStorageWidget is a QWidget providing functionality for dicom storage and import.

Definition at line 36 of file QmitkDicomLocalStorageWidget.h.

Constructor & Destructor Documentation

◆ QmitkDicomLocalStorageWidget()

QmitkDicomLocalStorageWidget::QmitkDicomLocalStorageWidget ( QWidget *  parent)

QmitkDicomLocalStorageWidget(QWidget *parent) constructor.

Parameters
parentis a pointer to the parent widget

◆ ~QmitkDicomLocalStorageWidget()

QmitkDicomLocalStorageWidget::~QmitkDicomLocalStorageWidget ( )
override

Member Function Documentation

◆ CreateQtPartControl()

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

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

Parameters
parentis a pointer to the parent widget

◆ DeletePatients()

bool QmitkDicomLocalStorageWidget::DeletePatients ( )
protected

◆ DeleteSeries()

bool QmitkDicomLocalStorageWidget::DeleteSeries ( )
protected

◆ DeleteStudies()

bool QmitkDicomLocalStorageWidget::DeleteStudies ( )
protected

◆ OnDeleteButtonClicked

void QmitkDicomLocalStorageWidget::OnDeleteButtonClicked ( )
slot

Called delete button was clicked.

◆ OnSeriesSelectionChanged

void QmitkDicomLocalStorageWidget::OnSeriesSelectionChanged ( const QStringList &  )
slot

Called when the selection in the series table has changed.

◆ OnStartDicomImport [1/2]

void QmitkDicomLocalStorageWidget::OnStartDicomImport ( const QString &  dicomData)
slot

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

◆ OnStartDicomImport [2/2]

void QmitkDicomLocalStorageWidget::OnStartDicomImport ( const QStringList &  dicomData)
slot

Called when adding a list of dicom files. Starts a thread adding the dicom files.

◆ OnViewButtonClicked

void QmitkDicomLocalStorageWidget::OnViewButtonClicked ( )
slot

Called when view button was clicked.

◆ SetDatabase()

void QmitkDicomLocalStorageWidget::SetDatabase ( QString  databaseFile)
protected

◆ SetDatabaseDirectory()

void QmitkDicomLocalStorageWidget::SetDatabaseDirectory ( QString  newDatabaseDirectory)

SetDatabaseDirectory sets database directory.

Parameters
newDatabaseDirectorycontains path to new database directory.

◆ SignalCancelImport

void QmitkDicomLocalStorageWidget::SignalCancelImport ( )
signal

emitted if cancel button is pressed.

◆ SignalDicomToDataManager

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

emitted when view button is clicked.

Parameters
_t1containing dicom UIDs properties.

◆ SignalFinishedImport

void QmitkDicomLocalStorageWidget::SignalFinishedImport ( )
signal

emitted when import into database is finished.

Member Data Documentation

◆ m_Controls

Ui::QmitkDicomLocalStorageWidgetControls* QmitkDicomLocalStorageWidget::m_Controls
protected

Definition at line 110 of file QmitkDicomLocalStorageWidget.h.

◆ m_LocalDatabase

ctkDICOMDatabase* QmitkDicomLocalStorageWidget::m_LocalDatabase
protected

Definition at line 108 of file QmitkDicomLocalStorageWidget.h.

◆ m_LocalIndexer

ctkDICOMIndexer* QmitkDicomLocalStorageWidget::m_LocalIndexer
protected

Definition at line 109 of file QmitkDicomLocalStorageWidget.h.

◆ Widget_ID

const std::string QmitkDicomLocalStorageWidget::Widget_ID
static

Definition at line 43 of file QmitkDicomLocalStorageWidget.h.


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