In questa pagina

QAmbientTemperatureReading Class

La classe QAmbientTemperatureReading contiene i valori rilevati della temperatura ambiente. Per saperne di più...

Intestazione: #include <QAmbientTemperatureReading>
CMake: find_package(Qt6 REQUIRED COMPONENTS Sensors)
target_link_libraries(mytarget PRIVATE Qt6::Sensors)
qmake: QT += sensors
Eredita da: QSensorReading

Proprietà

Funzioni pubbliche

void setTemperature(qreal temperature)
qreal temperature() const

Descrizione dettagliata

La temperatura ambiente (della stanza) è espressa in gradi Celsius.

Documentazione delle proprietà

[read-only] temperature : qreal

Questa proprietà indica la temperatura ambiente

misurata in gradi Celsius.

Funzioni di accesso:

qreal temperature() const

Documentazione delle funzioni membro

void QAmbientTemperatureReading::setTemperature(qreal temperature)

Imposta la temperatura ambiente su temperature.

Vedi anche 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.