CodeTemplates/impl.py.tmpl

Sun, 27 Jun 2010 12:19:45 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 27 Jun 2010 12:19:45 +0200
changeset 370
0c137bb40ac7
parent 74
f0c0e4638a0f
child 977
7a523bd4b00d
permissions
-rw-r--r--

Added source docu for the constructor to the form code template.

# -*- 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