Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
QmitkStartupDialog.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 #include <QDialog>
14 
15 class QItemSelection;
16 
17 namespace Ui
18 {
19  class QmitkStartupDialog;
20 }
21 
22 class QmitkStartupDialog : public QDialog
23 {
24  Q_OBJECT
25 
26 public:
27  explicit QmitkStartupDialog(QWidget* parent = nullptr);
28  ~QmitkStartupDialog() override;
29 
30  bool SkipDialog() const;
31 
32  bool UsePreset() const;
33  QString GetPresetName() const;
34  QStringList GetPresetCategories() const;
35 
36 private:
37  void LoadPresets();
38 
39  void showEvent(QShowEvent* event) override;
40 
41  void OnPresetRadioButtonToggled(bool checked);
42  void OnSelectedPresetChanged(const QItemSelection& selected, const QItemSelection& deselected);
43  void OnFinished(int result);
44 
45  Ui::QmitkStartupDialog* m_Ui;
46 };
QmitkStartupDialog::GetPresetCategories
QStringList GetPresetCategories() const
QmitkStartupDialog
Definition: QmitkStartupDialog.h:22
QmitkStartupDialog::SkipDialog
bool SkipDialog() const
QmitkStartupDialog::~QmitkStartupDialog
~QmitkStartupDialog() override
QmitkStartupDialog::UsePreset
bool UsePreset() const
QmitkStartupDialog::QmitkStartupDialog
QmitkStartupDialog(QWidget *parent=nullptr)
Ui
Definition: BlueBerryExampleLauncherDialog.h:21
QmitkStartupDialog::GetPresetName
QString GetPresetName() const