qml: Use regular password field

But, as a consideration for users wanting to verify their password, add a 2s dwell time before the characters are masked. This timeout is prematurely terminated in the event that you enter another key.
This commit is contained in:
Tom Dewey 2023-12-18 16:20:56 +00:00 committed by Tom Dewey
parent 9b15f7909b
commit 23eadf9afe

View file

@ -153,7 +153,8 @@ Window {
}
TextField {
id: fieldUserPassword
echoMode: TextInput.PasswordEchoOnEdit
echoMode: TextInput.Password
passwordMaskDelay: 2000 //ms
Layout.minimumWidth: 200
selectByMouse: true
property bool alreadyCrypted: false