QAmbientTemperatureReading

The QAmbientTemperatureReading class holds readings of the ambient temperature. More

Inheritance diagram of PySide2.QtSensors.QAmbientTemperatureReading

Synopsis

Functions

Detailed Description

The ambient (room) temperature is the temperature in degree Celsius.

class PySide2.QtSensors.QAmbientTemperatureReading(parent)
Parameters:

parentPySide2.QtCore.QObject

PySide2.QtSensors.QAmbientTemperatureReading.setTemperature(temperature)
Parameters:

temperature – float

Sets ambient temperature to temperature .

See also

temperature()

PySide2.QtSensors.QAmbientTemperatureReading.temperature()
Return type:

float

This property holds The ambient temperature.

Measured in degree Celsius.