E5Network/E5SslInfoWidget.py

changeset 4345
de313fb93dee
parent 4021
195a471c327b
child 4631
5c1a96925da4
equal deleted inserted replaced
4344:d096b2c767d8 4345:de313fb93dee
136 136
137 proto = cipher.protocol() 137 proto = cipher.protocol()
138 if proto == QSsl.SslV3: 138 if proto == QSsl.SslV3:
139 sslVersion = "SSL 3.0" 139 sslVersion = "SSL 3.0"
140 imageLabel.setPixmap( 140 imageLabel.setPixmap(
141 UI.PixmapCache.getPixmap("securityHigh32.png")) 141 UI.PixmapCache.getPixmap("securityLow32.png"))
142 elif proto == QSsl.TlsV1SslV3: 142 elif proto == QSsl.TlsV1SslV3:
143 sslVersion = "TLS 1.0/SSL 3.0" 143 sslVersion = "TLS 1.0/SSL 3.0"
144 imageLabel.setPixmap( 144 imageLabel.setPixmap(
145 UI.PixmapCache.getPixmap("securityHigh32.png")) 145 UI.PixmapCache.getPixmap("securityLow32.png"))
146 elif proto == QSsl.SslV2: 146 elif proto == QSsl.SslV2:
147 sslVersion = "SSL 2.0" 147 sslVersion = "SSL 2.0"
148 imageLabel.setPixmap( 148 imageLabel.setPixmap(
149 UI.PixmapCache.getPixmap("securityLow32.png")) 149 UI.PixmapCache.getPixmap("securityLow32.png"))
150 else: 150 else:

eric ide

mercurial