diff --git a/swisssurfer/src/certificate.hxx b/swisssurfer/src/certificate.hxx index 2128d75..5666e2c 100644 --- a/swisssurfer/src/certificate.hxx +++ b/swisssurfer/src/certificate.hxx @@ -14,9 +14,9 @@ #include #include -class Certificate: public QTreeWidget, protected Ui::Certificate { +class Certificate: public QWidget, protected Ui::Certificate { public: - Certificate(QWidget* p): QTreeWidget(p) { + Certificate(QWidget* p): QWidget(p) { setupUi(this); } Certificate& certificate(const QSslCertificate& cert) { diff --git a/swisssurfer/src/pinentry.ui b/swisssurfer/src/pinentry.ui index c6c27e9..6aafca4 100644 --- a/swisssurfer/src/pinentry.ui +++ b/swisssurfer/src/pinentry.ui @@ -31,8 +31,8 @@ - - + + PIN: @@ -42,13 +42,95 @@ - + QLineEdit::Password + + + + + 0 + 0 + + + + 1 + + + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Serif'; font-size:11pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:24pt; color:#00b900;">✔</span></p></body></html> + + + + + + + + 0 + 0 + + + + %1 PIN attempts left + + + true + + + + + + + + + + + + 0 + 0 + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'DejaVu Serif'; font-size:11pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'sans-serif'; font-size:24pt; color:#ff0000;">✘</span></p></body></html> + + + + + + + + 0 + 0 + + + + bad or locked certificate + + + true + + + + + + + + @@ -61,88 +143,6 @@ - - - - - 0 - 0 - - - - 1 - - - - - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'DejaVu Serif'; font-size:11pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:24pt; color:#00b900;">✔</span></p></body></html> - - - - - - - - 0 - 0 - - - - there are %1 PIN attempts left - - - true - - - - - - - - - - - - 0 - 0 - - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'DejaVu Serif'; font-size:11pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'sans-serif'; font-size:24pt; color:#ff0000;">✘</span></p></body></html> - - - - - - - - 0 - 0 - - - - certificate is bad or locked - - - true - - - - - - - - diff --git a/swisssurfer/src/swisssurfer_de.ts b/swisssurfer/src/swisssurfer_de.ts index a89353a..917cb42 100644 --- a/swisssurfer/src/swisssurfer_de.ts +++ b/swisssurfer/src/swisssurfer_de.ts @@ -213,11 +213,6 @@ &Proxy ... - - - Auto Zoom - - @@ -648,13 +643,22 @@ Compiled: qt-%5 - + + %1 PIN attempts left + + + + + bad or locked certificate + + + there are %1 PIN attempts left - + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } @@ -663,12 +667,7 @@ p, li { white-space: pre-wrap; } - - certificate is bad or locked - - - - + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } diff --git a/swisssurfer/src/swisssurfer_en.ts b/swisssurfer/src/swisssurfer_en.ts index a0f5dc4..70608f3 100644 --- a/swisssurfer/src/swisssurfer_en.ts +++ b/swisssurfer/src/swisssurfer_en.ts @@ -243,11 +243,6 @@ &Proxy ... - - - Auto Zoom - - Checking: %1 @@ -633,7 +628,7 @@ Compiled: qt-%5 - + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } @@ -642,13 +637,22 @@ p, li { white-space: pre-wrap; } - + + %1 PIN attempts left + + + + + bad or locked certificate + + + there are %1 PIN attempts left - + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } @@ -656,11 +660,6 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'sans-serif'; font-size:24pt; color:#ff0000;">✘</span></p></body></html> - - - certificate is bad or locked - - QMessageBox diff --git a/swisssurfer/src/swisssurfer_fr.ts b/swisssurfer/src/swisssurfer_fr.ts index a89353a..917cb42 100644 --- a/swisssurfer/src/swisssurfer_fr.ts +++ b/swisssurfer/src/swisssurfer_fr.ts @@ -213,11 +213,6 @@ &Proxy ... - - - Auto Zoom - - @@ -648,13 +643,22 @@ Compiled: qt-%5 - + + %1 PIN attempts left + + + + + bad or locked certificate + + + there are %1 PIN attempts left - + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } @@ -663,12 +667,7 @@ p, li { white-space: pre-wrap; } - - certificate is bad or locked - - - - + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } diff --git a/swisssurfer/src/swisssurfer_it.ts b/swisssurfer/src/swisssurfer_it.ts index a89353a..917cb42 100644 --- a/swisssurfer/src/swisssurfer_it.ts +++ b/swisssurfer/src/swisssurfer_it.ts @@ -213,11 +213,6 @@ &Proxy ... - - - Auto Zoom - - @@ -648,13 +643,22 @@ Compiled: qt-%5 - + + %1 PIN attempts left + + + + + bad or locked certificate + + + there are %1 PIN attempts left - + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } @@ -663,12 +667,7 @@ p, li { white-space: pre-wrap; } - - certificate is bad or locked - - - - + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; }