QtMobility Reference Documentation

QML Gyroscope Element

The Gyroscope element reports on rotational acceleration around the X, Y and Z axes. More...

Inherits Sensor

Gyroscope instantiates the C++ class QGyroscope

This element was introduced in Mobility 1.2.

Properties

Signal Handlers

Detailed Description

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

See also Sensors QML Limitations.

Property Documentation

axesOrientationMode : AxesOrientationMode

Holds the mode that affects how the screen orientation changes reading values.

This property group was introduced in Mobility 1.3.

See also QOrientableSensorBase::axesOrientationMode.


read-onlycurrentOrientation : int

Holds the current orientation that is used for rotating the reading values.

This property group was introduced in Mobility 1.3.

See also QOrientableSensorBase::currentOrientation.


read-onlyreading : GyroscopeReading

Holds the most recent gyroscope 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.


Signal Handler Documentation

Gyroscope::onReadingChanged ()

Called when the reading object changes. Please see QSensor::readingChanged() for information about this signal.

This documentation was introduced in Mobility 1.2.


X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.