MouseEvent QML Type | Qt 3D 5.15.18 (original) (raw)
Provides parameters that describe a mouse event. More...
Import Statement: | import Qt3D.Input 2.15 |
---|---|
Since: | Qt 5.5 |
Instantiates: | QMouseEvent |
Properties
- ****accepted** : bool
- ****button** : Buttons
- ****buttons** : int
- ****modifiers** : Modifiers
- ****wasHeld** : bool
- ****x** : int
- ****y** : int
Detailed Description
Mouse events occur when a mouse button is pressed and the ray traversing the view, originating from the mouse position intersects with one or more elements of the scene.
See also KeyEvent, WheelEvent, and MouseHandler.
Property Documentation
Specifies if the mouse event has been accepted
Specifies the button triggering the mouse event
[read-only] buttons : int
Specifies the button triggering the mouse event
[read-only] modifiers : Modifiers
Specifies if any modifiers were applied to the mouse event
[read-only] wasHeld : bool
Specifies if a mouse button was held down during the mouse event
Specifies The X coordinate of the mouse event
Specifies The Y coordinate of the mouse event
© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.