21 #ifndef __ctkDICOMTableManager_h 22 #define __ctkDICOMTableManager_h 24 #include "ctkDICOMWidgetsExport.h" 29 #include <QSharedPointer> 31 class ctkDICOMTableManagerPrivate;
46 Q_PROPERTY(Qt::Orientation tableOrientation READ tableOrientation WRITE setTableOrientation)
51 Q_PROPERTY(
bool dynamicTableLayout READ dynamicTableLayout WRITE setDynamicTableLayout)
75 void setTableOrientation(const Qt::Orientation&) const;
76 Qt::Orientation tableOrientation();
82 Q_INVOKABLE QStringList currentPatientsSelection();
83 Q_INVOKABLE QStringList currentStudiesSelection();
84 Q_INVOKABLE QStringList currentSeriesSelection();
86 void setDynamicTableLayout(
bool);
87 bool dynamicTableLayout() const;
89 Q_INVOKABLE
void updateTableViews();
98 DisplayDensity displayDensity();
99 void setDisplayDensity(DisplayDensity density);
108 void onPatientsQueryChanged(
const QStringList&);
109 void onStudiesQueryChanged(
const QStringList&);
110 void onPatientsSelectionChanged(
const QStringList&);
111 void onStudiesSelectionChanged(
const QStringList&);
115 void patientsSelectionChanged(
const QItemSelection&,
const QItemSelection&);
116 void studiesSelectionChanged(
const QItemSelection&,
const QItemSelection&);
117 void seriesSelectionChanged(
const QItemSelection&,
const QItemSelection&);
119 void patientsSelectionChanged(
const QStringList &uids);
120 void studiesSelectionChanged(
const QStringList &uids);
121 void seriesSelectionChanged(
const QStringList &uids);
123 void patientsDoubleClicked(
const QModelIndex&);
124 void studiesDoubleClicked(
const QModelIndex&);
125 void seriesDoubleClicked(
const QModelIndex&);
129 void patientsRightClicked(
const QPoint&);
130 void studiesRightClicked(
const QPoint&);
131 void seriesRightClicked(
const QPoint&);
136 virtual void resizeEvent(QResizeEvent *);
138 QScopedPointer<ctkDICOMTableManagerPrivate>
d_ptr;
146 #endif // __ctkDICOMTableManager_h The ctkDICOMTableView displays the content of a specific table of the ctkDICOMDatabase.
QScopedPointer< ctkDICOMTableManagerPrivate > d_ptr