W3cubDocs

/Qt 5.15

TiltSensor QML Type

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

Import Statement: import QtSensors 5.15
Since: QtSensors 5.0
Inherits:

Sensor

Methods

Detailed Description

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.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.15/qml-qtsensors-tiltsensor.html