From 05405e9d88b39f72bc6833817fa63b54a6751541 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: Mon, 16 Jan 2023 15:56:43 +0800 Subject: Aliases to the text fields --- CheckoutFlickable.ui.qml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/CheckoutFlickable.ui.qml b/CheckoutFlickable.ui.qml index a3800b5..340904b 100644 --- a/CheckoutFlickable.ui.qml +++ b/CheckoutFlickable.ui.qml @@ -4,6 +4,13 @@ import QtQuick.Layouts 1.15 Flickable { property alias checkoutLogin: login + property alias checkoutName: name + property alias checkoutEmail: email + property alias checkoutMobile: mobile + property alias checkoutCountry: country + property alias checkoutState: state + property alias checkoutPostal: postal + property alias checkoutAddress: address contentHeight: personal.height Item { @@ -36,6 +43,7 @@ Flickable { Layout.fillWidth: true } TextField { + id: name placeholderText: qsTr("Name") Layout.fillWidth: true } @@ -51,6 +59,7 @@ Flickable { Layout.fillWidth: true } TextField { + id: email placeholderText: qsTr("Email") Layout.fillWidth: true } @@ -66,6 +75,7 @@ Flickable { Layout.fillWidth: true } TextField { + id: mobile placeholderText: qsTr("Mobile number") Layout.fillWidth: true } @@ -81,6 +91,7 @@ Flickable { Layout.fillWidth: true } TextField { + id: country placeholderText: qsTr("Select country") Layout.fillWidth: true } @@ -96,6 +107,7 @@ Flickable { Layout.fillWidth: true } TextField { + id: state placeholderText: qsTr("Select state") Layout.fillWidth: true } @@ -111,6 +123,7 @@ Flickable { Layout.fillWidth: true } TextField { + id: postal placeholderText: qsTr("PIN code") Layout.fillWidth: true } @@ -126,6 +139,7 @@ Flickable { Layout.fillWidth: true } TextField { + id: address placeholderText: qsTr("Address") Layout.fillWidth: true } -- cgit v1.2.3