QAmbientTemperatureReading

The QAmbientTemperatureReading class holds readings of the ambient temperature. More

Inheritance diagram of PySide6.QtSensors.QAmbientTemperatureReading

Synopsis

Functions

Detailed Description

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

class PySide6.QtSensors.QAmbientTemperatureReading(parent)
Parameters

parentPySide6.QtCore.QObject

PySide6.QtSensors.QAmbientTemperatureReading.setTemperature(temperature)
Parameters

temperature – float

Sets ambient temperature to temperature.

See also

temperature()

PySide6.QtSensors.QAmbientTemperatureReading.temperature()
Return type

float

See also

setTemperature()