eric6/E5Network/E5SslInfoWidget.py

branch
maintenance
changeset 8043
0acf98cd089a
parent 7943
cbe676f46e4e
parent 7945
76daafe10009
child 8176
31965986ecd1
equal deleted inserted replaced
7991:866adc8c315b 8043:0acf98cd089a
153 UI.PixmapCache.getPixmap("securityHigh32")) 153 UI.PixmapCache.getPixmap("securityHigh32"))
154 elif proto == QSsl.TlsV1_2: 154 elif proto == QSsl.TlsV1_2:
155 sslVersion = "TLS 1.2" 155 sslVersion = "TLS 1.2"
156 imageLabel.setPixmap( 156 imageLabel.setPixmap(
157 UI.PixmapCache.getPixmap("securityHigh32")) 157 UI.PixmapCache.getPixmap("securityHigh32"))
158 try: 158 elif proto == QSsl.TlsV1_3:
159 # Qt 5.12 and newer 159 sslVersion = "TLS 1.3"
160 if proto == QSsl.TlsV1_3: 160 imageLabel.setPixmap(
161 sslVersion = "TLS 1.3" 161 UI.PixmapCache.getPixmap("securityHigh32"))
162 imageLabel.setPixmap(
163 UI.PixmapCache.getPixmap("securityHigh32"))
164 except AttributeError:
165 pass
166 rows += 1 162 rows += 1
167 163
168 label = QLabel(self) 164 label = QLabel(self)
169 label.setWordWrap(True) 165 label.setWordWrap(True)
170 label.setText(self.tr( 166 label.setText(self.tr(

eric ide

mercurial