QAltimeterReading Class

The QAltimeterReading class holds readings from the altimeter sensor. 更多...

头文件: #include <QAltimeterReading>
qmake: QT += sensors
开始支持版本: Qt 5.1
基类: QSensorReading

属性

公有函数

qreal altitude() const
void setAltitude(qreal altitude)

其他继承的成员

  • 1 个公有槽函数继承自 QObject
  • 2 个信号继承自 QObject
  • 1 个公有变量继承自 QObject
  • 10 个静态公有成员继承自 QObject
  • 9 个受保护的函数继承自 QObject
  • 2 个受保护的变量继承自 QObject

详细描述

The QAltimeterReading class holds readings from the altimeter sensor.

The altitude is reported in meters relative to mean sea level.

属性

altitude : const qreal

This property holds the altitude in meters relative to mean sea level.

访问函数:

qreal altitude() const

成员函数

void QAltimeterReading::setAltitude(qreal altitude)

Sets the altitude to altitude.

参见 altitude().