Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
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 (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 #ifndef QmitkCustomWidgetOverlay_h
14 #define QmitkCustomWidgetOverlay_h
15 
16 // MITK
17 #include "QmitkOverlay.h"
18 
19 #include <MitkQtOverlaysExports.h>
20 
38 {
39 public:
43  QmitkCustomWidgetOverlay(const char *id);
44 
48  ~QmitkCustomWidgetOverlay() override;
49 
50  void SetWidget(QWidget *widget);
51 
52  QSize GetNeededSize() override;
53 };
54 
55 #endif
MitkQtOverlaysExports.h
QmitkOverlay
Abstract base class for all overlay-objects in MITK.
Definition: QmitkOverlay.h:49
MITKQTOVERLAYS_EXPORT
#define MITKQTOVERLAYS_EXPORT
Definition: MitkQtOverlaysExports.h:15
QmitkOverlay.h
QmitkOverlay::GetNeededSize
virtual QSize GetNeededSize()=0
QmitkCustomWidgetOverlay
object representing a custom widget that is handled and positioned as an overlay.
Definition: QmitkCustomWidgetOverlay.h:37