blob: 614891cad2835dfc368f1082eab8c7c2ba3c5fb3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
import QtQuick 2.12
import KelakonUser 0.1
PasswordForm {
width: stackView.width
height: stackView.height
backButton.onClicked: stackView.pop()
userEmail.y: 292
instructionLabel.text: qsTr("Re-Enter password")
emailAddressLabel.text: User.name
passTextField {
placeholderText: qsTr("Re-enter Password")
onTextChanged:
if (!passTextField.text || !createPassButton.enabled)
createPassButton.enabled = !createPassButton.enabled
}
createPassButton {
text: qsTr("Confirm password")
onClicked: {
login.logIn(User.name, User.password)
stackView.push("qrc:/pages/CreateProfile.qml")
}
}
}
|