QmlMaterial 0.1.0
|
#include <qml_material/kirigami/wheelhandler.h>
Properties | |
qreal | x |
qreal | y |
QPointF | angleDelta |
QPointF | pixelDelta |
int | buttons |
int | modifiers |
bool | inverted |
bool | accepted |
Describes the mouse wheel event
|
readwrite |
accepted: bool
If set, the event shouldn't be managed anymore, for instance it can be used to block the handler to manage the scroll of a view on some scenarios
|
read |
angleDelta: point
The distance the wheel is rotated in degrees. The x and y coordinates indicate the horizontal and vertical wheels respectively. A positive value indicates it was rotated up/right, negative, bottom/left This value is more likely to be set in traditional mice.
|
read |
buttons: int
it contains an OR combination of the buttons that were pressed during the wheel, they can be: Qt.LeftButton, Qt.MiddleButton, Qt.RightButton
|
read |
inverted: bool
Whether the delta values are inverted On some platformsthe returned delta are inverted, so positive values would mean bottom/left
|
read |
modifiers: int
Keyboard mobifiers that were pressed during the wheel event, such as: Qt.NoModifier (default, no modifiers) Qt.ControlModifier Qt.ShiftModifier ...
|
read |
pixelDelta: point
provides the delta in screen pixels available on high resolution trackpads
|
read |
x: real
X coordinate of the mouse pointer
|
read |
y: real
Y coordinate of the mouse pointer