mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Simplify the rating widget
CURA-6013
This commit is contained in:
parent
fcaa23ed0a
commit
4d57aa8ea4
2 changed files with 0 additions and 12 deletions
|
|
@ -10,8 +10,6 @@ Item
|
|||
property int indexHovered: -1
|
||||
property string packageId: ""
|
||||
|
||||
property int numRatings: 0
|
||||
|
||||
property int userRating: 0
|
||||
|
||||
signal rated(int rating)
|
||||
|
|
@ -88,14 +86,6 @@ Item
|
|||
onClicked: rated(index + 1) // Notify anyone who cares about this.
|
||||
}
|
||||
}
|
||||
Label
|
||||
{
|
||||
text: "(" + numRatings + ")"
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
height: parent.height
|
||||
color: "#5a5a5a"
|
||||
font: UM.Theme.getFont("small")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue