diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-19 22:15:47 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-19 22:15:47 +0800 |
commit | b7baeea2ab0f999a755226b79242f78a472d5a80 (patch) | |
tree | 64a3f77287ca1f4af365ab1d911079bd417ca574 /Email.qml | |
parent | 7362b70f98e88f6a4118f79744c6f358abd730de (diff) |
Replaced UIs whose replacements are ready in Larva
and reorganise logical QML files
Diffstat (limited to 'Email.qml')
-rw-r--r-- | Email.qml | 22 |
1 files changed, 22 insertions, 0 deletions
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") + } +} |