|
Unity 8
|
Preview widget for rating display. More...


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. | |
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:
Definition at line 33 of file PreviewRatingDisplay.qml.