- Qt 6.5
- Qt 3D
- QML Types
- Qt3D.Input
- WheelEvent
- Qt 6.5.2 Reference Documentation

# WheelEvent QML Type

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

Import Statement: | import Qt3D.Input 2.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