RotationSensor QML Type

The RotationSensor element reports on device rotation around the X, Y and Z axes. More...

Import Statement: import QtSensors
Since: QtSensors 5.0
Inherits:

Sensor

Properties

Detailed Description

The RotationSensor element reports on device rotation around the X, Y and Z axes.

This element wraps the QRotationSensor class. Please see the documentation for QRotationSensor for details.

See also RotationReading.

Property Documentation

hasZ : bool

This property holds a value indicating if the z angle is available.

Please see QRotationSensor::hasZ for information about this property.


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