W3cubDocs

/Qt

WheelEvent QML Type

Contains parameters that describe a mouse wheel event. More...

Import Statement: import Qt3D.Input
Since: Qt 5.5
Instantiates: QWheelEvent

Properties

Detailed Description

Mouse wheel events occur when the mouse wheel is rotated.

See also KeyEvent, MouseEvent, and MouseHandler.

Property Documentation

accepted : bool

Specifies if the mouse wheel event has been accepted

[read-only] angleDelta : Point

Specifies The change wheel angle of the mouse wheel event

[read-only] buttons : int

Specifies the button if present in the mouse wheel event

[read-only] modifiers : Modifiers

Specifies if any modifiers were applied to the mouse wheel event

[read-only] x : int

Specifies The X coordinate of the mouse wheel event

[read-only] y : int

Specifies The Y coordinate of the mouse wheel event

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qml-qt3d-input-wheelevent.html