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 PySide2.QtSensors.QAmbientTemperatureReading(parent)¶
- Parameters:
parent –
PySide2.QtCore.QObject
- PySide2.QtSensors.QAmbientTemperatureReading.setTemperature(temperature)¶
- Parameters:
temperature – float
Sets ambient temperature to
temperature
.See also
- PySide2.QtSensors.QAmbientTemperatureReading.temperature()¶
- Return type:
float
This property holds The ambient temperature.
Measured in degree Celsius.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.