Medical Imaging Interaction Toolkit  2024.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 
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 protected Q_SLOTS:
50 
51  void OnLabelSetPresetButtonClicked();
52  void OnSuggestionsButtonClicked();
53 
54 protected:
55 
56  Ui::QmitkSegmentationPreferencePageControls* m_Ui;
57  QWidget* m_Control;
58 
60 };
61 
62 #endif
berry::IPreferencePage::Update
virtual void Update()=0
berry::IQtPreferencePage::GetQtControl
virtual QWidget * GetQtControl() const =0
QmitkSegmentationPreferencePage::m_Initializing
bool m_Initializing
Definition: QmitkSegmentationPreferencePage.h:59
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
berry::IPreferencePage::PerformCancel
virtual void PerformCancel()=0
berry::IQtPreferencePage::CreateQtControl
virtual void CreateQtControl(QWidget *parent)=0
MITK_QT_SEGMENTATION
#define MITK_QT_SEGMENTATION
Definition: org_mitk_gui_qt_segmentation_Export.h:26
QmitkSegmentationPreferencePage::m_Ui
Ui::QmitkSegmentationPreferencePageControls * m_Ui
Definition: QmitkSegmentationPreferencePage.h:56
berry::IQtPreferencePage
Definition: berryIQtPreferencePage.h:29
Ui
Definition: BlueBerryExampleLauncherDialog.h:21
org_mitk_gui_qt_segmentation_Export.h
berryIQtPreferencePage.h
QmitkSegmentationPreferencePage::m_Control
QWidget * m_Control
Definition: QmitkSegmentationPreferencePage.h:57
QmitkSegmentationPreferencePage
Definition: QmitkSegmentationPreferencePage.h:27
berry::IPreferencePage::Init
virtual void Init(IWorkbench::Pointer workbench)=0
berry::IPreferencePage
Definition: berryIPreferencePage.h:42
berry::IPreferencePage::PerformOk
virtual bool PerformOk()=0