33 #ifndef CXDICOMIMPORTER_H 34 #define CXDICOMIMPORTER_H 36 #include "org_custusx_dicom_Export.h" 41 #include <QSharedPointer> 43 class ctkDICOMDatabase;
44 class ctkDICOMIndexer;
45 class QProgressDialog;
62 void setDatabase(QSharedPointer<ctkDICOMDatabase> database);
68 void setDisplayImportSummary(
bool);
69 bool displayImportSummary();
71 int patientsAddedDuringImport();
72 int studiesAddedDuringImport();
73 int seriesAddedDuringImport();
74 int instancesAddedDuringImport();
81 void onImportDirectory(QString directory);
84 void directoryImported();
85 void indexingCompleted();
86 void fileIndexed(QString);
90 void showIndexerDialog();
92 QSharedPointer<ctkDICOMDatabase> DICOMDatabase;
93 QSharedPointer<ctkDICOMIndexer> DICOMIndexer;
94 QProgressDialog *IndexerProgress;
98 bool DisplayImportSummary;
99 int PatientsAddedDuringImport;
100 int StudiesAddedDuringImport;
101 int SeriesAddedDuringImport;
102 int InstancesAddedDuringImport;
105 void onFileIndexed(
const QString& filePath);
106 void openImportDialog();
110 void onPatientAdded(
int, QString, QString, QString);
111 void onStudyAdded(QString);
112 void onSeriesAdded(QString);
113 void onInstanceAdded(QString);
121 #endif // CXDICOMIMPORTER_H
Namespace for all CustusX production code.