summaryrefslogtreecommitdiff
path: root/shop/cart
diff options
context:
space:
mode:
authorErik Prabowo Kamal <erik@darapsa.org>2025-12-12 17:39:13 +0800
committerErik Prabowo Kamal <erik@darapsa.org>2025-12-12 17:39:13 +0800
commitb0e61967f50b075928028502a9308cc94e06d105 (patch)
treeb36064a788420db475c8702e06c4873bcb1a3bdb /shop/cart
parentb2c5da1d29ceeb8ce0dcf08d6ed78eb00793a8d0 (diff)
Capitalise shop & cart folder initial letters
and reindent as needed.
Diffstat (limited to 'shop/cart')
-rw-r--r--shop/cart/CartTotal.ui.qml156
1 files changed, 0 insertions, 156 deletions
diff --git a/shop/cart/CartTotal.ui.qml b/shop/cart/CartTotal.ui.qml
deleted file mode 100644
index f7ff2ba..0000000
--- a/shop/cart/CartTotal.ui.qml
+++ /dev/null
@@ -1,156 +0,0 @@
-import QtQuick
-import QtQuick.Controls
-import QtQuick.Layouts
-import Qt5Compat.GraphicalEffects
-
-Item {
- id: cartTotal
- DropShadow {
- color: "#4d000000"
- source: cartTotalCard
- verticalOffset: 4
- radius: 40
- samples: 81
- anchors.fill: cartTotalCard
- }
- Rectangle {
- id: cartTotalCard
- anchors.fill: parent
- ColumnLayout {
- id: cardBody
- anchors.fill: parent
- spacing: 0
- Label {
- id: title
- color: "#000000"
- text: qsTr("Cart total")
- Layout.rightMargin: 20
- Layout.leftMargin: 20
- Layout.topMargin: 20
- Layout.margins: 8
- Layout.fillHeight: false
- Layout.alignment: Qt.AlignLeft | Qt.AlignTop
- Layout.fillWidth: true
- font.pointSize: 22
- font.styleName: "Medium"
- font.family: "Roboto"
- }
-
- RowLayout {
- id: price
- Layout.rightMargin: 20
- Layout.leftMargin: 20
- Layout.bottomMargin: 0
- Layout.fillHeight: true
- Layout.alignment: Qt.AlignLeft | Qt.AlignTop
- Layout.fillWidth: true
- anchors.top: title.bottom
- anchors.topMargin: 16
- Label {
- color: "#000000"
- text: qsTr("Original price")
- Layout.fillHeight: false
- font.family: "Roboto"
- font.pointSize: 14
- Layout.fillWidth: true
- }
- Label {
- color: "#000000"
- text: qsTr("$500")
- horizontalAlignment: Text.AlignRight
- Layout.fillHeight: false
- font.weight: Font.Medium
- font.pointSize: 14
- Layout.fillWidth: true
- }
- }
-
- RowLayout {
- id: discount
- Layout.rightMargin: 20
- Layout.leftMargin: 20
- Layout.alignment: Qt.AlignLeft | Qt.AlignTop
- Layout.fillWidth: true
- anchors.top: price.bottom
- anchors.topMargin: 16
- Label {
- color: "#000000"
- text: qsTr("Coupon discount")
- Layout.fillHeight: false
- Layout.fillWidth: true
- font.family: "Roboto"
- font.pointSize: 14
- }
- Label {
- color: "#000000"
- text: qsTr("-$500")
- horizontalAlignment: Text.AlignRight
- Layout.fillHeight: false
- Layout.fillWidth: true
- font.weight: Font.Medium
- }
- }
-
- RowLayout {
- id: total
- Layout.rightMargin: 20
- Layout.leftMargin: 20
- Layout.alignment: Qt.AlignLeft | Qt.AlignTop
- Layout.fillWidth: true
- anchors.top: discount.bottom
- Label {
- color: "#000000"
- text: qsTr("Total")
- Layout.fillHeight: false
- font.family: "Roboto"
- font.styleName: "Medium"
- font.pointSize: 22
- Layout.fillWidth: true
- }
- Label {
- color: "#000000"
- text: qsTr("$480")
- horizontalAlignment: Text.AlignRight
- Layout.fillHeight: false
- font.styleName: "Medium"
- font.pointSize: 22
- font.family: "Roboto"
- Layout.fillWidth: true
- }
- }
-
- Button {
- id: proceedButton
- text: qsTr("Proceed to checkout")
- Layout.rightMargin: 20
- Layout.leftMargin: 20
- Layout.fillHeight: false
- anchors.top: total.bottom
- anchors.topMargin: 16
- Layout.topMargin: 0
- font.weight: Font.Medium
- font.pointSize: 14
- font.family: "Roboto"
- Layout.fillWidth: true
- flat: false
- display: AbstractButton.TextOnly
- }
-
- Label {
- id: consent
- color: "#80000000"
- text: "By completing your purchase, you agree to these Terms of Service"
- wrapMode: Text.Wrap
- anchors.topMargin: 16
- Layout.bottomMargin: 20
- Layout.rightMargin: 20
- Layout.leftMargin: 20
- Layout.fillHeight: false
- Layout.fillWidth: true
- anchors.top: proceedButton.bottom
- font.pointSize: 12
- font.family: "Roboto"
- }
- }
- }
-}