23 , m_wheelEvent(wheelEvent)
30 return QPoint(-1, -1);
32 return m_wheelEvent->angleDelta();
40 return static_cast<int>(m_wheelEvent->buttons());
46 return QPoint(-1, -1);
48 return m_wheelEvent->globalPosition().toPoint();
54 return QPointF(-1, -1);
56 return m_wheelEvent->globalPosition();
64 return m_wheelEvent->globalPosition().toPoint().x();
72 return m_wheelEvent->globalPosition().toPoint().y();
80 return m_wheelEvent->inverted();
88 return static_cast<int>(m_wheelEvent->phase());
94 return QPoint(-1, -1);
96 return m_wheelEvent->pixelDelta();
102 return QPoint(-1, -1);
104 return m_wheelEvent->position().toPoint();
110 return QPointF(-1, -1);
112 return m_wheelEvent->position();
120 return static_cast<int>(m_wheelEvent->source());
128 return m_wheelEvent->position().toPoint().x();
136 return m_wheelEvent->position().toPoint().y();
141 m_wheelEvent =
nullptr;
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