diff -r 04e1f90786cd -r b1498278335f CodeTemplates/impl_pyside.py.tmpl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CodeTemplates/impl_pyside.py.tmpl Fri May 18 12:41:38 2012 +0200 @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- + +""" +Module implementing $CLASSNAME$. +""" + +from PySide.QtCore import Slot +from PySide.QtGui import $SUPERCLASS$ + +from .Ui_$FORMFILE$ import Ui_$FORMCLASS$ + + +class $CLASSNAME$($SUPERCLASS$, Ui_$FORMCLASS$): + """ + Class documentation goes here. + """ + def __init__(self, parent=None): + """ + Constructor + + @param parent reference to the parent widget (QWidget) + """ + $SUPERCLASS$.__init__(self, parent) + self.setupUi(self)