本页内容

RotationSensor QML Type

RotationSensor 元素用于报告设备绕 X、Y 和 Z 轴的旋转情况。更多内容...

Import Statement: import QtSensors
Since: QtSensors 5.0
Inherits:

Sensor

属性

详细说明

RotationSensor 元素用于报告设备围绕 X、Y 和 Z 轴的旋转情况。

该元素封装了QRotationSensor 类。详情请参阅QRotationSensor 的文档。

另请参阅 RotationReading 。

属性文档

hasZ : bool

该属性存储一个值,用于指示是否可用 z 轴角度。

有关此属性的信息,请参阅QRotationSensor::hasZ 。

© 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.