QtMobility Reference Documentation

Contents

QML Accelerometer Element

The Accelerometer element reports on linear acceleration along the X, Y and Z axes. More...

Inherits Sensor

Accelerometer instantiates the C++ class QAccelerometer

  • List of all members, including inherited members
  • Properties

    Signals

    Detailed Description

    The Accelerometer element reports on linear acceleration along the X, Y and Z axes.

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

    See also Sensors QML Limitations.

    Property Documentation

    read-onlyreading : AccelerometerReading

    Holds the most recent accelerometer reading. Please see QSensor::reading for information about this property.

    This documentation was introduced in Qt Mobility Mobility 1.2.


    Signal Documentation

    Accelerometer::onReadingChanged ()

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

    This documentation was introduced in Qt Mobility Mobility 1.2.