CodeTemplates/impl_pyside.py2.tmpl

Sun, 05 Feb 2017 11:38:27 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 05 Feb 2017 11:38:27 +0100
branch
maintenance
changeset 5483
3790c6f62c5c
parent 4484
5c9952e29895
permissions
-rw-r--r--

Prepared a bug fix release of 17.02

# -*- 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
        @type QWidget
        """
        $SUPERCLASS$.__init__(self, parent)
        self.setupUi(self)

eric ide

mercurial