Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
berryIPreferencePage.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 BERRYIPREFERENCEPAGE_H_
14 #define BERRYIPREFERENCEPAGE_H_
15 
16 #include "berryObject.h"
17 #include "berryIWorkbench.h"
18 
19 #include <QObject>
20 
21 namespace berry
22 {
23 
42 struct BERRY_UI_QT IPreferencePage: virtual public Object
43 {
44 
46 
47  ~IPreferencePage() override;
48 
58  virtual void Init(IWorkbench::Pointer workbench) = 0;
59 
70  virtual void CreateControl(void* parent) = 0;
71 
81  virtual void* GetControl() const = 0;
82 
86  virtual bool PerformOk() = 0;
87 
91  virtual void PerformCancel() = 0;
92 
97  virtual void Update() = 0;
98 };
99 
100 }
101 
102 Q_DECLARE_INTERFACE(berry::IPreferencePage, "org.blueberry.ui.IPreferencePage")
103 
104 #endif /*BERRYIPREFERENCEPAGE_H_*/
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
berry::Object
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
berryIWorkbench.h
BERRY_UI_QT
#define BERRY_UI_QT
Definition: org_blueberry_ui_qt_Export.h:26
berry::IPreferencePage
Definition: berryIPreferencePage.h:42
berryObjectMacro
#define berryObjectMacro(...)
Definition: berryMacros.h:31
berryObject.h
berry
Definition: QmitkPropertyItemModel.h:24