TiltSensor QML Type

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

import 语句: import QtSensors
Since: QtSensors 5.0
继承: Sensor

方法

详细描述

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

此元素包裹 QTiltSensor 类。请参阅文档编制 QTiltSensor 了解细节。

另请参阅 TiltReading .

方法文档编制

calibrate ()

Calibrate the tilt sensor.

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