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 --- LoginPassword.qml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 LoginPassword.qml (limited to 'LoginPassword.qml') diff --git a/LoginPassword.qml b/LoginPassword.qml new file mode 100644 index 0000000..5e510d2 --- /dev/null +++ b/LoginPassword.qml @@ -0,0 +1,20 @@ +import QtQuick 2.12 +import KelakonUser 0.1 +import "larva/features" + +LoginPasswordForm { + emailTextLabel.text: User.name + + passwordTextField.onTextChanged: { + if (!passwordTextField.text || !continueButton.enabled) + continueButton.enabled = !continueButton.enabled + } + + continueButton { + icon.source: "assets/arrow-forward-24px.svg" + onClicked: { + User.password = passwordTextField.text + onClicked: onboarding.logIn(User.name, User.password) + } + } +} -- cgit v1.2.3