QAmbientTemperatureReading#

The QAmbientTemperatureReading class holds readings of the ambient temperature. More

Inheritance diagram of PySide6.QtSensors.QAmbientTemperatureReading

Synopsis#

Properties#

Functions#

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:

parentPySide6.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:
PySide6.QtSensors.QAmbientTemperatureReading.setTemperature(temperature)#
Parameters:

temperature – float

Sets ambient temperature to temperature.

See also

temperature()

PySide6.QtSensors.QAmbientTemperatureReading.temperature()#
Return type:

float

See also

setTemperature()

Getter of property temperature .