Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
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 "berryIPreferences.h"
18 #include "berryIWorkbench.h"
19 
20 #include <QObject>
21 
22 namespace berry
23 {
24 
43 struct BERRY_UI_QT IPreferencePage: virtual public Object
44 {
45 
47 
48  ~IPreferencePage() override;
49 
59  virtual void Init(IWorkbench::Pointer workbench) = 0;
60 
71  virtual void CreateControl(void* parent) = 0;
72 
82  virtual void* GetControl() const = 0;
83 
87  virtual bool PerformOk() = 0;
88 
92  virtual void PerformCancel() = 0;
93 
98  virtual void Update() = 0;
99 };
100 
101 }
102 
103 Q_DECLARE_INTERFACE(berry::IPreferencePage, "org.blueberry.ui.IPreferencePage")
104 
105 #endif /*BERRYIPREFERENCEPAGE_H_*/
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
static void Update(vtkPolyData *)
Definition: mitkSurface.cpp:31
#define berryObjectMacro(...)
Definition: berryMacros.h:33
#define BERRY_UI_QT