Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
QmitkFileWriterOptionsDialog.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 QMITKFILEWRITEROPTIONSDIALOG_H
14 #define QMITKFILEWRITEROPTIONSDIALOG_H
15 
16 #include <mitkIOUtil.h>
17 
18 #include <QDialog>
19 
20 namespace Ui
21 {
23 }
24 
26 
27 class QmitkFileWriterOptionsDialog : public QDialog
28 {
29  Q_OBJECT
30 
31 public:
32  explicit QmitkFileWriterOptionsDialog(mitk::IOUtil::SaveInfo &saveInfo, QWidget *parent = nullptr);
33  ~QmitkFileWriterOptionsDialog() override;
34 
35  bool ReuseOptions() const;
36 
37  void accept() override;
38 
39 private:
40  Ui::QmitkFileWriterOptionsDialog *ui;
41  mitk::IOUtil::SaveInfo &m_SaveInfo;
42  std::vector<mitk::FileWriterSelector::Item> m_WriterItems;
43 };
44 
45 #endif // QMITKFILEREADEROPTIONSDIALOG_H