QProximityReading Class
QProximityReading クラスは、近接センサーからの 1 つの読み取り値を表します。詳細...
ヘッダー | #include <QProximityReading> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Sensors) target_link_libraries(mytarget PRIVATE Qt6::Sensors) |
qmake: | QT += sensors |
継承: | QSensorReading |
プロパティ
- close : const bool
公共機能
詳細説明
近接センサーは物体が近くにあるかどうかだけを示すことができる。
オブジェクトが近いとみなされる距離はデバイス固有である。この距離は、QSensor::outputRanges プロパティで利用可能な場合がある。
プロパティの説明
[read-only]
close : const bool
このプロパティは、何かが近いかどうかを示す値を保持する。
何かが近ければtrueに設定する。何もない場合は false をセットする。
アクセス関数:
bool | close() const |
QProximityReading_Unitsも参照の こと。
© 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.