mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
Added option to hide passwords in preferences
- after you show passwords, it is now possible to hide them again - no more need to close preferences dialog
This commit is contained in:
parent
b88bfd46c7
commit
a3898e48c0
Binary file not shown.
@ -64,8 +64,20 @@ void AutoFillManager::loadPasswords()
|
||||
void AutoFillManager::showPasswords()
|
||||
{
|
||||
if (m_passwordsShown) {
|
||||
for (int i = 0; i < ui->treePass->topLevelItemCount(); i++) {
|
||||
QTreeWidgetItem* item = ui->treePass->topLevelItem(i);
|
||||
if (!item) {
|
||||
continue;
|
||||
}
|
||||
item->setText(2, "*****");
|
||||
}
|
||||
|
||||
ui->showPasswords->setText(tr("Show Passwords"));
|
||||
m_passwordsShown = false;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
m_passwordsShown = true;
|
||||
|
||||
int result = QMessageBox::question(this, tr("Show Passwords"), tr("Are you sure that you want to show all passwords?"),
|
||||
@ -82,8 +94,7 @@ void AutoFillManager::showPasswords()
|
||||
item->setText(2, item->whatsThis(1));
|
||||
}
|
||||
|
||||
ui->showPasswords->hide();
|
||||
delete ui->showPasswordsLayout;
|
||||
ui->showPasswords->setText(tr("Hide Passwords"));
|
||||
}
|
||||
|
||||
void AutoFillManager::removePass()
|
||||
|
@ -262,7 +262,8 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.ui" line="111"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="71"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="75"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="83"/>
|
||||
<source>Show Passwords</source>
|
||||
<translation>Zobrazit hesla</translation>
|
||||
</message>
|
||||
@ -272,27 +273,32 @@
|
||||
<translation>Vyjímky</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="71"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="83"/>
|
||||
<source>Are you sure that you want to show all passwords?</source>
|
||||
<translation>Jste si jistí že chcete zobrazit všechna hesla?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="104"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="97"/>
|
||||
<source>Hide Passwords</source>
|
||||
<translation>Skrýt hesla</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="115"/>
|
||||
<source>Confirmation</source>
|
||||
<translation>Potvrzení</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="105"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="116"/>
|
||||
<source>Are you sure to delete all passwords on your computer?</source>
|
||||
<translation>Opravdu si přejete smazat všechna hesla?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="123"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="134"/>
|
||||
<source>Edit password</source>
|
||||
<translation>Upravit heslo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="123"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="134"/>
|
||||
<source>Change password:</source>
|
||||
<translation>Změnit heslo:</translation>
|
||||
</message>
|
||||
@ -302,7 +308,7 @@
|
||||
<message>
|
||||
<location filename="../src/autofill/autofillnotification.cpp" line="35"/>
|
||||
<source>Do you want QupZilla to remember password for <b>%1</b> on %2?</source>
|
||||
<translation>Chcete aby si QupZilla zapamatovala heslo pro <b>%1<b> na %2?</translation>
|
||||
<translation>Chcete aby si QupZilla zapamatovala heslo pro <b>%1</b> na %2?</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
|
@ -262,7 +262,8 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.ui" line="111"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="71"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="75"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="83"/>
|
||||
<source>Show Passwords</source>
|
||||
<translation>Passwörter im Klartext anzeigen</translation>
|
||||
</message>
|
||||
@ -272,27 +273,32 @@
|
||||
<translation>Ausnahmen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="71"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="83"/>
|
||||
<source>Are you sure that you want to show all passwords?</source>
|
||||
<translation>Sind Sie sicher, dass Sie alle Passwörter im Klartext anzeigen wollen?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="104"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="97"/>
|
||||
<source>Hide Passwords</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="115"/>
|
||||
<source>Confirmation</source>
|
||||
<translation>Bestätigung</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="105"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="116"/>
|
||||
<source>Are you sure to delete all passwords on your computer?</source>
|
||||
<translation>Möchten Sie wirklich alle Passwörter auf diesem Computer löschen?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="123"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="134"/>
|
||||
<source>Edit password</source>
|
||||
<translation>Passwort bearbeiten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="123"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="134"/>
|
||||
<source>Change password:</source>
|
||||
<translation>Passwort ändern:</translation>
|
||||
</message>
|
||||
|
@ -262,7 +262,8 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.ui" line="111"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="71"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="75"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="83"/>
|
||||
<source>Show Passwords</source>
|
||||
<translation>Mostras contraseñas</translation>
|
||||
</message>
|
||||
@ -272,27 +273,32 @@
|
||||
<translation>Excepciones</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="71"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="83"/>
|
||||
<source>Are you sure that you want to show all passwords?</source>
|
||||
<translation>¿Está seguro que desea mostrar todas las contraseñas?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="104"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="97"/>
|
||||
<source>Hide Passwords</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="115"/>
|
||||
<source>Confirmation</source>
|
||||
<translation>Confirmación</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="105"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="116"/>
|
||||
<source>Are you sure to delete all passwords on your computer?</source>
|
||||
<translation>¿Está seguro de elimiar todas las contraseñas de su ordenador?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="123"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="134"/>
|
||||
<source>Edit password</source>
|
||||
<translation>Editar contraseña</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="123"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="134"/>
|
||||
<source>Change password:</source>
|
||||
<translation>Cambiar contraseña:</translation>
|
||||
</message>
|
||||
|
@ -262,7 +262,8 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.ui" line="111"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="71"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="75"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="83"/>
|
||||
<source>Show Passwords</source>
|
||||
<translation>Mostra le password</translation>
|
||||
</message>
|
||||
@ -272,27 +273,32 @@
|
||||
<translation>Eccezioni</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="71"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="83"/>
|
||||
<source>Are you sure that you want to show all passwords?</source>
|
||||
<translation>Sei sicuro di voler mostrare tutte le password?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="104"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="97"/>
|
||||
<source>Hide Passwords</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="115"/>
|
||||
<source>Confirmation</source>
|
||||
<translation>Conferma</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="105"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="116"/>
|
||||
<source>Are you sure to delete all passwords on your computer?</source>
|
||||
<translation>Sei sicuro di voler cancellare tutte le password presenti sul tuo computer?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="123"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="134"/>
|
||||
<source>Edit password</source>
|
||||
<translation>Modifica password</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="123"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="134"/>
|
||||
<source>Change password:</source>
|
||||
<translation>Cambia password:</translation>
|
||||
</message>
|
||||
|
@ -262,7 +262,8 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.ui" line="111"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="71"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="75"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="83"/>
|
||||
<source>Show Passwords</source>
|
||||
<translation>Toon wachtwoorden</translation>
|
||||
</message>
|
||||
@ -272,27 +273,32 @@
|
||||
<translation>Uitzonderingen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="71"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="83"/>
|
||||
<source>Are you sure that you want to show all passwords?</source>
|
||||
<translation>Weet u zeker dat u alle wachtwoorden wilt tonen?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="104"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="97"/>
|
||||
<source>Hide Passwords</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="115"/>
|
||||
<source>Confirmation</source>
|
||||
<translation>Bevestiging</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="105"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="116"/>
|
||||
<source>Are you sure to delete all passwords on your computer?</source>
|
||||
<translation>Weet u zeker dat u alle wachtwoorden op uw computer wilt verwijderen?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="123"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="134"/>
|
||||
<source>Edit password</source>
|
||||
<translation>Bewerk wachtwoord</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="123"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="134"/>
|
||||
<source>Change password:</source>
|
||||
<translation>Verander wachtwoord:</translation>
|
||||
</message>
|
||||
|
@ -262,7 +262,8 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.ui" line="111"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="71"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="75"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="83"/>
|
||||
<source>Show Passwords</source>
|
||||
<translation>Zobraziť heslo</translation>
|
||||
</message>
|
||||
@ -272,27 +273,32 @@
|
||||
<translation>Výnimky</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="71"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="83"/>
|
||||
<source>Are you sure that you want to show all passwords?</source>
|
||||
<translation>Ste si istý, že chcete zobraziť všetky heslá?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="104"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="97"/>
|
||||
<source>Hide Passwords</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="115"/>
|
||||
<source>Confirmation</source>
|
||||
<translation>Potvrdenie</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="105"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="116"/>
|
||||
<source>Are you sure to delete all passwords on your computer?</source>
|
||||
<translation>Ste si istý, že chcete vymazať všetky heslá vo vašom počítači?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="123"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="134"/>
|
||||
<source>Edit password</source>
|
||||
<translation>Upraviť heslo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="123"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="134"/>
|
||||
<source>Change password:</source>
|
||||
<translation>Zmeniť heslo:</translation>
|
||||
</message>
|
||||
|
@ -262,7 +262,8 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.ui" line="111"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="71"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="75"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="83"/>
|
||||
<source>Show Passwords</source>
|
||||
<translation>显示密码</translation>
|
||||
</message>
|
||||
@ -272,27 +273,32 @@
|
||||
<translation>例外</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="71"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="83"/>
|
||||
<source>Are you sure that you want to show all passwords?</source>
|
||||
<translation>确定要显示所有密码?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="104"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="97"/>
|
||||
<source>Hide Passwords</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="115"/>
|
||||
<source>Confirmation</source>
|
||||
<translation>确认</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="105"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="116"/>
|
||||
<source>Are you sure to delete all passwords on your computer?</source>
|
||||
<translation>你确定要删除计算机上的所有密码吗?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="123"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="134"/>
|
||||
<source>Edit password</source>
|
||||
<translation>编辑密码</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="123"/>
|
||||
<location filename="../src/preferences/autofillmanager.cpp" line="134"/>
|
||||
<source>Change password:</source>
|
||||
<translation>改变密码:</translation>
|
||||
</message>
|
||||
|
Loading…
Reference in New Issue
Block a user