Accelerometer QML Type
加速度计组件报告沿 X、Y 和 Z 轴的线性加速度。更多内容...
| Import Statement: | import QtSensors |
| Since: | QtSensors 5.0 |
| Inherits: |
属性
- accelerationMode : AccelerationMode
(since QtSensors 5.1)
详细说明
加速度计元素报告沿 X、Y 和 Z 轴的线性加速度。
该元素封装了QAccelerometer 类。详情请参阅QAccelerometer 的文档。
另请参阅 AccelerometerReading 。
属性文档
accelerationMode : AccelerationMode [since QtSensors 5.1]
该属性保存当前的加速度模式。
有关此属性的信息,请参阅QAccelerometer::accelerationMode 。
该属性在 QtSensors 5.1 中引入。
© 2026 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.