eric6/CodeTemplates/impl_pyqt5.py.tmpl

changeset 6942
2602857055c5
parent 4484
5c9952e29895
child 8033
21fd39d6a6ee
equal deleted inserted replaced
6941:f99d60d6b59b 6942:2602857055c5
1 # -*- coding: utf-8 -*-
2
3 """
4 Module implementing $CLASSNAME$.
5 """
6
7 from PyQt5.QtCore import pyqtSlot
8 from PyQt5.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
22 @type QWidget
23 """
24 super($CLASSNAME$, self).__init__(parent)
25 self.setupUi(self)

eric ide

mercurial