Medical Imaging Interaction Toolkit  2016.11.0
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,
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 QmitkOverlayContainerWidget_H_HEADER_INCLUDED_C10DC4EB
18 #define QmitkOverlayContainerWidget_H_HEADER_INCLUDED_C10DC4EB
19 
20 // Qt
21 #include <QWidget>
22 
23 #include <MitkQtOverlaysExports.h>
24 
33 {
34 public:
38  QmitkOverlayContainerWidget(QWidget *parent = 0, Qt::WindowFlags f = 0);
39 
43  virtual ~QmitkOverlayContainerWidget();
44 
45 protected:
49  virtual void paintEvent(QPaintEvent *event) override;
50 };
51 
52 #endif /* QmitkOverlayContainerWidget_H_HEADER_INCLUDED_C10DC4EB */
Widget that overrides the paintEvent method to correctly display the Qt based overlays when using the...
#define MITKQTOVERLAYS_EXPORT