Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
QmitkDicomLocalStorageWidget Class Reference

Wrapper widget for a ctkDICOMTableManager and a few extra buttons for managing the local storage DICOM database. More...

#include <QmitkDicomLocalStorageWidget.h>

Inheritance diagram for QmitkDicomLocalStorageWidget:
Collaboration diagram for QmitkDicomLocalStorageWidget:

Public Slots

void OnImport (const QStringList &files)
 Starts a thread adding the given DICOM files. More...
 

Signals

void IndexingComplete ()
 Emitted when the indexing of newly added DICOM data is complete. More...
 
void ViewSeries (const std::vector< std::pair< std::string, std::optional< std::string >>> &series)
 Emitted when the View button is clicked. More...
 

Public Member Functions

 QmitkDicomLocalStorageWidget (QWidget *parent=nullptr)
 
 ~QmitkDicomLocalStorageWidget () override
 
QSharedPointer< ctkDICOMDatabase > SetDatabaseDirectory (const QString &databaseDirectory)
 Set the directory for the local storage DICOM database. More...
 

Detailed Description

Wrapper widget for a ctkDICOMTableManager and a few extra buttons for managing the local storage DICOM database.

Definition at line 31 of file QmitkDicomLocalStorageWidget.h.

Constructor & Destructor Documentation

◆ QmitkDicomLocalStorageWidget()

QmitkDicomLocalStorageWidget::QmitkDicomLocalStorageWidget ( QWidget *  parent = nullptr)
explicit

◆ ~QmitkDicomLocalStorageWidget()

QmitkDicomLocalStorageWidget::~QmitkDicomLocalStorageWidget ( )
override

Member Function Documentation

◆ IndexingComplete

void QmitkDicomLocalStorageWidget::IndexingComplete ( )
signal

Emitted when the indexing of newly added DICOM data is complete.

◆ OnImport

void QmitkDicomLocalStorageWidget::OnImport ( const QStringList &  files)
slot

Starts a thread adding the given DICOM files.

◆ SetDatabaseDirectory()

QSharedPointer<ctkDICOMDatabase> QmitkDicomLocalStorageWidget::SetDatabaseDirectory ( const QString &  databaseDirectory)

Set the directory for the local storage DICOM database.

It is necessary to set the directory for the local storage DICOM database to fully initialize this widget.

The returned database pointer should be passed to the ctkDICOMQueryRetrieveWidget as retrieve database.

Parameters
databaseDirectoryPath to a directory used for storing the local storage DICOM database.
Returns
A shared pointer to the DICOM database of the wrapped ctkDICOMTableManager.

◆ ViewSeries

void QmitkDicomLocalStorageWidget::ViewSeries ( const std::vector< std::pair< std::string, std::optional< std::string >>> &  series)
signal

Emitted when the View button is clicked.

Parameters
seriesA vector of pairs containing the first file of each series and optionally its modality (DICOM tag (0008,0060)).

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