CTK  0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Public Types | Public Slots | Signals | Public Member Functions | Protected Slots | Protected Attributes | Properties | List of all members
ctkDICOMAppWidget Class Reference

#include <Libs/DICOM/Widgets/ctkDICOMAppWidget.h>

Inheritance diagram for ctkDICOMAppWidget:
Inheritance graph
[legend]
Collaboration diagram for ctkDICOMAppWidget:
Collaboration graph
[legend]

Public Types

typedef QWidget Superclass
 

Public Slots

void onFileIndexed (const QString &filePath)
 
void onImportDirectory (QString directory)
 
void onInstanceAdded (QString)
 
void onPatientAdded (int, QString, QString, QString)
 
void onRemoveAction ()
 
void onSeriesAdded (QString)
 
void onStudyAdded (QString)
 
void openExportDialog ()
 
void openImportDialog ()
 
void openQueryDialog ()
 
void resetModel ()
 
void resumeModel ()
 
void setDatabaseDirectory (const QString &directory)
 
void suspendModel ()
 

Signals

void databaseDirectoryChanged (const QString &)
 Emited when directory is changed. More...
 
void directoryImported ()
 Emited when the directory import operation has completed. More...
 
void queryRetrieveFinished ()
 Emited when query/retrieve operation has happened. More...
 

Public Member Functions

 ctkDICOMAppWidget (QWidget *parent=0)
 
ctkDICOMDatabasedatabase ()
 
QString databaseDirectory () const
 Directory being used to store the dicom database. More...
 
bool displayImportSummary ()
 
int instancesAddedDuringImport ()
 
int patientsAddedDuringImport ()
 Accessors to status of last directory import operation. More...
 
bool searchWidgetPopUpMode ()
 
int seriesAddedDuringImport ()
 
void setDisplayImportSummary (bool)
 
void setSearchWidgetPopUpMode (bool flag)
 
void setTagsToPrecache (const QStringList tags)
 
int studiesAddedDuringImport ()
 
const QStringList tagsToPrecache ()
 
void updateDatabaseSchemaIfNeeded ()
 
virtual ~ctkDICOMAppWidget ()
 

Protected Slots

void onAutoPlayCheckboxStateChanged (int state)
 To be called when auto-play checkbox state changed. More...
 
void onAutoPlayTimer ()
 Called by timer for auto-play functionality. More...
 
void onImagePreviewDisplayed (int imageID, int count)
 To be called after image preview displayed an image. More...
 
void onModelSelected (const QModelIndex &index)
 
void onNextImage ()
 To be called when previous and next buttons are clicked. More...
 
void onNextSeries ()
 
void onNextStudy ()
 
void onPreviousImage ()
 
void onPreviousSeries ()
 
void onPreviousStudy ()
 
void onQueryRetrieveFinished ()
 To be called when dialog finishes. More...
 
void onSearchParameterChanged ()
 To be called when search parameters in query widget changed. More...
 
void onThumbnailDoubleClicked (const ctkThumbnailLabel &widget)
 To be called when a thumbnail in thumbnail list widget is double-clicked. More...
 
void onThumbnailSelected (const ctkThumbnailLabel &widget)
 To be called when a thumbnail in thumbnail list widget is selected. More...
 
void onThumbnailWidthSliderValueChanged (int val)
 To be called when the value of thumbnail size slider bar is changed. More...
 
void onTreeCollapsed (const QModelIndex &index)
 To be called when an entry of the tree list is collapsed. More...
 
void onTreeExpanded (const QModelIndex &index)
 To be called when an entry of the tree list is expanded. More...
 

Protected Attributes

QScopedPointer< ctkDICOMAppWidgetPrivate > d_ptr
 

Properties

ctkDICOMDatabasedatabase
 
QString databaseDirectory
 
bool displayImportSummary
 
bool searchWidgetPopUpMode
 
QStringList tagsToPrecache
 

Detailed Description

Definition at line 35 of file ctkDICOMAppWidget.h.

Member Typedef Documentation

◆ Superclass

Definition at line 45 of file ctkDICOMAppWidget.h.

Constructor & Destructor Documentation

◆ ctkDICOMAppWidget()

ctkDICOMAppWidget::ctkDICOMAppWidget ( QWidget *  parent = 0)
explicit

◆ ~ctkDICOMAppWidget()

virtual ctkDICOMAppWidget::~ctkDICOMAppWidget ( )
virtual

Member Function Documentation

◆ database()

ctkDICOMDatabase* ctkDICOMAppWidget::database ( )

◆ databaseDirectory()

QString ctkDICOMAppWidget::databaseDirectory ( ) const

Directory being used to store the dicom database.

◆ databaseDirectoryChanged

void ctkDICOMAppWidget::databaseDirectoryChanged ( const QString &  )
signal

Emited when directory is changed.

◆ directoryImported

void ctkDICOMAppWidget::directoryImported ( )
signal

Emited when the directory import operation has completed.

◆ displayImportSummary()

bool ctkDICOMAppWidget::displayImportSummary ( )

◆ instancesAddedDuringImport()

int ctkDICOMAppWidget::instancesAddedDuringImport ( )

◆ onAutoPlayCheckboxStateChanged

void ctkDICOMAppWidget::onAutoPlayCheckboxStateChanged ( int  state)
protectedslot

To be called when auto-play checkbox state changed.

◆ onAutoPlayTimer

void ctkDICOMAppWidget::onAutoPlayTimer ( )
protectedslot

Called by timer for auto-play functionality.

◆ onFileIndexed

void ctkDICOMAppWidget::onFileIndexed ( const QString &  filePath)
slot

◆ onImagePreviewDisplayed

void ctkDICOMAppWidget::onImagePreviewDisplayed ( int  imageID,
int  count 
)
protectedslot

To be called after image preview displayed an image.

◆ onImportDirectory

void ctkDICOMAppWidget::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)

◆ onInstanceAdded

void ctkDICOMAppWidget::onInstanceAdded ( QString  )
slot

◆ onModelSelected

void ctkDICOMAppWidget::onModelSelected ( const QModelIndex &  index)
protectedslot

◆ onNextImage

void ctkDICOMAppWidget::onNextImage ( )
protectedslot

To be called when previous and next buttons are clicked.

◆ onNextSeries

void ctkDICOMAppWidget::onNextSeries ( )
protectedslot

◆ onNextStudy

void ctkDICOMAppWidget::onNextStudy ( )
protectedslot

◆ onPatientAdded

void ctkDICOMAppWidget::onPatientAdded ( int  ,
QString  ,
QString  ,
QString   
)
slot

slots to capture status updates from the database during an import operation

◆ onPreviousImage

void ctkDICOMAppWidget::onPreviousImage ( )
protectedslot

◆ onPreviousSeries

void ctkDICOMAppWidget::onPreviousSeries ( )
protectedslot

◆ onPreviousStudy

void ctkDICOMAppWidget::onPreviousStudy ( )
protectedslot

◆ onQueryRetrieveFinished

void ctkDICOMAppWidget::onQueryRetrieveFinished ( )
protectedslot

To be called when dialog finishes.

◆ onRemoveAction

void ctkDICOMAppWidget::onRemoveAction ( )
slot

◆ onSearchParameterChanged

void ctkDICOMAppWidget::onSearchParameterChanged ( )
protectedslot

To be called when search parameters in query widget changed.

◆ onSeriesAdded

void ctkDICOMAppWidget::onSeriesAdded ( QString  )
slot

◆ onStudyAdded

void ctkDICOMAppWidget::onStudyAdded ( QString  )
slot

◆ onThumbnailDoubleClicked

void ctkDICOMAppWidget::onThumbnailDoubleClicked ( const ctkThumbnailLabel widget)
protectedslot

To be called when a thumbnail in thumbnail list widget is double-clicked.

◆ onThumbnailSelected

void ctkDICOMAppWidget::onThumbnailSelected ( const ctkThumbnailLabel widget)
protectedslot

To be called when a thumbnail in thumbnail list widget is selected.

◆ onThumbnailWidthSliderValueChanged

void ctkDICOMAppWidget::onThumbnailWidthSliderValueChanged ( int  val)
protectedslot

To be called when the value of thumbnail size slider bar is changed.

◆ onTreeCollapsed

void ctkDICOMAppWidget::onTreeCollapsed ( const QModelIndex &  index)
protectedslot

To be called when an entry of the tree list is collapsed.

◆ onTreeExpanded

void ctkDICOMAppWidget::onTreeExpanded ( const QModelIndex &  index)
protectedslot

To be called when an entry of the tree list is expanded.

◆ openExportDialog

void ctkDICOMAppWidget::openExportDialog ( )
slot

◆ openImportDialog

void ctkDICOMAppWidget::openImportDialog ( )
slot

◆ openQueryDialog

void ctkDICOMAppWidget::openQueryDialog ( )
slot

◆ patientsAddedDuringImport()

int ctkDICOMAppWidget::patientsAddedDuringImport ( )

Accessors to status of last directory import operation.

◆ queryRetrieveFinished

void ctkDICOMAppWidget::queryRetrieveFinished ( )
signal

Emited when query/retrieve operation has happened.

◆ resetModel

void ctkDICOMAppWidget::resetModel ( )
slot

◆ resumeModel

void ctkDICOMAppWidget::resumeModel ( )
slot

◆ searchWidgetPopUpMode()

bool ctkDICOMAppWidget::searchWidgetPopUpMode ( )

◆ seriesAddedDuringImport()

int ctkDICOMAppWidget::seriesAddedDuringImport ( )

◆ setDatabaseDirectory

void ctkDICOMAppWidget::setDatabaseDirectory ( const QString &  directory)
slot

◆ setDisplayImportSummary()

void ctkDICOMAppWidget::setDisplayImportSummary ( bool  )

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.

◆ setSearchWidgetPopUpMode()

void ctkDICOMAppWidget::setSearchWidgetPopUpMode ( bool  flag)

Setting search widget pop-up mode Default value is false. Setting it to true will make search widget to be displayed as pop-up widget

◆ setTagsToPrecache()

void ctkDICOMAppWidget::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

◆ studiesAddedDuringImport()

int ctkDICOMAppWidget::studiesAddedDuringImport ( )

◆ suspendModel

void ctkDICOMAppWidget::suspendModel ( )
slot

◆ tagsToPrecache()

const QStringList ctkDICOMAppWidget::tagsToPrecache ( )

◆ updateDatabaseSchemaIfNeeded()

void ctkDICOMAppWidget::updateDatabaseSchemaIfNeeded ( )

Updates schema of loaded database to match the one coded by the current version of ctkDICOMDatabase. Also provides a dialog box for progress

Member Data Documentation

◆ d_ptr

QScopedPointer<ctkDICOMAppWidgetPrivate> ctkDICOMAppWidget::d_ptr
protected

Definition at line 116 of file ctkDICOMAppWidget.h.

Property Documentation

◆ database

ctkDICOMDatabase* ctkDICOMAppWidget::database
read

Definition at line 1 of file ctkDICOMAppWidget.h.

◆ databaseDirectory

QString ctkDICOMAppWidget::databaseDirectory
readwrite

Definition at line 1 of file ctkDICOMAppWidget.h.

◆ displayImportSummary

bool ctkDICOMAppWidget::displayImportSummary
readwrite

Definition at line 1 of file ctkDICOMAppWidget.h.

◆ searchWidgetPopUpMode

bool ctkDICOMAppWidget::searchWidgetPopUpMode
readwrite

Definition at line 1 of file ctkDICOMAppWidget.h.

◆ tagsToPrecache

QStringList ctkDICOMAppWidget::tagsToPrecache
readwrite

Definition at line 1 of file ctkDICOMAppWidget.h.


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