QAccelerometerReading Class ReferenceThe QAccelerometerReading class reports on linear acceleration along the X, Y and Z axes. More... #include <QAccelerometerReading> Inherits QSensorReading. Properties
Public Functions
Additional Inherited Members
Detailed DescriptionThe QAccelerometerReading class reports on linear acceleration along the X, Y and Z axes. QAccelerometerReading UnitsThe scale of the values is meters per second squared. The axes are arranged as follows. ![]() A monoblock device sitting at rest, face up on a desk will experience a force of approximately 9.8 on the Z axis (ie. towards the roof). This is the proper acceleration the device experiences relative to freefall. Property Documentation
|
qreal | x () const |
See also QAccelerometerReading Units.
This property holds the acceleration on the Y axis.
The scale of the values is meters per second squared.
Access functions:
qreal | y () const |
See also QAccelerometerReading Units.
This property holds the acceleration on the Z axis.
The scale of the values is meters per second squared.
Access functions:
qreal | z () const |
See also QAccelerometerReading Units.
Sets the acceleration on the X axis to x.
See also x().
Sets the acceleration on the Y axis to y.
See also y().
Sets the acceleration on the Z axis to z.
See also z().
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtmobility-1.0 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com