Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef QMITKFILEREADEROPTIONSDIALOG_H
18 #define QMITKFILEREADEROPTIONSDIALOG_H
19 
20 #include "mitkIOUtil.h"
21 
22 #include <QDialog>
23 
24 namespace Ui
25 {
27 }
28 
30 
31 class QmitkFileReaderOptionsDialog : public QDialog
32 {
33  Q_OBJECT
34 
35 public:
36  explicit QmitkFileReaderOptionsDialog(mitk::IOUtil::LoadInfo &loadInfo, QWidget *parent = 0);
38 
39  bool ReuseOptions() const;
40 
41  virtual void accept() override;
42 
43 private:
44  Ui::QmitkFileReaderOptionsDialog *ui;
45  mitk::IOUtil::LoadInfo &m_LoadInfo;
46  std::vector<mitk::FileReaderSelector::Item> m_ReaderItems;
47 };
48 
49 #endif // QMITKFILEREADEROPTIONSDIALOG_H
QmitkFileReaderOptionsDialog(mitk::IOUtil::LoadInfo &loadInfo, QWidget *parent=0)