TiltSensor QML Type

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

Import Statement: import QtSensors 5.0
开始支持版本: QtSensors 5.0
基类:

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.

参见 TiltReading.

成员

calibrate()

Calibrate the tilt sensor.

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