Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryStackDropResult.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 BERRYSTACKDROPRESULT_H_
19 #define BERRYSTACKDROPRESULT_H_
20 
21 #include <berryMacros.h>
22 #include <berryObject.h>
23 
25 
26 #include <QRect>
27 
28 namespace berry {
29 
36 
37 public:
38 
40 
41 private:
42 
43  QRect snapRectangle;
44  Object::Pointer cookie;
45 
46 public:
47 
57  StackDropResult(const QRect& snapRectangle, Object::Pointer cookie);
58 
66  QRect GetSnapRectangle();
67 
75  Object::Pointer GetCookie();
76 
77 };
78 
79 }
80 
81 #endif /* BERRYSTACKDROPRESULT_H_ */
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:78
#define berryObjectMacro(...)
Definition: berryMacros.h:37
#define BERRY_UI_QT