QtMobility Reference Documentation

Contents

QML Compass Element

The Compass element reports on heading using magnetic north as a reference. More...

Inherits Sensor

Compass instantiates the C++ class QCompass

  • List of all members, including inherited members
  • Properties

    Signals

    Detailed Description

    The Compass element reports on heading using magnetic north as a reference.

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

    See also Sensors QML Limitations.

    Property Documentation

    read-onlyreading : CompassReading

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

    This documentation was introduced in Qt Mobility Mobility 1.2.


    Signal Documentation

    Compass::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.