QLightReading class represents one reading from the light sensor. More…
lux- The light level
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
The light sensor returns the intensity of the light in lux.
- class PySide6.QtSensors.QLightReading(parent)#
Properties can be used directly when
from __feature__ import true_property is used or via accessor functions otherwise.
- property PᅟySide6.QtSensors.QLightReading.lux: float#
This property holds the light level..
Measured as lux.
- Access functions:
Getter of property
lux – float
Sets the light level to