- class QAmbientTemperatureReading#
The
QAmbientTemperatureReading
class holds readings of the ambient temperature. More…Synopsis#
Properties#
temperatureᅟ
- Ambient temperature
Methods#
def
__init__()
def
setTemperature()
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.
Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property temperatureᅟ: float#
This property holds The ambient temperature.
Measured in degree Celsius.
- Access functions:
- setTemperature(temperature)#
- Parameters:
temperature – float
Sets ambient temperature to
temperature
.See also
- temperature()#
- Return type:
float
See also
Getter of property
temperatureᅟ
.