CodeTemplates/impl_pyqt.py2.tmpl

Sun, 13 Apr 2014 15:45:57 +0200

author
T.Rzepka <Tobias.Rzepka@gmail.com>
date
Sun, 13 Apr 2014 15:45:57 +0200
branch
Py2 comp.
changeset 3506
d85fadb263a0
parent 1139
b18376d58832
child 4484
5c9952e29895
permissions
-rw-r--r--

Fixed an issue introduced by the new running interpreter browser model feature.

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