Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryIQtPreferencePage.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 BERRYIQTPREFERENCEPAGE_H_
18 #define BERRYIQTPREFERENCEPAGE_H_
19 
20 #ifdef __MINGW32__
21 // We need to include winbase.h here in order to declare
22 // atomic intrinsics like InterlockedIncrement correctly.
23 // Otherwhise, they would be declared wrong within qatomic_windows.h .
24 #include <windows.h>
25 #endif
26 
27 #include <QWidget>
28 
29 #include "berryIPreferencePage.h"
30 
32 
33 namespace berry
34 {
35 
41 {
42 
44 
45  virtual void CreateQtControl(QWidget* parent) = 0;
46  virtual QWidget* GetQtControl() const = 0;
47 
48 protected:
49 
50  void CreateControl(void* parent) override;
51  void* GetControl() const override;
52 
53 };
54 
55 }
56 
57 #endif /*BERRYIQTPREFERENCEPAGE_H_*/
#define berryObjectMacro(...)
Definition: berryMacros.h:37
#define BERRY_UI_QT