Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
berryGuiTkEvent.cpp
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
#include "
berryGuiTkEvent.h
"
18
19
#include <QTextStream>
20
21
namespace
berry
{
22
23
namespace
GuiTk {
24
25
Event::Event() :
26
item(nullptr), detail(0), x(0), y(0),
27
width(0), height(0), button(0),
28
character(0), keyCode(0), stateMask(0),
29
text(
""
), doit(true)
30
{
31
32
}
33
34
QString
Event::ToString
()
const
35
{
36
QString str;
37
QTextStream stream(&str);
38
stream <<
"GUI SelectionEvent: "
<<
" item="
<<
item
<<
" detail="
<<
detail
39
<<
" x="
<<
x
<<
" y="
<<
y
<<
" width="
<<
width
<<
" height="
<<
height
40
<<
" stateMask="
<<
stateMask
<<
" text="
<<
text
<<
" doit="
<<
doit
41
<<
'\n'
;
42
43
return
str;
44
}
45
46
}
47
48
}
berry
Definition:
QmitkPropertyItemModel.h:27
berry::GuiTk::Event::stateMask
int stateMask
Definition:
berryGuiTkEvent.h:122
berry::GuiTk::Event::ToString
QString ToString() const override
Definition:
berryGuiTkEvent.cpp:34
berry::GuiTk::Event::y
int y
Definition:
berryGuiTkEvent.h:75
berry::GuiTk::Event::doit
bool doit
Definition:
berryGuiTkEvent.h:136
berry::GuiTk::Event::height
int height
Definition:
berryGuiTkEvent.h:87
berry::GuiTk::Event::detail
int detail
Definition:
berryGuiTkEvent.h:59
berry::GuiTk::Event::text
QString text
Definition:
berryGuiTkEvent.h:129
berry::GuiTk::Event::x
int x
Definition:
berryGuiTkEvent.h:67
berry::GuiTk::Event::width
int width
Definition:
berryGuiTkEvent.h:81
berry::GuiTk::Event::item
QWidget * item
Definition:
berryGuiTkEvent.h:53
berryGuiTkEvent.h
git
MITK
Plugins
org.blueberry.ui.qt
src
guitk
berryGuiTkEvent.cpp
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1