QtMobility Reference Documentation

Contents

QML Magnetometer Element

The Magnetometer element reports on magnetic field strength along the Z, Y and Z axes. More...

Inherits Sensor

Magnetometer instantiates the C++ class QMagnetometer

  • List of all members, including inherited members
  • Properties

    Signals

    Detailed Description

    The Magnetometer element reports on magnetic field strength along the Z, Y and Z axes.

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

    See also Sensors QML Limitations.

    Property Documentation

    read-onlyreading : MagnetometerReading

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

    This documentation was introduced in Qt Mobility Mobility 1.2.


    Signal Documentation

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