CodeTemplates/impl_pyqt.py2.tmpl

Fri, 25 Apr 2014 18:39:35 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 25 Apr 2014 18:39:35 +0200
branch
Py2 comp.
changeset 3535
c22b27894184
parent 1139
b18376d58832
child 4484
5c9952e29895
permissions
-rw-r--r--

Branch Py2 comp. closed after having it merged into the default line of development.

# -*- coding: utf-8 -*-

"""
Module implementing $CLASSNAME$.
"""

from PyQt4.QtCore import pyqtSignature
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