InputSettings QML Type
InputSettings 包含指向输入事件源对象的指针。更多
Import Statement: | import Qt3D.Input 2.9 |
In C++: | QInputSettings |
Inherits: | |
Status: | Deprecated |
属性
- eventSource : QtObject
详细说明
InputSettings 组件必须设置为场景根实体的一个组件。它存储了一个指向作为输入事件源的对象的指针,这些输入事件将由各种输入类处理。例如,窗口实例可以是一个事件源。
另请参阅 MouseDevice 和KeyboardDevice 。
属性文档
eventSource : QtObject |
保存当前事件源。事件源是一个能接收各种输入事件(如鼠标或键盘事件)的对象。通常是一个窗口实例。
© 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.