CodeTemplates/impl_pyqt.py2.tmpl

Tue, 28 Jun 2011 09:19:18 +0200

author
detlev@die-offenbachs.de
date
Tue, 28 Jun 2011 09:19:18 +0200
changeset 1139
b18376d58832
child 4484
5c9952e29895
permissions
-rw-r--r--

Added dialog support for PySide.

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