18 import Ubuntu.Components 0.1
19 import
"../../Components"
41 height: childrenRect.height
44 anchors { left: parent.left; right: parent.right; }
45 visible: reviewsRepeater.count > 0
49 objectName:
"reviewsRepeater"
54 objectName:
"reviewItem" + index
55 anchors { left: parent.left; right: parent.right;}
62 value: modelData[
"rating"] || -1
66 property var urlIconEmpty: widgetData[
"rating-icon-empty"]
67 property var urlIconFull: widgetData[
"rating-icon-full"]
68 property var urlIconHalf: widgetData[
"rating-icon-half"]
73 objectName:
"authorLabel"
74 anchors { left: parent.left; right: parent.right }
75 color: scopeStyle ? scopeStyle.foreground :
"grey"
77 text: modelData[
"author"] ||
""
84 objectName:
"reviewLabel"
85 anchors { left: parent.left; right: parent.right }
86 color: scopeStyle ? scopeStyle.foreground :
"grey"
88 text: modelData[
"review"] ||
""
95 anchors { left: parent.left; right: parent.right }
97 visible: rating.visible || authorLabel.visible || reviewLabel.visible