All Classes Functions Properties
PreviewRatingDisplay Class Reference

Preview widget for rating display. More...

Inheritance diagram for PreviewRatingDisplay:
[legend]
Collaboration diagram for PreviewRatingDisplay:
[legend]

## Additional Inherited Members

Signals inherited from PreviewWidget
void | triggered (string widgetId, string actionId, var data)
| This signal should be emitted when a preview action was triggered. More...
Properties inherited from PreviewWidget
bool | isCurrentPreview
| Specifies the preview widget being currently used or not.
string | widgetId
| The widget identifier.
var | widgetData
| Variable used to contain widget's data.

## Detailed Description

Preview widget for rating display.

The widget can show a rating widget and a field showing a comment. The icons used in the rating widget can be customised with widgetData["rating-icon-empty"], widgetData["rating-icon-full"] and widgetData["rating-icon-half"].

This widget shows reviews contained in widgetData["reviews"], each of which should be of the form:

{
"rating": null,
"review": null,
"author": null
}

Definition at line 33 of file PreviewRatingDisplay.qml.

The documentation for this class was generated from the following file:

- qml/Dash/Previews/PreviewRatingDisplay.qml