CodeTemplates/impl.py.tmpl

Sun, 01 May 2011 19:01:24 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 01 May 2011 19:01:24 +0200
changeset 1010
06393b5f5330
parent 977
7a523bd4b00d
child 1131
7781e396c903
permissions
-rw-r--r--

Made the template PEP-8 compliant.

# -*- 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)
        """
        $SUPERCLASS$.__init__(self, parent)
        self.setupUi(self)

eric ide

mercurial