Wrapper widget for a ctkDICOMTableManager and a few extra buttons for managing the local storage DICOM database.
More...
#include <QmitkDicomLocalStorageWidget.h>
|
void | OnImport (const QStringList &files) |
| Starts a thread adding the given DICOM files. More...
|
|
|
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...
|
|
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.
◆ QmitkDicomLocalStorageWidget()
QmitkDicomLocalStorageWidget::QmitkDicomLocalStorageWidget |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ ~QmitkDicomLocalStorageWidget()
QmitkDicomLocalStorageWidget::~QmitkDicomLocalStorageWidget |
( |
| ) |
|
|
override |
◆ 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
-
databaseDirectory | Path 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
-
series | A 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: