Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
QmitkSegmentationPreferencePage.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 QmitkSegmentationPreferencePage_h
14 #define QmitkSegmentationPreferencePage_h
15 
17 
18 #include <berryIQtPreferencePage.h>
19 #include <memory>
20 
21 class QWidget;
22 
23 namespace Ui
24 {
25  class QmitkSegmentationPreferencePageControls;
26 }
27 
29 {
30  Q_OBJECT
31  Q_INTERFACES(berry::IPreferencePage)
32 
33 public:
34 
37 
38  void Init(berry::IWorkbench::Pointer workbench) override;
39 
40  void CreateQtControl(QWidget* widget) override;
41 
42  QWidget* GetQtControl() const override;
43 
44  bool PerformOk() override;
45 
46  void PerformCancel() override;
47 
48  void Update() override;
49 
50 
51 protected Q_SLOTS:
52 
56 
57 protected:
58  void FillBuiltInSuggestionComboBox(std::string& standardLabelSuggestions);
59 
60  std::unique_ptr<Ui::QmitkSegmentationPreferencePageControls> m_Ui;
61  QWidget* m_Control;
62 
64 };
65 
66 #endif
void Init(berry::IWorkbench::Pointer workbench) override
void FillBuiltInSuggestionComboBox(std::string &standardLabelSuggestions)
std::unique_ptr< Ui::QmitkSegmentationPreferencePageControls > m_Ui
void CreateQtControl(QWidget *widget) override
QWidget * GetQtControl() const override
Implements transparent reference counting.
#define MITK_QT_SEGMENTATION