CodeTemplates/impl_pyqt.py2.tmpl

changeset 1139
b18376d58832
child 4484
5c9952e29895
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 pyqtSignature
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 $SUPERCLASS$.__init__(self, parent)
24 self.setupUi(self)

eric ide

mercurial