Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkOverlayContainerWidget Class Reference

Widget that overrides the paintEvent method to correctly display the Qt based overlays when using the system-environment variable QT_DEVIDE_PIXEL_RATIO. More...

#include <QmitkOverlayContainerWidget.h>

Inheritance diagram for QmitkOverlayContainerWidget:
Collaboration diagram for QmitkOverlayContainerWidget:

Public Member Functions

 QmitkOverlayContainerWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 Default Constructor. More...
 
virtual ~QmitkOverlayContainerWidget ()
 Default Destructor. More...
 

Protected Member Functions

virtual void paintEvent (QPaintEvent *event) override
 overridden version of paintEvent that correctly clears its canvas before painting. More...
 

Detailed Description

Widget that overrides the paintEvent method to correctly display the Qt based overlays when using the system-environment variable QT_DEVIDE_PIXEL_RATIO.

Definition at line 32 of file QmitkOverlayContainerWidget.h.

Constructor & Destructor Documentation

QmitkOverlayContainerWidget::QmitkOverlayContainerWidget ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)

Default Constructor.

Definition at line 21 of file QmitkOverlayContainerWidget.cpp.

QmitkOverlayContainerWidget::~QmitkOverlayContainerWidget ( )
virtual

Default Destructor.

Definition at line 25 of file QmitkOverlayContainerWidget.cpp.

Member Function Documentation

void QmitkOverlayContainerWidget::paintEvent ( QPaintEvent *  event)
overrideprotectedvirtual

overridden version of paintEvent that correctly clears its canvas before painting.

Definition at line 29 of file QmitkOverlayContainerWidget.cpp.


The documentation for this class was generated from the following files: