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