The QLightReading class represents one reading from the light sensor. More…
QLightReading
def lux ()
lux
def setLux (lux)
setLux
The light sensor returns the intensity of the light in lux.
parent – QObject
QObject
PySide2.QtSensors.QLightReading.
qreal
See also
setLux()
lux – qreal
Sets the light level to lux .
lux()