提供鼠标事件的描述参数。 更多...
import 语句: | import Qt3D.Input 2.15 |
Since: | Qt 5.5 |
实例化: | QMouseEvent |
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.
另请参阅 KeyEvent , WheelEvent ,和 MouseHandler .
accepted : bool |
指定若鼠标事件已被接受
指定触发鼠标事件的按钮
[read-only] buttons : int |
指定触发鼠标事件的按钮
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
[read-only] x : int |
Specifies The X coordinate of the mouse event
[read-only] y : int |
Specifies The Y coordinate of the mouse event