Medical Imaging Interaction Toolkit  2018.4.99-4c24e3cb
Medical Imaging Interaction Toolkit
berryStackDropResult.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 BERRYSTACKDROPRESULT_H_
15 #define BERRYSTACKDROPRESULT_H_
16 
17 #include <berryMacros.h>
18 #include <berryObject.h>
19 
21 
22 #include <QRect>
23 
24 namespace berry {
25 
32 
33 public:
34 
36 
37 private:
38 
39  QRect snapRectangle;
41 
42 public:
43 
53  StackDropResult(const QRect& snapRectangle, Object::Pointer cookie);
54 
62  QRect GetSnapRectangle();
63 
71  Object::Pointer GetCookie();
72 
73 };
74 
75 }
76 
77 #endif /* BERRYSTACKDROPRESULT_H_ */
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
#define berryObjectMacro(...)
Definition: berryMacros.h:33
berryObjectMacro(StackDropResult) private Object::Pointer cookie
#define BERRY_UI_QT