summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-06-23 17:16:14 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-06-23 17:16:14 +0800
commit644e2cbf4f289afb8e987fd1e81edeb0951f764f (patch)
treea78f3d91fd048c870ecdae9f6f9cd74fb504f5a4
parent2e28e84dd97ff52fc63fe395c069201def4d6f4b (diff)
Alias interface for rating star
In case the app is not ready yet to implement ratings, this can be used to set its visible to false, in order to hide it.
-rw-r--r--Home/Default/Card.ui.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/Home/Default/Card.ui.qml b/Home/Default/Card.ui.qml
index 50f348c..0c418b6 100644
--- a/Home/Default/Card.ui.qml
+++ b/Home/Default/Card.ui.qml
@@ -23,6 +23,7 @@ Item {
property alias titleArea: titleArea
property string truncatedText: "Far advanced settling say finished raillery. Offered chiefly farther"
property bool truncatedVisible: true
+ property alias ratingStar: ratingStar
property real rating: 4.0
DrpShdw.Box {
@@ -154,6 +155,7 @@ Item {
}
RowLayout {
+ id: ratingStar
Repeater {
model: 5