CodeTemplates/impl_pyqt.py.tmpl

Sun, 27 Jan 2013 17:05:36 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 27 Jan 2013 17:05:36 +0100
branch
5_3_x
changeset 2379
e58d3c4efbf5
parent 1139
b18376d58832
child 3867
5817141137fb
permissions
-rw-r--r--

Some corrections to the profile data dialog.
(grafted from 11b89e636d33fde67cd693ab3dc1adfb0908a82f)

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

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

from PyQt4.QtCore import pyqtSlot
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)
        """
        super().__init__(parent)
        self.setupUi(self)

eric ide

mercurial