Medical Imaging Interaction Toolkit  2024.06.00
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_ */
berry::GuiTk::Event::character
char character
Definition: berryGuiTkEvent.h:101
berry::GuiTk::Event::keyCode
int keyCode
Definition: berryGuiTkEvent.h:112
berry::GuiTk::Event::width
int width
Definition: berryGuiTkEvent.h:77
org_blueberry_ui_qt_Export.h
berry::GuiTk::Event::doit
bool doit
Definition: berryGuiTkEvent.h:132
berryMacros.h
berry::GuiTk::Event::stateMask
int stateMask
Definition: berryGuiTkEvent.h:118
berry::Object
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
berry::GuiTk::Event::height
int height
Definition: berryGuiTkEvent.h:83
berry::GuiTk::Event::y
int y
Definition: berryGuiTkEvent.h:71
berry::GuiTk::Event
Definition: berryGuiTkEvent.h:37
BERRY_UI_QT
#define BERRY_UI_QT
Definition: org_blueberry_ui_qt_Export.h:26
berry::GuiTk::Event::detail
int detail
Definition: berryGuiTkEvent.h:55
berry::GuiTk::Event::button
int button
Definition: berryGuiTkEvent.h:90
berry::GuiTk::Event::text
QString text
Definition: berryGuiTkEvent.h:125
berry::GuiTk::Event::x
int x
Definition: berryGuiTkEvent.h:63
berryObjectMacro
#define berryObjectMacro(...)
Definition: berryMacros.h:31
berryObject.h
berry
Definition: QmitkPropertyItemModel.h:24
berry::GuiTk::Event::item
QWidget * item
Definition: berryGuiTkEvent.h:49