Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
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_DEVICE_PIXEL_RATIO. More...

#include <QmitkOverlayContainerWidget.h>

Inheritance diagram for QmitkOverlayContainerWidget:
Collaboration diagram for QmitkOverlayContainerWidget:

Public Member Functions

 QmitkOverlayContainerWidget (QWidget *parent=nullptr, Qt::WindowFlags f={})
 Default Constructor. More...
 
 ~QmitkOverlayContainerWidget () override
 Default Destructor. More...
 

Protected Member Functions

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_DEVICE_PIXEL_RATIO.

Definition at line 28 of file QmitkOverlayContainerWidget.h.

Constructor & Destructor Documentation

◆ QmitkOverlayContainerWidget()

QmitkOverlayContainerWidget::QmitkOverlayContainerWidget ( QWidget *  parent = nullptr,
Qt::WindowFlags  f = {} 
)

Default Constructor.

◆ ~QmitkOverlayContainerWidget()

QmitkOverlayContainerWidget::~QmitkOverlayContainerWidget ( )
override

Default Destructor.

Member Function Documentation

◆ paintEvent()

void QmitkOverlayContainerWidget::paintEvent ( QPaintEvent *  event)
overrideprotected

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


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