--- a/Helpviewer/SslInfoDialog.py Fri Jan 18 19:31:43 2013 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,29 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright (c) 2010 - 2013 Detlev Offenbach <detlev@die-offenbachs.de> -# - -""" -Module implementing a dialog to show SSL certificate infos. -""" - -from PyQt4.QtGui import QDialog - -from .Ui_SslInfoDialog import Ui_SslInfoDialog - - -class SslInfoDialog(QDialog, Ui_SslInfoDialog): - """ - Class implementing a dialog to show SSL certificate infos. - """ - def __init__(self, certificate, parent=None): - """ - Constructor - - @param certificate reference to the SSL certificate (QSslCertificate) - @param parent reference to the parent widget (QWidget) - """ - super().__init__(parent) - self.setupUi(self) - - self.sslWidget.showCertificate(certificate)