IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Accelerometer QML Type

The Accelerometer element reports on linear acceleration along the X, Y and Z axes.

This type was introduced in QtSensors 5.0.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Accelerometer QML Type

  • Import Statement: import QtSensors

  • Since:: QtSensors 5.0

  • Inherits:: Sensor

  • Group: Accelerometer is part of qml-sensors_type

Detailed Description

The Accelerometer element reports on linear acceleration along the X, Y and Z axes.

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

See Also

Property Documentation

 

[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.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+