In questa pagina

QLightReading Class

La classe QLightReading rappresenta una singola lettura del sensore di luce. Per saperne di più...

Intestazione: #include <QLightReading>
CMake: find_package(Qt6 REQUIRED COMPONENTS Sensors)
target_link_libraries(mytarget PRIVATE Qt6::Sensors)
qmake: QT += sensors
Eredita da: QSensorReading

Proprietà

Funzioni pubbliche

qreal lux() const
void setLux(qreal lux)

Descrizione dettagliata

Unità di misura di QLightReading

Il sensore di luce restituisce l'intensità della luce in lux.

Documentazione delle proprietà

[read-only] lux : qreal

Questa proprietà indica il livello di luminosità.

Misurato in lux.

Funzioni di accesso:

qreal lux() const

Vedi anche QLightReading Units.

Documentazione delle funzioni membro

void QLightReading::setLux(qreal lux)

Imposta il livello di luminosità su lux.

Vedi anche 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.