From b7baeea2ab0f999a755226b79242f78a472d5a80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Thu, 19 Sep 2019 22:15:47 +0800 Subject: Replaced UIs whose replacements are ready in Larva and reorganise logical QML files --- Email.qml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Email.qml (limited to 'Email.qml') diff --git a/Email.qml b/Email.qml new file mode 100644 index 0000000..5ab8953 --- /dev/null +++ b/Email.qml @@ -0,0 +1,22 @@ +import QtQuick 2.12 +import KelakonUser 0.1 +import "pages" + +EmailForm { + backButton { + icon.source: "larva/components/icons/arrow-back-24px.svg" + onClicked: pageView.pop() + } + + emailImage.source: "larva/components/icons/email-24px.svg" + + emailTextField.onTextChanged: { + if (!emailTextField.text || !loginButton.enabled) + loginButton.enabled = !loginButton.enabled + } + + loginButton.onClicked: { + User.emailAddress = emailTextField.text + pageView.push("Password.qml") + } +} -- cgit v1.2.3