QProximityReading Class
QProximityReading 클래스는 근접 센서의 판독값 하나를 나타냅니다. 더 보기...
헤더: | #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
이 속성은 무언가가 가까이 있는지 여부를 나타내는 값을 보유합니다.
가까이 있는 경우 참으로 설정합니다. 거짓으로 설정하면 아무것도 가까이 있지 않습니다.
함수에 액세스합니다:
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.