QLightReading Class

QLightReading 클래스는 광 센서의 판독값 하나를 나타냅니다. 더 보기...

헤더: #include <QLightReading>
CMake: find_package(Qt6 REQUIRED COMPONENTS Sensors)
target_link_libraries(mytarget PRIVATE Qt6::Sensors)
qmake: QT += sensors
상속합니다: QSensorReading

속성

  • lux : const qreal

공공 기능

qreal lux() const
void setLux(qreal lux)

상세 설명

Q라이트 리딩 유닛

광센서는 빛의 세기를 럭스 단위로 반환합니다.

속성 문서

[read-only] lux : const qreal

이 속성은 조도 레벨을 보유합니다.

럭스로 측정됩니다.

기능에 액세스합니다:

qreal lux() const

QLightReading Units참조하세요 .

멤버 함수 문서

void QLightReading::setLux(qreal lux)

조명 레벨을 lux 으로 설정합니다.

lux()도 참조하세요 .

© 2025 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.