"""
PySide stub files generated by **IceSpringPySideStubs**

Home: https://baijifeilong.github.io/2022/01/06/ice-spring-pyside-stubs/index.html

Github: https://github.com/baijifeilong/IceSpringPySideStubs

PyPI(PySide2): https://pypi.org/project/IceSpringPySideStubs-PySide2

PyPI(PySide6): https://pypi.org/project/IceSpringPySideStubs-PySide6

Generated by BaiJiFeiLong@gmail.com

Licence: GPLv3
"""
from typing import Optional
import PySide6.QtCore
import PySide6.QtSensors

bytes = str


class QAmbientLightSensor(PySide6.QtSensors.QSensor):
    """
    https://doc.qt.io/qt-6/qambientlightsensor.html

    **Detailed Description**

    The only behavioural difference is that this class sets the type properly.

    This class also features a **reading** () function that returns a
    **QAmbientLightReading**  instead of a **QSensorReading** .

    For details about how the sensor works, see **QAmbientLightReading** .

    **See also** **QAmbientLightReading** .
    """

    def __init__(self, parent: Optional[PySide6.QtCore.QObject] = ...) -> None:
        """
        https://doc.qt.io/qt-6/qambientlightsensor.html#QAmbientLightSensor

        **QAmbientLightSensor::QAmbientLightSensor(QObject * parent = nullptr)**

        Construct the sensor as a child of **parent**.
        """
        ...

    def reading(self) -> PySide6.QtSensors.QAmbientLightReading:
        """
        https://doc.qt.io/qt-6/qambientlightsensor.html#reading

        **QAmbientLightReading *QAmbientLightSensor::reading() const**

        Returns the reading class for this sensor.

        **See also** **QSensor::reading** ().
        """
        ...
