diff -r 4e8b98454baa -r 800c432b34c8 eric7/CodeTemplates/impl_pyside6.py.tmpl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric7/CodeTemplates/impl_pyside6.py.tmpl Sat May 15 18:45:04 2021 +0200 @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- + +""" +Module implementing $CLASSNAME$. +""" + +from PySide6.QtCore import Slot +from PySide6.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 (defaults to None) + @type QWidget (optional) + """ + super($CLASSNAME$, self).__init__(parent) + self.setupUi(self)