From 644e2cbf4f289afb8e987fd1e81edeb0951f764f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Fri, 23 Jun 2023 17:16:14 +0800 Subject: 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. --- Home/Default/Card.ui.qml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Home') 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 -- cgit v1.2.3