Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
berryGuiTkEvent.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 
18 #ifndef BERRYGUITKEVENT_H_
19 #define BERRYGUITKEVENT_H_
20 
21 #include <berryObject.h>
22 #include <berryMacros.h>
23 
25 
26 namespace berry
27 {
28 
29 namespace GuiTk
30 {
31 
41 class BERRY_UI_QT Event: public Object
42 {
43 
44 public:
45 
47 
48  Event();
49 
53  QWidget* item;
54 
59  int detail;
60 
67  int x;
68 
75  int y;
76 
81  int width;
82 
87  int height;
88 
94  int button;
95 
105  char character;
106 
116  int keyCode;
117 
123 
129  QString text;
130 
136  bool doit;
137 
138  QString ToString() const override;
139 
140 };
141 
142 }
143 
144 }
145 
146 #endif /* BERRYGUITKEVENT_H_ */
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:78
#define berryObjectMacro(...)
Definition: berryMacros.h:37
#define BERRY_UI_QT