12 #ifndef CXDICOMIMPORTER_H 13 #define CXDICOMIMPORTER_H 15 #include "org_custusx_dicom_Export.h" 20 #include <QSharedPointer> 22 class ctkDICOMDatabase;
23 class ctkDICOMIndexer;
24 class QProgressDialog;
41 void setDatabase(QSharedPointer<ctkDICOMDatabase> database);
47 void setDisplayImportSummary(
bool);
48 bool displayImportSummary();
50 int patientsAddedDuringImport();
51 int studiesAddedDuringImport();
52 int seriesAddedDuringImport();
53 int instancesAddedDuringImport();
60 void onImportDirectory(QString directory);
63 void directoryImported();
64 void indexingCompleted();
65 void fileIndexed(QString);
69 void showIndexerDialog();
71 QSharedPointer<ctkDICOMDatabase> DICOMDatabase;
72 QSharedPointer<ctkDICOMIndexer> DICOMIndexer;
73 QProgressDialog *IndexerProgress;
77 bool DisplayImportSummary;
78 int PatientsAddedDuringImport;
79 int StudiesAddedDuringImport;
80 int SeriesAddedDuringImport;
81 int InstancesAddedDuringImport;
84 void onFileIndexed(
const QString& filePath);
85 void openImportDialog();
89 void onPatientAdded(
int, QString, QString, QString);
90 void onStudyAdded(QString);
91 void onSeriesAdded(QString);
92 void onInstanceAdded(QString);
100 #endif // CXDICOMIMPORTER_H
Namespace for all CustusX production code.