CodeTemplates/impl_pyside.py.tmpl

changeset 1862
b1498278335f
parent 1139
b18376d58832
child 4484
5c9952e29895
equal deleted inserted replaced
1858:04e1f90786cd 1862:b1498278335f
1 # -*- coding: utf-8 -*-
2
3 """
4 Module implementing $CLASSNAME$.
5 """
6
7 from PySide.QtCore import Slot
8 from PySide.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