From 6800e4f2df5bea2f82b55317e38a6d19b01613e3 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: Tue, 3 Jan 2023 17:51:00 +0800 Subject: Sign Up draft --- SignInFlickable.ui.qml | 14 +++++++++ SignUpFlickable.ui.qml | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 99 insertions(+) create mode 100644 SignUpFlickable.ui.qml diff --git a/SignInFlickable.ui.qml b/SignInFlickable.ui.qml index 754b8be..343dc6f 100644 --- a/SignInFlickable.ui.qml +++ b/SignInFlickable.ui.qml @@ -6,6 +6,7 @@ GridLayout { property alias email: email property alias password: password property alias button: button + property alias signUp: signUp ColumnLayout { Layout.margins: 15 @@ -55,5 +56,18 @@ GridLayout { Layout.fillWidth: true } } + + RowLayout { + Layout.alignment: Qt.AlignHCenter + Label { + text: qsTr("Don't have an account?") + } + Text { + id: signUp + text: "Signup here" + linkColor: Qt.rgba(.0235, .416, .788, 1.0) + font.underline: false + } + } } } diff --git a/SignUpFlickable.ui.qml b/SignUpFlickable.ui.qml new file mode 100644 index 0000000..9db756e --- /dev/null +++ b/SignUpFlickable.ui.qml @@ -0,0 +1,85 @@ +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import QtQuick.Layouts 1.15 + +GridLayout { + + ColumnLayout { + Layout.margins: 15 + + ColumnLayout { + + ColumnLayout { + Label { + text: qsTr("Email address *") + } + RowLayout { + Image { + id: envelope + source: "Bootstrap/icons/envelope-fill.svg" + } + TextField { + placeholderText: qsTr("E-mail") + Layout.fillWidth: true + } + } + } + + ColumnLayout { + Label { + text: qsTr("Password *") + } + RowLayout { + Image { + source: "Font-Awesome/svgs/solid/lock.svg" + sourceSize { + width: envelope.height + height: envelope.height + } + } + TextField { + placeholderText: qsTr("password") + Layout.fillWidth: true + } + } + } + + ColumnLayout { + Label { + text: qsTr("Confirm Password *") + } + RowLayout { + Image { + source: "Font-Awesome/svgs/solid/lock.svg" + sourceSize { + width: envelope.height + height: envelope.height + } + } + TextField { + id: password + placeholderText: qsTr("password") + Layout.fillWidth: true + } + } + } + + Button { + text: qsTr("Sign Up") + Layout.fillWidth: true + } + } + + RowLayout { + Layout.alignment: Qt.AlignHCenter + Label { + text: qsTr("Already have an account?") + } + Text { + text: "Sign in here" + linkColor: Qt.rgba(.0235, .416, .788, 1.0) + font.underline: false + } + } + } +} -- cgit v1.2.3