E5Network/E5SslCertificatesInfoDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2432
b1a2f9054b28
child 3145
a9de05d4a22f
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing a dialog to show SSL certificate infos. 7 Module implementing a dialog to show SSL certificate infos.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 from PyQt4.QtGui import QDialog 12 from PyQt4.QtGui import QDialog
11 13
12 from .Ui_E5SslCertificatesInfoDialog import Ui_E5SslCertificatesInfoDialog 14 from .Ui_E5SslCertificatesInfoDialog import Ui_E5SslCertificatesInfoDialog
13 15
21 Constructor 23 Constructor
22 24
23 @param certificateChain SSL certificate chain (list of QSslCertificate) 25 @param certificateChain SSL certificate chain (list of QSslCertificate)
24 @param parent reference to the parent widget (QWidget) 26 @param parent reference to the parent widget (QWidget)
25 """ 27 """
26 super().__init__(parent) 28 super(E5SslCertificatesInfoDialog, self).__init__(parent)
27 self.setupUi(self) 29 self.setupUi(self)
28 30
29 self.sslWidget.showCertificateChain(certificateChain) 31 self.sslWidget.showCertificateChain(certificateChain)

eric ide

mercurial