CodeTemplates/impl_pyqt.py.tmpl

changeset 1139
b18376d58832
parent 1131
7781e396c903
child 3867
5817141137fb
equal deleted inserted replaced
1137:1a37887aefa7 1139:b18376d58832
1 # -*- coding: utf-8 -*-
2
3 """
4 Module implementing $CLASSNAME$.
5 """
6
7 from PyQt4.QtCore import pyqtSlot
8 from PyQt4.QtGui 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 (QWidget)
22 """
23 super().__init__(parent)
24 self.setupUi(self)

eric ide

mercurial