CodeTemplates/impl_pyside.py2.tmpl

Sun, 30 Nov 2014 13:07:14 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 30 Nov 2014 13:07:14 +0100
branch
5_5_x
changeset 3952
6a7a407548d0
parent 1139
b18376d58832
child 4484
5c9952e29895
permissions
-rw-r--r--

Prepared release 5.5.1.

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