Qt Mobility Reference Documentation

Sensors QML Plugin

Overview

The identifying string for this component is "QtMobility.sensors". Use this in the QML import statement.

The Sensors QML Plugin registers the C++ Sensors classes directly to the QML environment.

See Sensors for more information about the Sensors API.

Sensor Elements

These elements represent specific types of sensors.

QML Accelerometer Element

The Accelerometer element wraps the QAccelerometer class.

QML AmbientLightSensor Element

The AmbientLightSensor element wraps the QAmbientLightSensor class.

QML Compass Element

The Compass element wraps the QCompass class.

QML Magnetometer Element

The Magnetometer element wraps the QMagnetometer class.

QML OrientationSensor Element

The OrientationSensor element wraps the QOrientationSensor class.

QML ProximitySensor Element

The ProximitySensor element wraps the QProximitySensor class.

QML RotationSensor Element

The RotationSensor element wraps the QRotationSensor class.

QML TapSensor Element

The TapSensor element wraps the QTapSensor class.

Reading Elements

The data from a sensor comes through a reading class.

QML AccelerometerReading Element

The AccelerometerReading element wraps the QAccelerometerReading class.

QML AmbientLightReading Element

The AmbientLightReading element wraps the QAmbientLightReading class.

QML CompassReading Element

The CompassReading element wraps the QCompassReading class.

QML MagnetometerReading Element

The MagnetometerReading element wraps the QMagnetometerReading class.

QML OrientationReading Element

The OrientationReading element wraps the QOrientationReading class.

QML ProximityReading Element

The ProximityReading element wraps the QProximityReading class.

QML RotationReading Element

The RotationReading element wraps the QRotationReading class.

QML TapReading Element

The TapReading element wraps the QTapReading class.

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.