The Accelerometer element reports on linear acceleration along the X, Y and Z axes. 更多...
import 语句: | import QtSensors |
Since: | QtSensors 5.0 |
继承: | Sensor |
The Accelerometer element reports on linear acceleration along the X, Y and Z axes.
此元素包裹 QAccelerometer 类。请参阅文档编制 QAccelerometer 了解细节。
另请参阅 AccelerometerReading .
[since QtSensors 5.1] accelerationMode : AccelerationMode |
This property holds the current acceleration mode.
Please see QAccelerometer::accelerationMode for information about this property.
This property was introduced in QtSensors 5.1.