QAmbientTemperatureReading#
The QAmbientTemperatureReading
class holds readings of the ambient temperature. More…
Synopsis#
Properties#
temperature
- Ambient temperature
Functions#
def
setTemperature
(temperature)def
temperature
()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description#
The ambient (room) temperature is the temperature in degree Celsius.
- class PySide6.QtSensors.QAmbientTemperatureReading(parent)#
- Parameters:
parent –
PySide6.QtCore.QObject
Note
Properties can be used directly when from __feature__ import true_property
is used or via accessor functions otherwise.
- property PᅟySide6.QtSensors.QAmbientTemperatureReading.temperature: float#
This property holds The ambient temperature.
Measured in degree Celsius.
- Access functions:
temperature
()
- PySide6.QtSensors.QAmbientTemperatureReading.setTemperature(temperature)#
- Parameters:
temperature – float
Sets ambient temperature to temperature
.
See also
- PySide6.QtSensors.QAmbientTemperatureReading.temperature()#
- Return type:
float
See also
Getter of property temperature
.