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 Member Functions | Protected Attributes | Properties | List of all members
ctkDICOMTableManager Class Reference

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

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

Public Types

enum  DisplayDensity { Compact = 0 , Cozy = 1 , Comfortable = 2 }
 
typedef QWidget Superclass
 

Public Slots

void onPatientsQueryChanged (const QStringList &)
 
void onPatientsSelectionChanged (const QStringList &)
 
void onStudiesQueryChanged (const QStringList &)
 
void onStudiesSelectionChanged (const QStringList &)
 

Signals

void patientsDoubleClicked (const QModelIndex &)
 
void patientsRightClicked (const QPoint &)
 
void patientsSelectionChanged (const QItemSelection &, const QItemSelection &)
 Signals for propagating selection changes of the different tables. More...
 
void patientsSelectionChanged (const QStringList &uids)
 
void seriesDoubleClicked (const QModelIndex &)
 
void seriesRightClicked (const QPoint &)
 
void seriesSelectionChanged (const QItemSelection &, const QItemSelection &)
 
void seriesSelectionChanged (const QStringList &uids)
 
void studiesDoubleClicked (const QModelIndex &)
 
void studiesRightClicked (const QPoint &)
 
void studiesSelectionChanged (const QItemSelection &, const QItemSelection &)
 
void studiesSelectionChanged (const QStringList &uids)
 

Public Member Functions

 ctkDICOMTableManager (ctkDICOMDatabase *db, QWidget *parent=0)
 
 ctkDICOMTableManager (QWidget *parent=0)
 
Q_INVOKABLE QStringList currentPatientsSelection ()
 Get the current selection of the dicomTableViews. More...
 
Q_INVOKABLE QStringList currentSeriesSelection ()
 
Q_INVOKABLE QStringList currentStudiesSelection ()
 
DisplayDensity displayDensity ()
 
bool dynamicTableLayout () const
 
Q_INVOKABLE ctkDICOMTableViewpatientsTable ()
 
Q_INVOKABLE ctkDICOMTableViewseriesTable ()
 
Q_INVOKABLE void setDICOMDatabase (ctkDICOMDatabase *db)
 Set the ctkDICOMDatabase. More...
 
void setDisplayDensity (DisplayDensity density)
 
void setDynamicTableLayout (bool)
 
void setTableOrientation (const Qt::Orientation &) const
 
Q_INVOKABLE ctkDICOMTableViewstudiesTable ()
 
Qt::Orientation tableOrientation ()
 
Q_INVOKABLE void updateTableViews ()
 
virtual ~ctkDICOMTableManager ()
 

Protected Member Functions

virtual void resizeEvent (QResizeEvent *)
 

Protected Attributes

QScopedPointer< ctkDICOMTableManagerPrivate > d_ptr
 

Properties

ctkDICOMTableManager::DisplayDensity displayDensity
 
bool dynamicTableLayout
 
Qt::Orientation tableOrientation
 

Detailed Description

Definition at line 39 of file ctkDICOMTableManager.h.

Member Typedef Documentation

◆ Superclass

Definition at line 63 of file ctkDICOMTableManager.h.

Member Enumeration Documentation

◆ DisplayDensity

Enumerator
Compact 
Cozy 
Comfortable 

Definition at line 91 of file ctkDICOMTableManager.h.

Constructor & Destructor Documentation

◆ ctkDICOMTableManager() [1/2]

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

◆ ctkDICOMTableManager() [2/2]

ctkDICOMTableManager::ctkDICOMTableManager ( ctkDICOMDatabase db,
QWidget *  parent = 0 
)

◆ ~ctkDICOMTableManager()

virtual ctkDICOMTableManager::~ctkDICOMTableManager ( )
virtual

Member Function Documentation

◆ currentPatientsSelection()

Q_INVOKABLE QStringList ctkDICOMTableManager::currentPatientsSelection ( )

Get the current selection of the dicomTableViews.

Returns
a list with the uids of the selected items

◆ currentSeriesSelection()

Q_INVOKABLE QStringList ctkDICOMTableManager::currentSeriesSelection ( )

◆ currentStudiesSelection()

Q_INVOKABLE QStringList ctkDICOMTableManager::currentStudiesSelection ( )

◆ displayDensity()

DisplayDensity ctkDICOMTableManager::displayDensity ( )

◆ dynamicTableLayout()

bool ctkDICOMTableManager::dynamicTableLayout ( ) const

◆ onPatientsQueryChanged

void ctkDICOMTableManager::onPatientsQueryChanged ( const QStringList &  )
slot

◆ onPatientsSelectionChanged

void ctkDICOMTableManager::onPatientsSelectionChanged ( const QStringList &  )
slot

◆ onStudiesQueryChanged

void ctkDICOMTableManager::onStudiesQueryChanged ( const QStringList &  )
slot

◆ onStudiesSelectionChanged

void ctkDICOMTableManager::onStudiesSelectionChanged ( const QStringList &  )
slot

◆ patientsDoubleClicked

void ctkDICOMTableManager::patientsDoubleClicked ( const QModelIndex &  )
signal

◆ patientsRightClicked

void ctkDICOMTableManager::patientsRightClicked ( const QPoint &  )
signal

◆ patientsSelectionChanged [1/2]

void ctkDICOMTableManager::patientsSelectionChanged ( const QItemSelection &  ,
const QItemSelection &   
)
signal

Signals for propagating selection changes of the different tables.

◆ patientsSelectionChanged [2/2]

void ctkDICOMTableManager::patientsSelectionChanged ( const QStringList &  uids)
signal

◆ patientsTable()

Q_INVOKABLE ctkDICOMTableView* ctkDICOMTableManager::patientsTable ( )

◆ resizeEvent()

virtual void ctkDICOMTableManager::resizeEvent ( QResizeEvent *  )
protectedvirtual

◆ seriesDoubleClicked

void ctkDICOMTableManager::seriesDoubleClicked ( const QModelIndex &  )
signal

◆ seriesRightClicked

void ctkDICOMTableManager::seriesRightClicked ( const QPoint &  )
signal

◆ seriesSelectionChanged [1/2]

void ctkDICOMTableManager::seriesSelectionChanged ( const QItemSelection &  ,
const QItemSelection &   
)
signal

◆ seriesSelectionChanged [2/2]

void ctkDICOMTableManager::seriesSelectionChanged ( const QStringList &  uids)
signal

◆ seriesTable()

Q_INVOKABLE ctkDICOMTableView* ctkDICOMTableManager::seriesTable ( )

◆ setDICOMDatabase()

Q_INVOKABLE void ctkDICOMTableManager::setDICOMDatabase ( ctkDICOMDatabase db)

Set the ctkDICOMDatabase.

Parameters
dbthe dicom database which should be used

◆ setDisplayDensity()

void ctkDICOMTableManager::setDisplayDensity ( DisplayDensity  density)

◆ setDynamicTableLayout()

void ctkDICOMTableManager::setDynamicTableLayout ( bool  )

◆ setTableOrientation()

void ctkDICOMTableManager::setTableOrientation ( const Qt::Orientation &  ) const

◆ studiesDoubleClicked

void ctkDICOMTableManager::studiesDoubleClicked ( const QModelIndex &  )
signal

◆ studiesRightClicked

void ctkDICOMTableManager::studiesRightClicked ( const QPoint &  )
signal

◆ studiesSelectionChanged [1/2]

void ctkDICOMTableManager::studiesSelectionChanged ( const QItemSelection &  ,
const QItemSelection &   
)
signal

◆ studiesSelectionChanged [2/2]

void ctkDICOMTableManager::studiesSelectionChanged ( const QStringList &  uids)
signal

◆ studiesTable()

Q_INVOKABLE ctkDICOMTableView* ctkDICOMTableManager::studiesTable ( )

◆ tableOrientation()

Qt::Orientation ctkDICOMTableManager::tableOrientation ( )

◆ updateTableViews()

Q_INVOKABLE void ctkDICOMTableManager::updateTableViews ( )

Member Data Documentation

◆ d_ptr

QScopedPointer<ctkDICOMTableManagerPrivate> ctkDICOMTableManager::d_ptr
protected

Definition at line 138 of file ctkDICOMTableManager.h.

Property Documentation

◆ displayDensity

ctkDICOMTableManager::DisplayDensity ctkDICOMTableManager::displayDensity
readwrite

This property holds the density of tables in the table Manager. There are three denisity levels: Comfortable (least dense), Cozy and Compact (most dense).

Definition at line 1 of file ctkDICOMTableManager.h.

◆ dynamicTableLayout

bool ctkDICOMTableManager::dynamicTableLayout
readwrite

Property for setting a dynamic table layout which switches according to the current window size between vertical and horizontal layout

Definition at line 1 of file ctkDICOMTableManager.h.

◆ tableOrientation

Qt::Orientation ctkDICOMTableManager::tableOrientation
readwrite

Property for setting the table layout either to vertical or horizontal alignment

Definition at line 1 of file ctkDICOMTableManager.h.


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