Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
QmitkDataManagerPreferencePage.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 
14 #ifndef QmitkDataManagerPreferencePage_h
15 #define QmitkDataManagerPreferencePage_h
16 
17 #include "berryIQtPreferencePage.h"
19 
20 class QWidget;
21 class QCheckBox;
22 
24 {
25  Q_OBJECT
26  Q_INTERFACES(berry::IPreferencePage)
27 
28 public:
30 
31  void Init(berry::IWorkbench::Pointer workbench) override;
32 
33  void CreateQtControl(QWidget* widget) override;
34 
35  QWidget* GetQtControl() const override;
36 
40  bool PerformOk() override;
41 
45  void PerformCancel() override;
46 
50  void Update() override;
51 
52 protected:
53  QWidget* m_MainControl;
56  QCheckBox* m_ShowHelperObjects;
58  QCheckBox* m_AllowParentChange;
59 };
60 
61 #endif
berry::IPreferencePage::Update
virtual void Update()=0
berry::IQtPreferencePage::GetQtControl
virtual QWidget * GetQtControl() const =0
QmitkDataManagerPreferencePage::m_PlaceNewNodesOnTop
QCheckBox * m_PlaceNewNodesOnTop
Definition: QmitkDataManagerPreferencePage.h:55
org_mitk_gui_qt_datamanager_Export.h
QmitkDataManagerPreferencePage::m_ShowHelperObjects
QCheckBox * m_ShowHelperObjects
Definition: QmitkDataManagerPreferencePage.h:56
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
berry::IQtPreferencePage
Definition: berryIQtPreferencePage.h:29
QmitkDataManagerPreferencePage::m_AllowParentChange
QCheckBox * m_AllowParentChange
Definition: QmitkDataManagerPreferencePage.h:58
QmitkDataManagerPreferencePage::m_MainControl
QWidget * m_MainControl
Definition: QmitkDataManagerPreferencePage.h:53
berryIQtPreferencePage.h
QmitkDataManagerPreferencePage::m_EnableSingleEditing
QCheckBox * m_EnableSingleEditing
Definition: QmitkDataManagerPreferencePage.h:54
berry::IPreferencePage::Init
virtual void Init(IWorkbench::Pointer workbench)=0
berry::IPreferencePage
Definition: berryIPreferencePage.h:42
MITK_QT_DATAMANAGER
#define MITK_QT_DATAMANAGER
Definition: org_mitk_gui_qt_datamanager_Export.h:26
berry::IPreferencePage::PerformOk
virtual bool PerformOk()=0
QmitkDataManagerPreferencePage
Definition: QmitkDataManagerPreferencePage.h:23
QmitkDataManagerPreferencePage::m_ShowNodesContainingNoData
QCheckBox * m_ShowNodesContainingNoData
Definition: QmitkDataManagerPreferencePage.h:57