The RotationSensor element reports on device rotation around the X, Y and Z axes. More...
Inherits Sensor
RotationSensor instantiates the C++ class QRotationSensor
This element was introduced in Mobility 1.1.
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 Sensors QML Limitations.
Holds the mode that affects how the screen orientation changes reading values.
This property group was introduced in Mobility 1.3.
read-onlycurrentOrientation : int |
Holds the current orientation that is used for rotating the reading values.
This property group was introduced in Mobility 1.3.
read-onlyreading : RotationReading |
Holds the most recent rotation reading. Please see QSensor::reading for information about this property.
This property group was introduced in Mobility 1.2.
userOrientation : int |
Holds the angle used for rotating the reading values in the UserOrientation mode.
This property group was introduced in Mobility 1.3.
See also QOrientableSensorBase::userOrientation.
Called when the reading object changes. Please see QSensor::readingChanged() for information about this signal.
This documentation was introduced in Mobility 1.2.