Qt 5.7 | Qt 3D | QML Types | WheelEvent QML Type

Qt 5.7.1 Reference Documentation

# WheelEvent QML Type

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

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

- List of all members, including inherited members

## Properties

- accepted : bool
- angleDelta : Point
- buttons : int
- modifiers : Modifiers
- x : int
- y : int

## 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