RatingsThe Ratings element holds place rating information. More... Inherits QtObject This type was introduced in Qt Location 5.0. PropertiesDetailed DescriptionRating information is used to describe how good a place is conceived to be. Typically this information is visualized as a number of stars. The average property gives an aggregated ratings value out of a possible maximum as given by the maximum property. import QtQuick 2.0 import QtLocation 5.0 Text { text: "This place is rated " + place.ratings.average + " out of " + place.ratings.maximum + " stars." } Property DocumentationThis property holds the total number of individual user ratings used in determining the overall ratings average. This property holds the maximum rating value. For details on how to use this property to interface between C++ and QML see "Interfaces between C++ and QML Code". |