From 680f327d67558f97505cd0c0f9c95765f143d763 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: Sun, 2 Apr 2023 13:30:36 +0800 Subject: Separate order summary --- OrderSummary.ui.qml | 89 ----------------------------------------------------- 1 file changed, 89 deletions(-) delete mode 100644 OrderSummary.ui.qml (limited to 'OrderSummary.ui.qml') diff --git a/OrderSummary.ui.qml b/OrderSummary.ui.qml deleted file mode 100644 index a877916..0000000 --- a/OrderSummary.ui.qml +++ /dev/null @@ -1,89 +0,0 @@ -import QtQuick 2.15 -import QtQuick.Controls 2.15 -import QtQuick.Layouts 1.15 - -Rectangle { - color: "#ffffff" - radius: 16 - - ColumnLayout { - anchors.fill: parent - anchors.margins: 24 - Label { - id: oderSummaryTitle - text: qsTr("Order Summary") - font.family: "Roboto" - font.weight: Font.Medium - font.pointSize: 16 - Layout.fillWidth: true - Layout.alignment: Qt.AlignTop - } - - RowLayout { - Layout.fillWidth: true - Layout.alignment: Qt.AlignTop - Label { - id: transactionLabel - color: "#6c757d" - text: qsTr("Transaction code") - font.family: "Roboto" - font.weight: Font.Medium - font.pointSize: 16 - Layout.fillWidth: true - } - Label { - id: transactionCode - text: qsTr("B0D123X") - horizontalAlignment: Text.AlignRight - font.family: "Roboto" - font.weight: Font.Medium - font.pointSize: 16 - Layout.fillWidth: true - } - } - - Rectangle { - color: "transparent" - radius: 8 - border.width: 1 - border.color: "#4d000000" - Layout.fillWidth: true - implicitHeight: 40 - RowLayout { - anchors.fill: parent - TextField { - id: couponCode - Layout.fillWidth: true - Layout.fillHeight: true - placeholderText: qsTr("Coupon code") - font.pixelSize: 16 - font.family: "roboto" - placeholderTextColor: "#99000000" - background: Rectangle { - color: "transparent" - } - } - Button { - id: couponButton - contentItem: Text { - color: "#ffffff" - text: "Apply" - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - font.weight: Font.Medium - font.family: "Roboto" - font.pointSize: 14 - rightPadding: 12 - leftPadding: 12 - } - Layout.fillHeight: true - background: Rectangle { - color: "#066ac9" - border.width: 0 - radius: 8 - } - } - } - } - } -} \ No newline at end of file -- cgit v1.2.3