![]() |
Falkon Develop
Cross-platform Qt-based web browser
|
The class exposing WheelEvent to QML. More...
#include <qmlwheelevent.h>
Public Member Functions | |
| QmlWheelEvent (QWheelEvent *wheelEvent=nullptr, QObject *parent=nullptr) | |
| QPoint | angleDelta () const |
| int | buttons () const |
| QPoint | globalPos () const |
| QPointF | globalPosF () const |
| int | globalX () const |
| int | globalY () const |
| bool | inverted () const |
| int | phase () const |
| QPoint | pixelDelta () const |
| QPoint | pos () const |
| QPointF | posF () const |
| int | source () const |
| int | x () const |
| int | y () const |
| void | clear () |
Properties | |
| QPoint | angleDelta |
| the distance that the wheel is rotated, in eighths of a degree More... | |
| int | buttons |
| mouse state at the time of event More... | |
| QPoint | globalPos |
| global position of mouse cursor at the time of event More... | |
| QPointF | globalPosF |
| global position of mouse cursor at the time of event More... | |
| int | globalX |
| global x position of mouse cursor at the time of event More... | |
| int | globalY |
| global y position of mouse cursor at the time of event More... | |
| bool | inverted |
| checks if the delta values delivered with the event are inverted More... | |
| int | phase |
| scrolling phase of this wheel event More... | |
| QPoint | pixelDelta |
| scrolling distance in pixels on screen More... | |
| QPoint | pos |
| position of mouse cursor at the time of event More... | |
| QPointF | posF |
| position of mouse cursor at the time of event More... | |
| int | source |
| source of the event More... | |
| int | x |
| x position of mouse cursor at the time of event More... | |
| int | y |
| y position of mouse cursor at the time of event More... | |
The class exposing WheelEvent to QML.
Definition at line 26 of file qmlwheelevent.h.
|
explicit |
Definition at line 21 of file qmlwheelevent.cpp.
| QPoint QmlWheelEvent::angleDelta | ( | ) | const |
Definition at line 27 of file qmlwheelevent.cpp.
| int QmlWheelEvent::buttons | ( | ) | const |
Definition at line 35 of file qmlwheelevent.cpp.
| void QmlWheelEvent::clear | ( | ) |
Definition at line 139 of file qmlwheelevent.cpp.
| QPoint QmlWheelEvent::globalPos | ( | ) | const |
Definition at line 43 of file qmlwheelevent.cpp.
| QPointF QmlWheelEvent::globalPosF | ( | ) | const |
Definition at line 51 of file qmlwheelevent.cpp.
| int QmlWheelEvent::globalX | ( | ) | const |
Definition at line 59 of file qmlwheelevent.cpp.
| int QmlWheelEvent::globalY | ( | ) | const |
Definition at line 67 of file qmlwheelevent.cpp.
| bool QmlWheelEvent::inverted | ( | ) | const |
Definition at line 75 of file qmlwheelevent.cpp.
| int QmlWheelEvent::phase | ( | ) | const |
Definition at line 83 of file qmlwheelevent.cpp.
| QPoint QmlWheelEvent::pixelDelta | ( | ) | const |
Definition at line 91 of file qmlwheelevent.cpp.
| QPoint QmlWheelEvent::pos | ( | ) | const |
Definition at line 99 of file qmlwheelevent.cpp.
| QPointF QmlWheelEvent::posF | ( | ) | const |
Definition at line 107 of file qmlwheelevent.cpp.
| int QmlWheelEvent::source | ( | ) | const |
Definition at line 115 of file qmlwheelevent.cpp.
| int QmlWheelEvent::x | ( | ) | const |
Definition at line 123 of file qmlwheelevent.cpp.
| int QmlWheelEvent::y | ( | ) | const |
Definition at line 131 of file qmlwheelevent.cpp.
|
read |
the distance that the wheel is rotated, in eighths of a degree
Definition at line 1 of file qmlwheelevent.h.
|
read |
mouse state at the time of event
Definition at line 1 of file qmlwheelevent.h.
|
read |
global position of mouse cursor at the time of event
Definition at line 1 of file qmlwheelevent.h.
|
read |
global position of mouse cursor at the time of event
Definition at line 1 of file qmlwheelevent.h.
|
read |
global x position of mouse cursor at the time of event
Definition at line 1 of file qmlwheelevent.h.
|
read |
global y position of mouse cursor at the time of event
Definition at line 1 of file qmlwheelevent.h.
|
read |
checks if the delta values delivered with the event are inverted
Definition at line 1 of file qmlwheelevent.h.
|
read |
scrolling phase of this wheel event
Definition at line 1 of file qmlwheelevent.h.
|
read |
scrolling distance in pixels on screen
Definition at line 1 of file qmlwheelevent.h.
|
read |
position of mouse cursor at the time of event
Definition at line 1 of file qmlwheelevent.h.
|
read |
position of mouse cursor at the time of event
Definition at line 1 of file qmlwheelevent.h.
|
read |
source of the event
Definition at line 1 of file qmlwheelevent.h.
|
read |
x position of mouse cursor at the time of event
Definition at line 1 of file qmlwheelevent.h.
|
read |
y position of mouse cursor at the time of event
Definition at line 1 of file qmlwheelevent.h.