Nesta página

QLightReading Class

A classe QLightReading representa uma leitura do sensor de luz. Mais...

Cabeçalho: #include <QLightReading>
CMake: find_package(Qt6 REQUIRED COMPONENTS Sensors)
target_link_libraries(mytarget PRIVATE Qt6::Sensors)
qmake: QT += sensors
Herdado de: QSensorReading

Propriedades

Funções públicas

qreal lux() const
void setLux(qreal lux)

Descrição detalhada

Unidades de leitura do QLight

O sensor de luz retorna a intensidade da luz em lux.

Documentação da propriedade

[read-only] lux : qreal

Essa propriedade define o nível de iluminação.

Medido em lux.

Funções de acesso:

qreal lux() const

Veja também QLightReading Units.

Documentação das funções de membro

void QLightReading::setLux(qreal lux)

Define o nível de iluminação para lux.

Veja também lux().

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