TiltSensor QML Type

The TiltSensor element reports tilt events along the X and Y axes. More...

Methods

Detailed Description

\ingroupqml-sensors_type \inqmlmodule QtSensors \since QtSensors 5.0 \inherits Sensor

The TiltSensor element reports tilt events along the X and Y axes.

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

See also TiltReading.

Method Documentation

calibrate()

Calibrate the tilt sensor.

Please see QTiltSensor::calibrate() for information about this property.