Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
QmitkOverlayContainerWidget.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 QmitkOverlayContainerWidget_h
14 #define QmitkOverlayContainerWidget_h
15 
16 // Qt
17 #include <QWidget>
18 
19 #include <MitkQtOverlaysExports.h>
20 
29 {
30 public:
34  QmitkOverlayContainerWidget(QWidget *parent = nullptr, Qt::WindowFlags f = {});
35 
39  ~QmitkOverlayContainerWidget() override;
40 
41 protected:
45  void paintEvent(QPaintEvent *event) override;
46 };
47 
48 #endif
QmitkOverlayContainerWidget
Widget that overrides the paintEvent method to correctly display the Qt based overlays when using the...
Definition: QmitkOverlayContainerWidget.h:28
MitkQtOverlaysExports.h
MITKQTOVERLAYS_EXPORT
#define MITKQTOVERLAYS_EXPORT
Definition: MitkQtOverlaysExports.h:15