Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryGuiTkControlEvent.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 "berryGuiTkControlEvent.h"
18 
19 namespace berry
20 {
21 
22 namespace GuiTk
23 {
24 
26  Event()
27 {
28 }
29 
30 ControlEvent::ControlEvent(QWidget* item, int x, int y, int width, int height) :
31  Event()
32 {
33  this->item = item;
34  this->x = x;
35  this->y = y;
36  this->width = width;
37  this->height = height;
38 }
39 
40 }
41 
42 }
ControlEvent(QWidget *item, int x=0, int y=0, int width=0, int height=0)