Mon, 28 Jan 2013 19:24:14 +0100
Little enhancement to project to read eric4 project files without 'upgrading' them.
# -*- coding: utf-8 -*- """ Module implementing $CLASSNAME$. """ from PyQt4.QtCore import pyqtSlot from PyQt4.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) """ super().__init__(parent) self.setupUi(self)