ratings QML Value Type

评级类型保存地点评级信息。更多

Import Statement: import QtLocation 6.9
Since: QtLocation 6.5

属性

详细说明

评级信息用于描述一个地方的好坏程度。通常情况下,这些信息以星级的形式显示。average 属性给出了一个综合评分值,该值为ratings::maximum 属性给出的可能最大值。

属性文档

average : real

该属性表示单个评分的平均值。

另请参阅 maximum


count : int

该属性保存用于确定总体评分的单个用户评分总数average


maximum : real

该属性保存最大评分值。


© 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.