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 QAmbientTemperatureReading(parent)
Parameters

parentQObject

PySide2.QtSensors.QAmbientTemperatureReading.setTemperature(temperature)
Parameters

temperatureqreal

Sets ambient temperature to temperature .

See also

temperature()

PySide2.QtSensors.QAmbientTemperatureReading.temperature()
Return type

qreal

See also

setTemperature()