CustusX
15.8
An IGT application
|
#include <cxDICOMAppWidget.h>
Public Types | |
typedef QWidget | Superclass |
Public Slots | |
void | setDatabaseDirectory (const QString &directory) |
void | onSelectionChanged (const QItemSelection &, const QItemSelection &) |
void | openQueryDialog () |
void | onRemoveAction () |
void | resumeModel () |
void | resetModel () |
void | onImportDirectory (QString directory) |
void | onCurrentChanged (const QModelIndex &, const QModelIndex &) |
Signals | |
void | databaseDirectoryChanged (const QString &) |
void | queryRetrieveFinished () |
void | directoryImported () |
Public Member Functions | |
DICOMAppWidget (QWidget *parent=0) | |
virtual | ~DICOMAppWidget () |
QString | databaseDirectory () const |
Directory being used to store the dicom database. More... | |
void | setTagsToPrecache (const QStringList tags) |
const QStringList | tagsToPrecache () |
void | updateDatabaseSchemaIfNeeded () |
QStringList | getSelectedPatients () |
QStringList | getSelectedStudies () |
QStringList | getSelectedSeries () |
ctkDICOMDatabase * | database () |
void | setDisplayImportSummary (bool) |
bool | displayImportSummary () |
int | patientsAddedDuringImport () |
Accessors to status of last directory import operation. More... | |
int | studiesAddedDuringImport () |
int | seriesAddedDuringImport () |
int | instancesAddedDuringImport () |
void | addActionToToolbar (QAction *action) |
Protected Slots | |
void | onModelSelected (const QModelIndex &index) |
void | onQueryRetrieveFinished () |
void | onTreeCollapsed (const QModelIndex &index) |
void | onTreeExpanded (const QModelIndex &index) |
void | onThumbnailWidthSliderValueChanged (int val) |
Protected Attributes | |
QScopedPointer < DICOMAppWidgetPrivate > | d_ptr |
Adapted for use in CustusX from ctkDICOMAppWidget
Definition at line 47 of file cxDICOMAppWidget.h.
typedef QWidget cx::DICOMAppWidget::Superclass |
Definition at line 52 of file cxDICOMAppWidget.h.
|
explicit |
Definition at line 317 of file cxDICOMAppWidget.cpp.
|
virtual |
Definition at line 367 of file cxDICOMAppWidget.cpp.
void cx::DICOMAppWidget::addActionToToolbar | ( | QAction * | action | ) |
Definition at line 610 of file cxDICOMAppWidget.cpp.
ctkDICOMDatabase * cx::DICOMAppWidget::database | ( | ) |
Definition at line 490 of file cxDICOMAppWidget.cpp.
QString cx::DICOMAppWidget::databaseDirectory | ( | ) | const |
Directory being used to store the dicom database.
Definition at line 469 of file cxDICOMAppWidget.cpp.
|
signal |
|
signal |
bool cx::DICOMAppWidget::displayImportSummary | ( | ) |
Definition at line 375 of file cxDICOMAppWidget.cpp.
QStringList cx::DICOMAppWidget::getSelectedPatients | ( | ) |
Definition at line 513 of file cxDICOMAppWidget.cpp.
QStringList cx::DICOMAppWidget::getSelectedSeries | ( | ) |
Definition at line 523 of file cxDICOMAppWidget.cpp.
QStringList cx::DICOMAppWidget::getSelectedStudies | ( | ) |
Definition at line 518 of file cxDICOMAppWidget.cpp.
int cx::DICOMAppWidget::instancesAddedDuringImport | ( | ) |
Definition at line 410 of file cxDICOMAppWidget.cpp.
|
slot |
Definition at line 561 of file cxDICOMAppWidget.cpp.
|
slot |
Import a directory - this is used when the user selects a directory from the Import Dialog, but can also be used externally to trigger an import (i.e. for testing or to support drag-and-drop)
Definition at line 551 of file cxDICOMAppWidget.cpp.
|
protectedslot |
Definition at line 567 of file cxDICOMAppWidget.cpp.
|
protectedslot |
Definition at line 506 of file cxDICOMAppWidget.cpp.
|
slot |
Definition at line 530 of file cxDICOMAppWidget.cpp.
|
slot |
Definition at line 557 of file cxDICOMAppWidget.cpp.
|
protectedslot |
Definition at line 604 of file cxDICOMAppWidget.cpp.
|
protectedslot |
Definition at line 589 of file cxDICOMAppWidget.cpp.
|
protectedslot |
Definition at line 596 of file cxDICOMAppWidget.cpp.
|
slot |
Definition at line 496 of file cxDICOMAppWidget.cpp.
int cx::DICOMAppWidget::patientsAddedDuringImport | ( | ) |
Accessors to status of last directory import operation.
Definition at line 389 of file cxDICOMAppWidget.cpp.
|
signal |
|
slot |
Definition at line 544 of file cxDICOMAppWidget.cpp.
|
slot |
Definition at line 537 of file cxDICOMAppWidget.cpp.
int cx::DICOMAppWidget::seriesAddedDuringImport | ( | ) |
Definition at line 403 of file cxDICOMAppWidget.cpp.
|
slot |
Definition at line 426 of file cxDICOMAppWidget.cpp.
void cx::DICOMAppWidget::setDisplayImportSummary | ( | bool | onOff | ) |
Option to show or not import summary dialog. Since the summary dialog is modal, we give the option of disabling it for batch modes or testing.
Definition at line 382 of file cxDICOMAppWidget.cpp.
void cx::DICOMAppWidget::setTagsToPrecache | ( | const QStringList | tags | ) |
See ctkDICOMDatabase for description - these accessors delegate to the corresponding routines of the internal instance of the database.
Definition at line 476 of file cxDICOMAppWidget.cpp.
int cx::DICOMAppWidget::studiesAddedDuringImport | ( | ) |
Definition at line 396 of file cxDICOMAppWidget.cpp.
const QStringList cx::DICOMAppWidget::tagsToPrecache | ( | ) |
Definition at line 483 of file cxDICOMAppWidget.cpp.
void cx::DICOMAppWidget::updateDatabaseSchemaIfNeeded | ( | ) |
Updates schema of loaded database to match the one coded by the current version of ctkDICOMDatabase. Also provides a dialog box for progress
Definition at line 417 of file cxDICOMAppWidget.cpp.
|
protected |
Definition at line 113 of file cxDICOMAppWidget.h.