CodeTemplates/impl_pyside.py.tmpl

Fri, 04 Jul 2014 19:59:05 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 04 Jul 2014 19:59:05 +0200
branch
5_5_PyQt4_only
changeset 3666
d1ebdb8b0221
parent 1862
b1498278335f
child 4484
5c9952e29895
permissions
-rw-r--r--

Closed the PyQt4 only branch to give it a new name.

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

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

from PySide.QtCore import Slot
from PySide.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