68 Q_PROPERTY(QPoint
pos READ
pos CONSTANT)
72 Q_PROPERTY(QPointF
posF READ
posF CONSTANT)
80 Q_PROPERTY(
int x READ
x CONSTANT)
84 Q_PROPERTY(
int y READ
y CONSTANT)
86 explicit QmlWheelEvent(QWheelEvent *wheelEvent =
nullptr, QObject *parent =
nullptr);
104 QWheelEvent *m_wheelEvent =
nullptr;
The class exposing WheelEvent to QML.
int source
source of the event
int x
x position of mouse cursor at the time of event
int globalX
global x position of mouse cursor at the time of event
QmlWheelEvent(QWheelEvent *wheelEvent=nullptr, QObject *parent=nullptr)
QPointF posF
position of mouse cursor at the time of event
int globalY
global y position of mouse cursor at the time of event
QPoint pixelDelta
scrolling distance in pixels on screen
QPointF globalPosF
global position of mouse cursor at the time of event
int y
y position of mouse cursor at the time of event
QPoint globalPos
global position of mouse cursor at the time of event
QPoint pos
position of mouse cursor at the time of event
bool inverted
checks if the delta values delivered with the event are inverted
int phase
scrolling phase of this wheel event
QPoint angleDelta
the distance that the wheel is rotated, in eighths of a degree
int buttons
mouse state at the time of event