Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
QmitkFileReaderOptionsDialog.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef QMITKFILEREADEROPTIONSDIALOG_H
14 #define QMITKFILEREADEROPTIONSDIALOG_H
15 
16 #include "mitkIOUtil.h"
17 
18 #include <QDialog>
19 
20 namespace Ui
21 {
23 }
24 
26 
27 class QmitkFileReaderOptionsDialog : public QDialog
28 {
29  Q_OBJECT
30 
31 public:
32  explicit QmitkFileReaderOptionsDialog(mitk::IOUtil::LoadInfo &loadInfo, QWidget *parent = nullptr);
33  ~QmitkFileReaderOptionsDialog() override;
34 
35  bool ReuseOptions() const;
36 
37  void accept() override;
38 
39 private:
40  Ui::QmitkFileReaderOptionsDialog *ui;
41  mitk::IOUtil::LoadInfo &m_LoadInfo;
42  std::vector<mitk::FileReaderSelector::Item> m_ReaderItems;
43 };
44 
45 #endif // QMITKFILEREADEROPTIONSDIALOG_H