QAmbientTemperatureReading#
The QAmbientTemperatureReading
class holds readings of the ambient temperature. More…
Synopsis#
Functions#
def
setTemperature
(temperature)def
temperature
()
Detailed Description#
The ambient (room) temperature is the temperature in degree Celsius.
- class PySide6.QtSensors.QAmbientTemperatureReading(parent)#
- Parameters
parent –
PySide6.QtCore.QObject
- PySide6.QtSensors.QAmbientTemperatureReading.setTemperature(temperature)#
- Parameters
temperature – float
Sets ambient temperature to temperature
.
See also
- PySide6.QtSensors.QAmbientTemperatureReading.temperature()#
- Return type
float
This property holds The ambient temperature.
Measured in degree Celsius.