0.5.1: il campo Password nelle Impostazioni mostra/nasconde il testo (PasswordField + showEchoModeToggle)
This commit is contained in:
1 parent
e0347c8051
commit
218ea4b424
3 files changed
+10
-5
No files matched your search
@@ -43,13 +43,14 @@ Page {
|
||||
onTextChanged: appSettings.username = text
|
||||
}
|
||||
|
||||
TextField {
|
||||
PasswordField {
|
||||
id: passField
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
label: qsTr("Password")
|
||||
text: appSettings.password
|
||||
echoMode: TextInput.Password
|
||||
// Icona nativa per mostrare/nascondere il testo digitato
|
||||
showEchoModeToggle: true
|
||||
onTextChanged: appSettings.password = text
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user