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 --- Password.qml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Password.qml (limited to 'Password.qml') diff --git a/Password.qml b/Password.qml new file mode 100644 index 0000000..6792c1e --- /dev/null +++ b/Password.qml @@ -0,0 +1,23 @@ +import QtQuick 2.12 +import KelakonUser 0.1 +import "pages" + +PasswordForm { + backButton { + icon.source: "larva/components/icons/arrow-back-24px.svg" + onClicked: pageView.pop() + } + + passImage.source: "larva/components/icons/lock-24px.svg" + emailAddressLabel.text: User.name + + passTextField.onTextChanged: { + if (!passTextField.text || !createPassButton.enabled) + createPassButton.enabled = !createPassButton.enabled + } + + createPassButton.onClicked: { + User.password = passTextField.text + pageView.push("ConfirmPassword.qml") + } +} -- cgit v1.2.3