Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryIPreferencePage.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 BlueBerry Platform
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef BERRYIPREFERENCEPAGE_H_
18 #define BERRYIPREFERENCEPAGE_H_
19 
20 #include "berryObject.h"
21 #include "berryIPreferences.h"
22 #include "berryIWorkbench.h"
23 
24 #include <QObject>
25 
26 namespace berry
27 {
28 
47 struct BERRY_UI_QT IPreferencePage: virtual public Object
48 {
49 
51 
52  ~IPreferencePage();
53 
63  virtual void Init(IWorkbench::Pointer workbench) = 0;
64 
75  virtual void CreateControl(void* parent) = 0;
76 
86  virtual void* GetControl() const = 0;
87 
91  virtual bool PerformOk() = 0;
92 
96  virtual void PerformCancel() = 0;
97 
102  virtual void Update() = 0;
103 };
104 
105 }
106 
107 Q_DECLARE_INTERFACE(berry::IPreferencePage, "org.blueberry.ui.IPreferencePage")
108 
109 #endif /*BERRYIPREFERENCEPAGE_H_*/
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:78
static void Update(vtkPolyData *)
Definition: mitkSurface.cpp:35
#define berryObjectMacro(...)
Definition: berryMacros.h:37
#define BERRY_UI_QT