diff -r 647426d44f04 -r d0d7836d0c01 CodeTemplates/impl_pyqt5.py2.tmpl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CodeTemplates/impl_pyqt5.py2.tmpl Tue Jun 25 18:50:45 2013 +0200 @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- + +""" +Module implementing $CLASSNAME$. +""" + +from PyQt5.QtCore import pyqtSlot +from PyQt5.QtWidgets 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) + """ + super($SUPERCLASS$, self).__init__(parent) + self.setupUi(self)