src/eric7/CodeTemplates/impl_pyside6.py.tmpl

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8411
da70caa2246d
child 9423
f30b9e9819cc
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 # -*- coding: utf-8 -*-
2
3 """
4 Module implementing $CLASSNAME$.
5 """
6
7 from PySide6.QtCore import Slot
8 from PySide6.QtWidgets import $SUPERCLASS$
9
10 from .Ui_$FORMFILE$ import Ui_$FORMCLASS$
11
12
13 class $CLASSNAME$($SUPERCLASS$, Ui_$FORMCLASS$):
14 """
15 Class documentation goes here.
16 """
17 def __init__(self, parent=None):
18 """
19 Constructor
20
21 @param parent reference to the parent widget (defaults to None)
22 @type QWidget (optional)
23 """
24 super().__init__(parent)
25 self.setupUi(self)

eric ide

mercurial