class QAmbientTemperatureReading#

The QAmbientTemperatureReading class holds readings of the ambient temperature. More

Inheritance diagram of PySide6.QtSensors.QAmbientTemperatureReading

Synopsis#

Properties#

Methods#

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:
__init__(parent)#
Parameters:

parentQObject

setTemperature(temperature)#
Parameters:

temperature – float

Sets ambient temperature to temperature.

See also

temperature()

temperature()#
Return type:

float

See also

setTemperature()

Getter of property temperatureᅟ .