hydrogen 1.2.6
WheelEvent Class Reference

Compatibility class to support QWheelEvent more esily in Qt5 and Qt6. More...

#include <WheelEvent.h>

Inheritance diagram for WheelEvent:

Public Member Functions

 WheelEvent (QWheelEvent *)
 
 ~WheelEvent ()
 
QPointF globalPosition () const
 
QPointF position () const
 

Detailed Description

Compatibility class to support QWheelEvent more esily in Qt5 and Qt6.

At some point, when we dropped Qt5 support, we can drop this class too and use the plain QWheelEvent again. Therefore, it is important to not add any members incompatible with the Qt6 interface of QWheelEvent.

Definition at line 34 of file WheelEvent.h.

Constructor & Destructor Documentation

◆ WheelEvent()

WheelEvent ( QWheelEvent * pEv)

Definition at line 30 of file WheelEvent.cpp.

◆ ~WheelEvent()

~WheelEvent ( )

Definition at line 40 of file WheelEvent.cpp.

Member Function Documentation

◆ globalPosition()

QPointF globalPosition ( ) const

Definition at line 43 of file WheelEvent.cpp.

◆ position()

QPointF position ( ) const

Definition at line 51 of file WheelEvent.cpp.