CustusX  22.04-rc5
An IGT application
cx::DICOMAppWidget Class Reference

#include <cxDICOMAppWidget.h>

Inheritance diagram for cx::DICOMAppWidget:

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)
 
QList< QAction * > getAdvancedActions () const
 

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< DICOMAppWidgetPrivated_ptr
 

Detailed Description

Adapted for use in CustusX from ctkDICOMAppWidget

Date
2014-05-20
Author
Christian Askeland

Definition at line 47 of file cxDICOMAppWidget.h.

Member Typedef Documentation

Definition at line 52 of file cxDICOMAppWidget.h.

Constructor & Destructor Documentation

cx::DICOMAppWidget::DICOMAppWidget ( QWidget *  parent = 0)
explicit

Definition at line 338 of file cxDICOMAppWidget.cpp.

cx::DICOMAppWidget::~DICOMAppWidget ( )
virtual

Definition at line 388 of file cxDICOMAppWidget.cpp.

Member Function Documentation

void cx::DICOMAppWidget::addActionToToolbar ( QAction *  action)

Definition at line 631 of file cxDICOMAppWidget.cpp.

ctkDICOMDatabase * cx::DICOMAppWidget::database ( )

Definition at line 511 of file cxDICOMAppWidget.cpp.

QString cx::DICOMAppWidget::databaseDirectory ( ) const

Directory being used to store the dicom database.

Definition at line 490 of file cxDICOMAppWidget.cpp.

void cx::DICOMAppWidget::databaseDirectoryChanged ( const QString &  )
signal
void cx::DICOMAppWidget::directoryImported ( )
signal
bool cx::DICOMAppWidget::displayImportSummary ( )

Definition at line 396 of file cxDICOMAppWidget.cpp.

QList< QAction * > cx::DICOMAppWidget::getAdvancedActions ( ) const

Definition at line 637 of file cxDICOMAppWidget.cpp.

QStringList cx::DICOMAppWidget::getSelectedPatients ( )

Definition at line 534 of file cxDICOMAppWidget.cpp.

QStringList cx::DICOMAppWidget::getSelectedSeries ( )

Definition at line 544 of file cxDICOMAppWidget.cpp.

QStringList cx::DICOMAppWidget::getSelectedStudies ( )

Definition at line 539 of file cxDICOMAppWidget.cpp.

int cx::DICOMAppWidget::instancesAddedDuringImport ( )

Definition at line 431 of file cxDICOMAppWidget.cpp.

void cx::DICOMAppWidget::onCurrentChanged ( const QModelIndex &  next,
const QModelIndex &  last 
)
slot

Definition at line 582 of file cxDICOMAppWidget.cpp.

void cx::DICOMAppWidget::onImportDirectory ( QString  directory)
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 572 of file cxDICOMAppWidget.cpp.

void cx::DICOMAppWidget::onModelSelected ( const QModelIndex &  index)
protectedslot

Definition at line 588 of file cxDICOMAppWidget.cpp.

void cx::DICOMAppWidget::onQueryRetrieveFinished ( )
protectedslot

Definition at line 527 of file cxDICOMAppWidget.cpp.

void cx::DICOMAppWidget::onRemoveAction ( )
slot

Definition at line 551 of file cxDICOMAppWidget.cpp.

void cx::DICOMAppWidget::onSelectionChanged ( const QItemSelection &  ,
const QItemSelection &   
)
slot

Definition at line 578 of file cxDICOMAppWidget.cpp.

void cx::DICOMAppWidget::onThumbnailWidthSliderValueChanged ( int  val)
protectedslot

Definition at line 625 of file cxDICOMAppWidget.cpp.

void cx::DICOMAppWidget::onTreeCollapsed ( const QModelIndex &  index)
protectedslot

Definition at line 610 of file cxDICOMAppWidget.cpp.

void cx::DICOMAppWidget::onTreeExpanded ( const QModelIndex &  index)
protectedslot

Definition at line 617 of file cxDICOMAppWidget.cpp.

void cx::DICOMAppWidget::openQueryDialog ( )
slot

Definition at line 517 of file cxDICOMAppWidget.cpp.

int cx::DICOMAppWidget::patientsAddedDuringImport ( )

Accessors to status of last directory import operation.

Definition at line 410 of file cxDICOMAppWidget.cpp.

void cx::DICOMAppWidget::queryRetrieveFinished ( )
signal
void cx::DICOMAppWidget::resetModel ( )
slot

Definition at line 565 of file cxDICOMAppWidget.cpp.

void cx::DICOMAppWidget::resumeModel ( )
slot

Definition at line 558 of file cxDICOMAppWidget.cpp.

int cx::DICOMAppWidget::seriesAddedDuringImport ( )

Definition at line 424 of file cxDICOMAppWidget.cpp.

void cx::DICOMAppWidget::setDatabaseDirectory ( const QString &  directory)
slot

Definition at line 447 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 403 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.

See also
ctkDICOMDatabase

Definition at line 497 of file cxDICOMAppWidget.cpp.

int cx::DICOMAppWidget::studiesAddedDuringImport ( )

Definition at line 417 of file cxDICOMAppWidget.cpp.

const QStringList cx::DICOMAppWidget::tagsToPrecache ( )

Definition at line 504 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 438 of file cxDICOMAppWidget.cpp.

Member Data Documentation

QScopedPointer<DICOMAppWidgetPrivate> cx::DICOMAppWidget::d_ptr
protected

Definition at line 115 of file cxDICOMAppWidget.h.


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