Sun, 16 May 2021 20:07:24 +0200
Replaced all imports of PyQt5 to PyQt6 and started to replace code using obsoleted methods and adapt to the PyQt6 enum usage.
# -*- coding: utf-8 -*- # Copyright (c) 2010 - 2021 Detlev Offenbach <detlev@die-offenbachs.de> # """ Module implementing a dialog to show SSL certificate infos. """ from PyQt6.QtWidgets import QDialog from .Ui_E5SslCertificatesInfoDialog import Ui_E5SslCertificatesInfoDialog class E5SslCertificatesInfoDialog(QDialog, Ui_E5SslCertificatesInfoDialog): """ Class implementing a dialog to show SSL certificate infos. """ def __init__(self, certificateChain, parent=None): """ Constructor @param certificateChain SSL certificate chain (list of QSslCertificate) @param parent reference to the parent widget (QWidget) """ super().__init__(parent) self.setupUi(self) self.sslWidget.showCertificateChain(certificateChain)