ratings QML Value Type
“评分类型”用于存储位置评分信息。更多内容...
| Import Statement: | import QtLocation 6.12 |
| Since: | QtLocation 6.5 |
属性
详细描述
评分信息用于描述一个场所被认为有多好。通常,这些信息以星级形式呈现。average 属性提供了一个聚合评分值,该值基于ratings::maximum 属性所指定的最高评分。
属性文档
average : real
该属性存储了各项评分的平均值。
另请参阅 maximum 。
count : int
该属性存储了用于确定总体评分(average )的个人用户评分的总数。
maximum : real
该属性存储最大评级值。
© 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.