Medical Imaging Interaction Toolkit  2021.10.99-fd647480
Medical Imaging Interaction Toolkit
berryGuiTkEvent.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 
14 #ifndef BERRYGUITKEVENT_H_
15 #define BERRYGUITKEVENT_H_
16 
17 #include <berryObject.h>
18 #include <berryMacros.h>
19 
21 
22 namespace berry
23 {
24 
25 namespace GuiTk
26 {
27 
37 class BERRY_UI_QT Event: public Object
38 {
39 
40 public:
41 
43 
44  Event();
45 
49  QWidget* item;
50 
55  int detail;
56 
63  int x;
64 
71  int y;
72 
77  int width;
78 
83  int height;
84 
90  int button;
91 
101  char character;
102 
112  int keyCode;
113 
119 
125  QString text;
126 
132  bool doit;
133 
134  QString ToString() const override;
135 
136 };
137 
138 }
139 
140 }
141 
142 #endif /* BERRYGUITKEVENT_H_ */
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
#define berryObjectMacro(...)
Definition: berryMacros.h:33
#define BERRY_UI_QT