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 PySide6.QtSensors.QHumidityReading(parent)¶
- Parameters
parent –
PySide6.QtCore.QObject
- PySide6.QtSensors.QHumidityReading.absoluteHumidity()¶
- Return type
float
This property holds Absolute humidity Measured in grams per cubic meter. Note that some sensors may not support absolute humidity..
See also
QHumidityReading Units
- PySide6.QtSensors.QHumidityReading.relativeHumidity()¶
- Return type
float
This property holds Relative humidity Returned as a percentage..
See also
QHumidityReading Units
- PySide6.QtSensors.QHumidityReading.setAbsoluteHumidity(value)¶
- Parameters
value – float
Sets absoluteHumidity
to value
.
See also
- PySide6.QtSensors.QHumidityReading.setRelativeHumidity(percent)¶
- Parameters
percent – float
Sets relativeHumidity
to humidity
.
See also
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.