13 #ifndef QmitkDicomImportWidget_h
14 #define QmitkDicomImportWidget_h
21 class ctkDICOMDatabase;
22 class ctkDICOMIndexer;
24 class QProgressDialog;
51 void Import(
const QStringList& files);
59 void ViewSeries(
const std::vector<std::pair<std::string, std::optional<std::string>>>& series);
62 void OnAddToLocalStorageButtonClicked();
63 void OnImport(
const QString& directory);
64 void OnIndexingComplete(
int,
int,
int,
int);
65 void OnProgress(
int value);
66 void OnProgressDetail(
const QString& detail);
67 void OnProgressStep(
const QString& step);
68 void OnAnySelectionChanged();
69 void OnViewButtonClicked();
72 void showEvent(QShowEvent* event)
override;
74 QStringList GetFileNamesFromSelection();
75 void SetupProgressDialog();
80 QTemporaryFile* m_DatabaseFile;
81 ctkDICOMDatabase* m_Database;
82 ctkDICOMIndexer* m_Indexer;
83 ctkFileDialog* m_ImportDialog;
84 QProgressDialog* m_ProgressDialog;
85 QString m_ProgressStep;
87 Ui::QmitkDicomImportWidget* m_Ui;