diff options
30 files changed, 59 insertions, 28 deletions
diff --git a/icons/hide.svg b/icons/hide.svg new file mode 100644 index 00000000..9850f75c --- /dev/null +++ b/icons/hide.svg @@ -0,0 +1 @@ +<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 -256 1850 1850"><path d="M585.373 1013.339l78-141q-87-63-136-159t-49-203q0-121 61-225-229 117-381 353 167 258 427 375zm389-759q0-20-14-34t-34-14q-125 0-214.5 89.5t-89.5 214.5q0 20 14 34t34 14q20 0 34-14t14-34q0-86 61-147t147-61q20 0 34-14t14-34zm363-191q0 7-1 9-105 188-315 566t-316 567l-49 89q-10 16-28 16-12 0-134-70-16-10-16-28 0-12 44-87-143-65-263.5-173t-208.5-245q-20-31-20-69t20-69q153-235 380-371t496-136q89 0 180 17l54-97q10-16 28-16 5 0 18 6t31 15.5q18 9.5 33 18.5t31.5 18.5q16.5 9.5 19.5 11.5 16 10 16 27zm37 447q0 139-79 253.5t-209 164.5l280-502q8 45 8 84zm448 128q0 35-20 69-39 64-109 145-150 172-347.5 267t-419.5 95l74-132q212-18 392.5-137t301.5-307q-115-179-282-294l63-112q95 64 182.5 153t144.5 184q20 34 20 69z" fill="currentColor"/></svg> diff --git a/localization/localization_ar_MA.ts b/localization/localization_ar_MA.ts index 5827eb3d..db75503c 100644 --- a/localization/localization_ar_MA.ts +++ b/localization/localization_ar_MA.ts @@ -674,7 +674,7 @@ Expire-Date: 0 </message> <message> <location filename="../src/mainwindow.cpp" line="393"/> - <location filename="../src/mainwindow.cpp" line="1094"/> + <location filename="../src/mainwindow.cpp" line="1093"/> <source>Password</source> <translation type="unfinished"></translation> </message> diff --git a/localization/localization_ca.ts b/localization/localization_ca.ts index 0138204c..ce23ef40 100644 --- a/localization/localization_ca.ts +++ b/localization/localization_ca.ts @@ -831,7 +831,7 @@ p, li { white-space: pre-wrap; } </message> <message> <location filename="../src/mainwindow.cpp" line="393"/> - <location filename="../src/mainwindow.cpp" line="1094"/> + <location filename="../src/mainwindow.cpp" line="1093"/> <source>Password</source> <translation>Contrasenya</translation> </message> diff --git a/localization/localization_cs_CZ.ts b/localization/localization_cs_CZ.ts index 9420b3f2..aca37b6b 100644 --- a/localization/localization_cs_CZ.ts +++ b/localization/localization_cs_CZ.ts @@ -757,7 +757,7 @@ Expire-Date: 0 </message> <message> <location filename="../src/mainwindow.cpp" line="393"/> - <location filename="../src/mainwindow.cpp" line="1094"/> + <location filename="../src/mainwindow.cpp" line="1093"/> <source>Password</source> <translation>Heslo</translation> </message> diff --git a/localization/localization_de_DE.ts b/localization/localization_de_DE.ts index 140e3d44..5809ae9d 100644 --- a/localization/localization_de_DE.ts +++ b/localization/localization_de_DE.ts @@ -759,7 +759,7 @@ Expire-Date: 0 </message> <message> <location filename="../src/mainwindow.cpp" line="393"/> - <location filename="../src/mainwindow.cpp" line="1094"/> + <location filename="../src/mainwindow.cpp" line="1093"/> <source>Password</source> <translation>Kennwort</translation> </message> diff --git a/localization/localization_de_LU.ts b/localization/localization_de_LU.ts index 446148ed..0a4c9b38 100644 --- a/localization/localization_de_LU.ts +++ b/localization/localization_de_LU.ts @@ -743,7 +743,7 @@ Expire-Date: 0 </message> <message> <location filename="../src/mainwindow.cpp" line="393"/> - <location filename="../src/mainwindow.cpp" line="1094"/> + <location filename="../src/mainwindow.cpp" line="1093"/> <source>Password</source> <translation>Passwort</translation> </message> diff --git a/localization/localization_el_GR.ts b/localization/localization_el_GR.ts index 1ecf4a28..177fd15e 100644 --- a/localization/localization_el_GR.ts +++ b/localization/localization_el_GR.ts @@ -699,7 +699,7 @@ Expire-Date: 0 </message> <message> <location filename="../src/mainwindow.cpp" line="393"/> - <location filename="../src/mainwindow.cpp" line="1094"/> + <location filename="../src/mainwindow.cpp" line="1093"/> <source>Password</source> <translation>Κωδικός Πρόσβασης</translation> </message> diff --git a/localization/localization_en_GB.ts b/localization/localization_en_GB.ts index 9ca059a2..1b4ee4bd 100644 --- a/localization/localization_en_GB.ts +++ b/localization/localization_en_GB.ts @@ -831,7 +831,7 @@ p, li { white-space: pre-wrap; } </message> <message> <location filename="../src/mainwindow.cpp" line="393"/> - <location filename="../src/mainwindow.cpp" line="1094"/> + <location filename="../src/mainwindow.cpp" line="1093"/> <source>Password</source> <translation>Password</translation> </message> diff --git a/localization/localization_en_US.ts b/localization/localization_en_US.ts index 67369b78..d254dbb0 100644 --- a/localization/localization_en_US.ts +++ b/localization/localization_en_US.ts @@ -831,7 +831,7 @@ p, li { white-space: pre-wrap; } </message> <message> <location filename="../src/mainwindow.cpp" line="393"/> - <location filename="../src/mainwindow.cpp" line="1094"/> + <location filename="../src/mainwindow.cpp" line="1093"/> <source>Password</source> <translation>Password</translation> </message> diff --git a/localization/localization_es_ES.ts b/localization/localization_es_ES.ts index ac15d44d..48b2867c 100644 --- a/localization/localization_es_ES.ts +++ b/localization/localization_es_ES.ts @@ -677,7 +677,7 @@ Expire-Date: 0 </message> <message> <location filename="../src/mainwindow.cpp" line="393"/> - <location filename="../src/mainwindow.cpp" line="1094"/> + <location filename="../src/mainwindow.cpp" line="1093"/> <source>Password</source> <translation>Contraseña</translation> </message> diff --git a/localization/localization_fr_BE.ts b/localization/localization_fr_BE.ts index cb9533e3..07e801db 100644 --- a/localization/localization_fr_BE.ts +++ b/localization/localization_fr_BE.ts @@ -770,7 +770,7 @@ Expire-Date: 0 </message> <message> <location filename="../src/mainwindow.cpp" line="393"/> - <location filename="../src/mainwindow.cpp" line="1094"/> + <location filename="../src/mainwindow.cpp" line="1093"/> <source>Password</source> <translation>Mot de passe</translation> </message> diff --git a/localization/localization_fr_FR.ts b/localization/localization_fr_FR.ts index 3d8733e9..cd82235e 100644 --- a/localization/localization_fr_FR.ts +++ b/localization/localization_fr_FR.ts @@ -770,7 +770,7 @@ Expire-Date: 0 </message> <message> <location filename="../src/mainwindow.cpp" line="393"/> - <location filename="../src/mainwindow.cpp" line="1094"/> + <location filename="../src/mainwindow.cpp" line="1093"/> <source>Password</source> <translation>Mot de passe</translation> </message> diff --git a/localization/localization_fr_LU.ts b/localization/localization_fr_LU.ts index b65d0ac5..263b5f2c 100644 --- a/localization/localization_fr_LU.ts +++ b/localization/localization_fr_LU.ts @@ -770,7 +770,7 @@ Expire-Date: 0 </message> <message> <location filename="../src/mainwindow.cpp" line="393"/> - <location filename="../src/mainwindow.cpp" line="1094"/> + <location filename="../src/mainwindow.cpp" line="1093"/> <source>Password</source> <translation>Mot de passe</translation> </message> diff --git a/localization/localization_gl_ES.ts b/localization/localization_gl_ES.ts index acb40e6f..8a106b17 100644 --- a/localization/localization_gl_ES.ts +++ b/localization/localization_gl_ES.ts @@ -821,7 +821,7 @@ p, li { white-space: pre-wrap; } </message> <message> <location filename="../src/mainwindow.cpp" line="393"/> - <location filename="../src/mainwindow.cpp" line="1094"/> + <location filename="../src/mainwindow.cpp" line="1093"/> <source>Password</source> <translation type="unfinished"></translation> </message> diff --git a/localization/localization_he_IL.ts b/localization/localization_he_IL.ts index e90cc84c..4d4d0c95 100644 --- a/localization/localization_he_IL.ts +++ b/localization/localization_he_IL.ts @@ -678,7 +678,7 @@ Expire-Date: 0 </message> <message> <location filename="../src/mainwindow.cpp" line="393"/> - <location filename="../src/mainwindow.cpp" line="1094"/> + <location filename="../src/mainwindow.cpp" line="1093"/> <source>Password</source> <translation type="unfinished"></translation> </message> diff --git a/localization/localization_hr.ts b/localization/localization_hr.ts index 10f9c2d4..be278758 100644 --- a/localization/localization_hr.ts +++ b/localization/localization_hr.ts @@ -831,7 +831,7 @@ p, li { white-space: pre-wrap; } </message> <message> <location filename="../src/mainwindow.cpp" line="393"/> - <location filename="../src/mainwindow.cpp" line="1094"/> + <location filename="../src/mainwindow.cpp" line="1093"/> <source>Password</source> <translation>Lozinka</translation> </message> diff --git a/localization/localization_hu_HU.ts b/localization/localization_hu_HU.ts index 4129d4af..58c8f02f 100644 --- a/localization/localization_hu_HU.ts +++ b/localization/localization_hu_HU.ts @@ -781,7 +781,7 @@ Lejárat-dátum: 0 </message> <message> <location filename="../src/mainwindow.cpp" line="393"/> - <location filename="../src/mainwindow.cpp" line="1094"/> + <location filename="../src/mainwindow.cpp" line="1093"/> <source>Password</source> <translation>Jelszó</translation> </message> diff --git a/localization/localization_it_IT.ts b/localization/localization_it_IT.ts index 7448226b..afe147b4 100644 --- a/localization/localization_it_IT.ts +++ b/localization/localization_it_IT.ts @@ -842,7 +842,7 @@ p, li { white-space: pre-wrap; } </message> <message> <location filename="../src/mainwindow.cpp" line="393"/> - <location filename="../src/mainwindow.cpp" line="1094"/> + <location filename="../src/mainwindow.cpp" line="1093"/> <source>Password</source> <translation>Password</translation> </message> diff --git a/localization/localization_lb_LU.ts b/localization/localization_lb_LU.ts index 987352b8..d37ef16c 100644 --- a/localization/localization_lb_LU.ts +++ b/localization/localization_lb_LU.ts @@ -695,7 +695,7 @@ Expire-Date: 0 </message> <message> <location filename="../src/mainwindow.cpp" line="393"/> - <location filename="../src/mainwindow.cpp" line="1094"/> + <location filename="../src/mainwindow.cpp" line="1093"/> <source>Password</source> <translation>Passwuert</translation> </message> diff --git a/localization/localization_nb_NO.ts b/localization/localization_nb_NO.ts index 18b8a5c1..4058eca1 100644 --- a/localization/localization_nb_NO.ts +++ b/localization/localization_nb_NO.ts @@ -686,7 +686,7 @@ Expire-Date: 0 </message> <message> <location filename="../src/mainwindow.cpp" line="393"/> - <location filename="../src/mainwindow.cpp" line="1094"/> + <location filename="../src/mainwindow.cpp" line="1093"/> <source>Password</source> <translation>Passord</translation> </message> diff --git a/localization/localization_nl_BE.ts b/localization/localization_nl_BE.ts index f526dd80..c52ca875 100644 --- a/localization/localization_nl_BE.ts +++ b/localization/localization_nl_BE.ts @@ -828,7 +828,7 @@ p, li { white-space: pre-wrap; } </message> <message> <location filename="../src/mainwindow.cpp" line="393"/> - <location filename="../src/mainwindow.cpp" line="1094"/> + <location filename="../src/mainwindow.cpp" line="1093"/> <source>Password</source> <translation>Wachtwoord</translation> </message> diff --git a/localization/localization_nl_NL.ts b/localization/localization_nl_NL.ts index 9f709b70..4b339085 100644 --- a/localization/localization_nl_NL.ts +++ b/localization/localization_nl_NL.ts @@ -828,7 +828,7 @@ p, li { white-space: pre-wrap; } </message> <message> <location filename="../src/mainwindow.cpp" line="393"/> - <location filename="../src/mainwindow.cpp" line="1094"/> + <location filename="../src/mainwindow.cpp" line="1093"/> <source>Password</source> <translation>Wachtwoord</translation> </message> diff --git a/localization/localization_pl_PL.ts b/localization/localization_pl_PL.ts index 7610ef53..64859e1b 100644 --- a/localization/localization_pl_PL.ts +++ b/localization/localization_pl_PL.ts @@ -678,7 +678,7 @@ Expire-Date: 0 </message> <message> <location filename="../src/mainwindow.cpp" line="393"/> - <location filename="../src/mainwindow.cpp" line="1094"/> + <location filename="../src/mainwindow.cpp" line="1093"/> <source>Password</source> <translation type="unfinished"></translation> </message> diff --git a/localization/localization_pt_PT.ts b/localization/localization_pt_PT.ts index 248d6cb2..cfa44019 100644 --- a/localization/localization_pt_PT.ts +++ b/localization/localization_pt_PT.ts @@ -748,7 +748,7 @@ p, li { white-space: pre-wrap; } </message> <message> <location filename="../src/mainwindow.cpp" line="393"/> - <location filename="../src/mainwindow.cpp" line="1094"/> + <location filename="../src/mainwindow.cpp" line="1093"/> <source>Password</source> <translation>Password</translation> </message> diff --git a/localization/localization_ru_RU.ts b/localization/localization_ru_RU.ts index a1273832..d58760fe 100644 --- a/localization/localization_ru_RU.ts +++ b/localization/localization_ru_RU.ts @@ -756,7 +756,7 @@ Expire-Date: 0 </message> <message> <location filename="../src/mainwindow.cpp" line="393"/> - <location filename="../src/mainwindow.cpp" line="1094"/> + <location filename="../src/mainwindow.cpp" line="1093"/> <source>Password</source> <translation>Пароль</translation> </message> diff --git a/localization/localization_sq_AL.ts b/localization/localization_sq_AL.ts index 398d2a46..444a623e 100644 --- a/localization/localization_sq_AL.ts +++ b/localization/localization_sq_AL.ts @@ -704,7 +704,7 @@ Expire-Date: 0 </message> <message> <location filename="../src/mainwindow.cpp" line="393"/> - <location filename="../src/mainwindow.cpp" line="1094"/> + <location filename="../src/mainwindow.cpp" line="1093"/> <source>Password</source> <translation>Fjalëkalim</translation> </message> diff --git a/localization/localization_sv_SE.ts b/localization/localization_sv_SE.ts index 930f3d0b..fcd6bea9 100644 --- a/localization/localization_sv_SE.ts +++ b/localization/localization_sv_SE.ts @@ -694,7 +694,7 @@ Expire-Date: 0 </message> <message> <location filename="../src/mainwindow.cpp" line="393"/> - <location filename="../src/mainwindow.cpp" line="1094"/> + <location filename="../src/mainwindow.cpp" line="1093"/> <source>Password</source> <translation>Lösenord</translation> </message> diff --git a/localization/localization_tr_TR.ts b/localization/localization_tr_TR.ts index df010c19..a4372446 100644 --- a/localization/localization_tr_TR.ts +++ b/localization/localization_tr_TR.ts @@ -706,7 +706,7 @@ Expire-Date: 0 </message> <message> <location filename="../src/mainwindow.cpp" line="393"/> - <location filename="../src/mainwindow.cpp" line="1094"/> + <location filename="../src/mainwindow.cpp" line="1093"/> <source>Password</source> <translation>Parola</translation> </message> diff --git a/localization/localization_zh_CN.ts b/localization/localization_zh_CN.ts index c66c54b3..27c7c747 100644 --- a/localization/localization_zh_CN.ts +++ b/localization/localization_zh_CN.ts @@ -769,7 +769,7 @@ Expire-Date: 0 </message> <message> <location filename="../src/mainwindow.cpp" line="393"/> - <location filename="../src/mainwindow.cpp" line="1094"/> + <location filename="../src/mainwindow.cpp" line="1093"/> <source>Password</source> <translation>密码</translation> </message> diff --git a/src/qpushbuttonshowpassword.h b/src/qpushbuttonshowpassword.h new file mode 100644 index 00000000..db1e0215 --- /dev/null +++ b/src/qpushbuttonshowpassword.h @@ -0,0 +1,30 @@ +#ifndef QPUSHBUTTONSHOWPASSWORD_H_ +#define QPUSHBUTTONSHOWPASSWORD_H_ + +#include <QPushButton> +#include <QLineEdit> + +/*! + \class QPushButtonAsQRCode + \brief Stylish widget to display the field as QR Code +*/ +class QWidget; +class QPushButtonShowPassword : public QPushButton { + Q_OBJECT + +public: + explicit QPushButtonShowPassword(QLineEdit *line, QWidget *parent = nullptr); + +signals: + void clicked(QString); + +private slots: + void buttonClicked(bool); + +private: + QIcon iconEdit; + QIcon iconEditPushed; + QLineEdit *line; +}; + +#endif // QPUSHBUTTONSHOWPASSWORD_H_ |