The QAltimeterReading class holds readings from the altimeter sensor. 更多...
| 頭: | #include <QAltimeterReading> |
| qmake: | QT += sensors |
| Since: | Qt 5.1 |
| 繼承: | QSensorReading |
| qreal | altitude () const |
| void | setAltitude (qreal altitude ) |
The QAltimeterReading class holds readings from the altimeter sensor.
The altitude is reported in meters relative to mean sea level.
This property holds the altitude in meters relative to mean sea level.
訪問函數:
| qreal | altitude () const |
Sets the altitude to altitude .
另請參閱 altitude ().