21 #ifndef __cxDICOMAppWidget_h 22 #define __cxDICOMAppWidget_h 24 #include "org_custusx_dicom_Export.h" 29 class ctkThumbnailLabel;
31 class ctkDICOMDatabase;
36 class DICOMAppWidgetPrivate;
57 QString databaseDirectory()
const;
63 void setTagsToPrecache(
const QStringList tags);
64 const QStringList tagsToPrecache();
69 void updateDatabaseSchemaIfNeeded();
71 QStringList getSelectedPatients();
72 QStringList getSelectedStudies();
73 QStringList getSelectedSeries();
75 ctkDICOMDatabase* database();
80 void setDisplayImportSummary(
bool);
81 bool displayImportSummary();
83 int patientsAddedDuringImport();
84 int studiesAddedDuringImport();
85 int seriesAddedDuringImport();
86 int instancesAddedDuringImport();
87 void addActionToToolbar(QAction* action);
89 QList<QAction*> getAdvancedActions()
const;
92 void setDatabaseDirectory(
const QString& directory);
93 void onSelectionChanged(
const QItemSelection&,
const QItemSelection&);
95 void openQueryDialog();
96 void onRemoveAction();
105 void onImportDirectory(QString directory);
107 void onCurrentChanged(
const QModelIndex&,
const QModelIndex&);
110 void databaseDirectoryChanged(
const QString&);
111 void queryRetrieveFinished();
112 void directoryImported();
115 QScopedPointer<DICOMAppWidgetPrivate>
d_ptr;
117 void onModelSelected(
const QModelIndex& index);
118 void onQueryRetrieveFinished();
119 void onTreeCollapsed(
const QModelIndex& index);
120 void onTreeExpanded(
const QModelIndex& index);
121 void onThumbnailWidthSliderValueChanged(
int val);
128 void schemaUpdateStarted(
int);
129 void schemaUpdateProgress(QString);
130 void schemaUpdateProgress(
int);
131 void schemaUpdated();
Namespace for all CustusX production code.