QPressureReading Class

The QPressureReading class holds readings from the pressure sensor. More...

#include <QPressureReading>

Inherits: QSensorReading.

This class was introduced in QtSensors 5.1.

Properties

Public Functions

qreal pressure() const
void setPressure(qreal pressure)

Additional Inherited Members

  • 1 public slot inherited from QObject
  • 2 signals inherited from QObject
  • 1 public variable inherited from QObject
  • 9 static public members inherited from QObject
  • 9 protected functions inherited from QObject
  • 2 protected variables inherited from QObject

Detailed Description

The QPressureReading class holds readings from the pressure sensor.

QPressureReading Units

The pressure sensor returns atmospheric pressure values in Pascals.

Property Documentation

pressure : const qreal

This property holds the measured atmospheric pressure.

Returned as Pascals.

Access functions:

qreal pressure() const

See also QPressureReading Units.

Member Function Documentation

void QPressureReading::setPressure(qreal pressure)

Sets the pressure to pressure.

See also pressure().