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