Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
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);
34 
35  bool ReuseOptions() const;
36 
37  void accept() override;
38 
39 protected slots:
40  void SetCurrentReader(int index);
41 
42 private:
43  Ui::QmitkFileReaderOptionsDialog *ui;
44  mitk::IOUtil::LoadInfo &m_LoadInfo;
45  std::vector<mitk::FileReaderSelector::Item> m_ReaderItems;
46 };
47 
48 #endif
QmitkFileReaderOptionsDialog::ReuseOptions
bool ReuseOptions() const
QmitkFileReaderOptionsDialog
Definition: QmitkFileReaderOptionsDialog.h:27
QmitkFileReaderOptionsDialog::~QmitkFileReaderOptionsDialog
~QmitkFileReaderOptionsDialog() override
QmitkFileReaderOptionsDialog::QmitkFileReaderOptionsDialog
QmitkFileReaderOptionsDialog(mitk::IOUtil::LoadInfo &loadInfo, QWidget *parent=nullptr)
QmitkFileReaderWriterOptionsWidget
Definition: QmitkFileReaderWriterOptionsWidget.h:129
Ui
Definition: BlueBerryExampleLauncherDialog.h:21
QmitkFileReaderOptionsDialog::SetCurrentReader
void SetCurrentReader(int index)
QmitkFileReaderOptionsDialog::accept
void accept() override
mitk::IOUtil::LoadInfo
Definition: mitkIOUtil.h:56
mitkIOUtil.h