PySide6.QtSensors.QLightReading¶
- class QLightReading¶
The
QLightReadingclass represents one reading from the light sensor. More…Synopsis¶
Properties¶
luxᅟ- The light level
Methods¶
def
__init__()def
lux()def
setLux()
Note
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
Detailed Description¶
QLightReading Units¶
The light sensor returns the intensity of the light in lux.
Note
Properties can be used directly when
from __feature__ import true_propertyis used or via accessor functions otherwise.- property luxᅟ: float¶
This property holds the light level..
Measured as lux.
See also
QLightReading Units- Access functions:
Getter of property
luxᅟ.- setLux(lux)¶
- Parameters:
lux – float
Sets the light level to
lux.See also