summaryrefslogtreecommitdiff
path: root/Header.ui.qml
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-30 23:04:30 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-30 23:04:30 +0800
commitf65528b4389488e3bdf63d2efd3f3bfbb0217e60 (patch)
treef6f8fc8144ea1f39544c7e2649443eed0e97c286 /Header.ui.qml
parent8f6066427c7a7362e16c7510c0c769c736beb855 (diff)
CartItem now is for the content of MenuItem
so it can be reused for adding Items (instead of Actions) to the cart menu
Diffstat (limited to 'Header.ui.qml')
-rw-r--r--Header.ui.qml10
1 files changed, 9 insertions, 1 deletions
diff --git a/Header.ui.qml b/Header.ui.qml
index 2370c7b..daa2af1 100644
--- a/Header.ui.qml
+++ b/Header.ui.qml
@@ -134,7 +134,15 @@ ToolBar {
width: 256
sourceComponent: background
}
- delegate: CartItem {}
+ delegate: MenuItem {
+ contentItem: CartItem {
+ imageSource: icon.source
+ titleText: text
+ }
+ background: Rectangle {
+ color: "transparent"
+ }
+ }
Lbl.H5 {
text: qsTr("Cart items")