QAmbientTemperatureReading Class
QAmbientTemperatureReading 클래스는 주변 온도 판독값을 저장합니다. 더 보기...
Header: | #include <QAmbientTemperatureReading> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Sensors) target_link_libraries(mytarget PRIVATE Qt6::Sensors) |
qmake: | QT += sensors |
상속합니다: | QSensorReading |
속성
- temperature : const qreal
공공 기능
void | setTemperature(qreal temperature) |
qreal | temperature() const |
속성 문서
[read-only]
temperature : const qreal
이 속성은 주변 온도를 유지합니다.
섭씨 단위로 측정됩니다.
함수에 액세스합니다:
qreal | temperature() const |
멤버 함수 문서
void QAmbientTemperatureReading::setTemperature(qreal temperature)
주변 온도를 temperature 로 설정합니다.
temperature()도 참조하세요 .
© 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.