Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkCustomWidgetOverlay.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,
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 #ifndef QmitkCustomWidgetOverlay_H_HEADER_INCLUDED_C10DC4EB
18 #define QmitkCustomWidgetOverlay_H_HEADER_INCLUDED_C10DC4EB
19 
20 // MITK
21 #include "QmitkOverlay.h"
22 
23 #include <MitkQtOverlaysExports.h>
24 
42 {
43 public:
47  QmitkCustomWidgetOverlay(const char *id);
48 
52  virtual ~QmitkCustomWidgetOverlay();
53 
54  void SetWidget(QWidget *widget);
55 
56  QSize GetNeededSize() override;
57 };
58 
59 #endif /* QmitkCustomWidgetOverlay_H_HEADER_INCLUDED_C10DC4EB */
Abstract base class for all overlay-objects in MITK.
Definition: QmitkOverlay.h:53
virtual QSize GetNeededSize()=0
#define MITKQTOVERLAYS_EXPORT
object representing a custom widget that is handled and positioned as an overlay. ...