PressureReading QML Type
PressureReading 元素存储了最新的PressureSensor 读数。更多内容...
| Import Statement: | import QtSensors |
| Since: | QtSensors 5.1 |
| Inherits: |
属性
- pressure : real
- temperature : real
(since QtSensors 5.2)
详细说明
PressureReading 元素存储了最新的PressureSensor 读数。
该元素封装了QPressureReading 类。详情请参阅QPressureReading 的文档。
此元素无法直接创建。
属性文档
pressure : real
该属性存储以帕斯卡为单位的大气压值。
有关此属性的信息,请参阅QPressureReading::pressure 。
temperature : real [since QtSensors 5.2]
该属性存储压力传感器的温度值(单位为摄氏度)。
有关此属性的信息,请参阅QPressureReading::temperature 。
该属性于 QtSensors 5.2 版本中引入。
© 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.