QHumidityReading¶
The
QHumidityReading
class holds readings from the humidity sensor. More…

Synopsis¶
Functions¶
def
absoluteHumidity
()def
relativeHumidity
()def
setAbsoluteHumidity
(value)def
setRelativeHumidity
(percent)
Detailed Description¶
QHumidityReading Units¶
The humidity sensor returns the relative humidity as a percentage, and absolute humidity in grams per cubic meter (g/m3). Note that some sensors may not support absolute humidity, 0 will be returned in this case.
-
class
QHumidityReading
(parent)¶ - Parameters
parent –
QObject
-
PySide2.QtSensors.QHumidityReading.
absoluteHumidity
()¶ - Return type
qreal
See also
-
PySide2.QtSensors.QHumidityReading.
relativeHumidity
()¶ - Return type
qreal
See also
-
PySide2.QtSensors.QHumidityReading.
setAbsoluteHumidity
(value)¶ - Parameters
value –
qreal
Sets
absoluteHumidity
tovalue
.See also
-
PySide2.QtSensors.QHumidityReading.
setRelativeHumidity
(percent)¶ - Parameters
percent –
qreal
Sets
relativeHumidity
tohumidity
.See also