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 /ConfirmPassword.qml | |
parent | 7362b70f98e88f6a4118f79744c6f358abd730de (diff) |
Replaced UIs whose replacements are ready in Larva
and reorganise logical QML files
Diffstat (limited to 'ConfirmPassword.qml')
-rw-r--r-- | ConfirmPassword.qml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/ConfirmPassword.qml b/ConfirmPassword.qml new file mode 100644 index 0000000..88618a3 --- /dev/null +++ b/ConfirmPassword.qml @@ -0,0 +1,28 @@ +import QtQuick 2.12 +import KelakonUser 0.1 +import "pages" + +PasswordForm { + backButton { + icon.source: "larva/components/icons/arrow-back-24px.svg" + onClicked: pageView.pop() + } + + userEmail.y: 292 + passImage.source: "larva/components/icons/lock-24px.svg" + instructionLabel.text: qsTr("Re-Enter password") + emailAddressLabel.text: User.name + + passTextField { + placeholderText: qsTr("Re-enter Password") + onTextChanged: + if (passTextField.text == User.password) + createPassButton.enabled = true + } + + createPassButton { + enabled: false + text: qsTr("Confirm password") + onClicked: pageView.push("CreateProfile.qml") + } +} |