CodeTemplates/impl.py.tmpl

Sun, 17 Jan 2010 18:36:52 +0000

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 17 Jan 2010 18:36:52 +0000
changeset 74
f0c0e4638a0f
parent 0
de9c2efb9d02
child 370
0c137bb40ac7
permissions
-rw-r--r--

Corrected the import statement in the dialog 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
        """
        $SUPERCLASS$.__init__(self, parent)
        self.setupUi(self)

eric ide

mercurial