summaryrefslogtreecommitdiff
path: root/Shop
diff options
context:
space:
mode:
Diffstat (limited to 'Shop')
-rw-r--r--Shop/Checkout.ui.qml6
-rw-r--r--Shop/Checkout/PersonalInfo.ui.qml24
-rw-r--r--Shop/Checkout/PersonalInfo/PaymentMethod/NetBanking.ui.qml13
-rw-r--r--Shop/Checkout/RightSidebar/OrderSummary.ui.qml6
-rw-r--r--Shop/Course.ui.qml3
-rw-r--r--Shop/ProductDetail/RightSidebar.ui.qml11
6 files changed, 39 insertions, 24 deletions
diff --git a/Shop/Checkout.ui.qml b/Shop/Checkout.ui.qml
index 84e225c..e500efd 100644
--- a/Shop/Checkout.ui.qml
+++ b/Shop/Checkout.ui.qml
@@ -38,8 +38,9 @@ Flickable {
id: alert
Layout.alignment: Qt.AlignHCenter
- Lbl.Body {
+ Label {
text: qsTr("Already have an account?")
+ wrapMode: Label.Wrap
}
Text {
@@ -119,9 +120,10 @@ Flickable {
Layout.topMargin: 16
}
- Lbl.Body {
+ Label {
text: qsTr("Here is the description of premium features which will allow users to get benefits and save a lot of money")
color: "#ffffff"
+ wrapMode: Label.Wrap
Layout.fillWidth: true
Layout.margins: 16
}
diff --git a/Shop/Checkout/PersonalInfo.ui.qml b/Shop/Checkout/PersonalInfo.ui.qml
index 3bdff82..fe716e8 100644
--- a/Shop/Checkout/PersonalInfo.ui.qml
+++ b/Shop/Checkout/PersonalInfo.ui.qml
@@ -33,8 +33,9 @@ ColumnLayout {
ColumnLayout {
- Body {
+ Label {
text: qsTr("Your name *")
+ wrapMode: Label.Wrap
Layout.fillWidth: true
}
@@ -58,8 +59,9 @@ ColumnLayout {
ColumnLayout {
- Body {
+ Label {
text: qsTr("Email address *")
+ wrapMode: Label.Wrap
Layout.fillWidth: true
}
@@ -83,8 +85,9 @@ ColumnLayout {
ColumnLayout {
- Body {
+ Label {
text: qsTr("Mobile number *")
+ wrapMode: Label.Wrap
Layout.fillWidth: true
}
@@ -109,8 +112,9 @@ ColumnLayout {
ColumnLayout {
- Body {
+ Label {
text: qsTr("Select country *")
+ wrapMode: Label.Wrap
Layout.fillWidth: true
}
Rectangle {
@@ -134,8 +138,9 @@ ColumnLayout {
ColumnLayout {
- Body {
+ Label {
text: qsTr("Select state *")
+ wrapMode: Label.Wrap
Layout.fillWidth: true
}
@@ -160,8 +165,9 @@ ColumnLayout {
ColumnLayout {
- Body {
+ Label {
text: qsTr("Postal code *")
+ wrapMode: Label.Wrap
Layout.fillWidth: true
}
@@ -186,8 +192,9 @@ ColumnLayout {
ColumnLayout {
- Body {
+ Label {
text: qsTr("Address *")
+ wrapMode: Label.Wrap
Layout.fillWidth: true
}
@@ -235,9 +242,10 @@ ColumnLayout {
left: parent.left
right: parent.right
}
- Body {
+ Label {
text:
qsTr("Credit or Debit Card")
+ wrapMode: Label.Wrap
Layout.fillWidth: true
padding: 16
}
diff --git a/Shop/Checkout/PersonalInfo/PaymentMethod/NetBanking.ui.qml b/Shop/Checkout/PersonalInfo/PaymentMethod/NetBanking.ui.qml
index 8200de1..a776ee0 100644
--- a/Shop/Checkout/PersonalInfo/PaymentMethod/NetBanking.ui.qml
+++ b/Shop/Checkout/PersonalInfo/PaymentMethod/NetBanking.ui.qml
@@ -2,14 +2,13 @@ import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
import Eduport 1.4
-import "../../../../Label"
ColumnLayout {
property alias banks: banks
- Body {
- text:
- qsTr("Pay with Net Banking")
+ Label {
+ text: qsTr("Pay with Net Banking")
+ wrapMode: Label.Wrap
Layout.fillWidth: true
Layout.rightMargin: 16
Layout.leftMargin: 16
@@ -19,13 +18,15 @@ ColumnLayout {
ColumnLayout {
Layout.margins: 16
- Body {
+ Label {
text: qsTr("In order to complete your transaction, we will transfer you over to Eduport secure servers.")
+ wrapMode: Label.Wrap
Layout.fillWidth: true
}
- Body {
+ Label {
text: qsTr("Select your bank from the drop-down list and click proceed to continue with your payment.")
+ wrapMode: Label.Wrap
Layout.fillWidth: true
}
diff --git a/Shop/Checkout/RightSidebar/OrderSummary.ui.qml b/Shop/Checkout/RightSidebar/OrderSummary.ui.qml
index 7564106..610a393 100644
--- a/Shop/Checkout/RightSidebar/OrderSummary.ui.qml
+++ b/Shop/Checkout/RightSidebar/OrderSummary.ui.qml
@@ -31,9 +31,10 @@ ColumnLayout {
implicitHeight: codeLabel.implicitHeight
+ codeValue.implicitHeight
- Body {
+ Label {
id: codeLabel
text: qsTr("Transaction code")
+ wrapMode: Label.Wrap
anchors.verticalCenter: parent.verticalCenter
}
@@ -178,9 +179,10 @@ ColumnLayout {
anchors.verticalCenter: parent.verticalCenter
}
- Body {
+ Label {
id: discountValue
text: "-$20"
+ wrapMode: Label.Wrap
anchors {
right: parent.right
verticalCenter: parent.verticalCenter
diff --git a/Shop/Course.ui.qml b/Shop/Course.ui.qml
index 502fbab..5aaf8d0 100644
--- a/Shop/Course.ui.qml
+++ b/Shop/Course.ui.qml
@@ -62,13 +62,14 @@ ColumnLayout {
Item {
Layout.fillWidth: true
Layout.topMargin: 16
- Lbl.Body {
+ Label {
anchors {
top: parent.top
left: parent.left
bottom: parent.bottom
}
text: priceText
+ wrapMode: Label.Wrap
}
}
}
diff --git a/Shop/ProductDetail/RightSidebar.ui.qml b/Shop/ProductDetail/RightSidebar.ui.qml
index 1281876..eccb39f 100644
--- a/Shop/ProductDetail/RightSidebar.ui.qml
+++ b/Shop/ProductDetail/RightSidebar.ui.qml
@@ -33,8 +33,9 @@ ColumnLayout {
fillMode: Image.PreserveAspectFit
}
- Body {
+ Label {
text: "Reviews from our buyers"
+ wrapMode: Label.Wrap
}
}
}
@@ -46,9 +47,9 @@ ColumnLayout {
H4 {
text: "Description"
}
- Body {
+ Label {
text: "Satisfied conveying a dependent contented he gentleman agreeable do be. Warrant private blushes removed an in equally totally if. Delivered dejection necessary objection do Mr prevailed. Mr feeling does chiefly cordial in do. <br><br>We focus a great deal on the understanding of behavioral psychology and influence triggers which are crucial for becoming a well-rounded Digital Marketer. We understand that theory is important to build a solid foundation, we understand that theory alone isn't going to get the job done so that's why this course is packed with practical hands-on examples that you can follow step by step."
- wrapMode: Text.Wrap
+ wrapMode: Label.Wrap
Layout.maximumWidth: parent.width
}
RowLayout {
@@ -56,9 +57,9 @@ ColumnLayout {
text: "Additional info with list group will be here"
}
}
- Body {
+ Label {
text: "Crucial for becoming a well-rounded Digital Marketer. We understand that theory is important to build a solid foundation, we understand that theory alone isn't going to get the job done so that's why this course is packed with practical hands-on examples that you can follow step by step."
- wrapMode: Text.Wrap
+ wrapMode: Label.Wrap
Layout.maximumWidth: parent.width
}
}