Sun, 29 Nov 2020 14:10:18 +0100
WebBrowserWindow: removed the use of QTextCodec to prepare the Qt6 migration.
# -*- coding: utf-8 -*- """ Module implementing $CLASSNAME$. """ from PySide2.QtCore import Slot from PySide2.QtWidgets import $SUPERCLASS$ from .Ui_$FORMFILE$ import Ui_$FORMCLASS$ class $CLASSNAME$($SUPERCLASS$, Ui_$FORMCLASS$): """ Class documentation goes here. """ def __init__(self, parent=None): """ Constructor @param parent reference to the parent widget @type QWidget """ super($CLASSNAME$, self).__init__(parent) self.setupUi(self)