QAmbientTemperatureReading露

The QAmbientTemperatureReading class holds readings of the ambient temperature. More鈥�

Inheritance diagram of PySide2.QtSensors.QAmbientTemperatureReading

Synopsis露

Functions露

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

temperature()

PySide2.QtSensors.QAmbientTemperatureReading.temperature()露
Return type:

float

This property holds The ambient temperature.

Measured in degree Celsius.