このページでは

QLightReading Class

QLightReading クラスは、光センサーからの1回の読み取り結果を表します。詳細...

ヘッダー: #include <QLightReading>
CMake: find_package(Qt6 REQUIRED COMPONENTS Sensors)
target_link_libraries(mytarget PRIVATE Qt6::Sensors)
qmake: QT += sensors
継承元: QSensorReading

プロパティ

公開関数

qreal lux() const
void setLux(qreal lux)

詳細な説明

QLightReading 単位

光センサーは、光の強度をルクス単位で返します。

プロパティのドキュメント

[read-only] lux : qreal

このプロパティは照度を保持します。

単位はルクスで測定されます。

アクセス関数:

qreal lux() const

「QLightReading Units」も参照してください 。

メンバ関数のドキュメント

void QLightReading::setLux(qreal lux)

照度をlux に設定します。

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.