WheelEvent QML Type
包含描述鼠标滚轮事件的参数。更多
Import Statement: | import Qt3D.Input 2.9 |
In C++: | QWheelEvent |
Status: | Deprecated |
属性
详细说明
当鼠标滚轮旋转时会发生鼠标滚轮事件。
另请参阅 KeyEvent,MouseEvent, 和MouseHandler 。
属性文档
accepted : bool |
指定是否已接受鼠标滚轮事件
angleDelta : Point |
指定鼠标滚轮事件的滚轮角度变化
buttons : int |
如果鼠标滚轮事件中存在按钮,则指定按钮
modifiers : Modifiers |
指定鼠标滚轮事件是否应用了修改器
x : int |
指定鼠标滚轮事件的 X 坐标
y : int |
指定鼠标滚轮事件的 Y 坐标
© 2025 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.