blob: 1ee03de39473e7958f955bf39540d5f58f6dd455 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import QtQuick 2.0
Row {
property real rating: 0
property int size: 32
Repeater {
model: Math.ceil(rating)
Image {
source: "star.png"
width: size
height: size
}
}
}
|