CodeTemplates/impl_pyqt5.py.tmpl

Fri, 01 May 2015 11:38:05 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 01 May 2015 11:38:05 +0200
branch
6_0_x
changeset 4245
ac30e37b242d
parent 3867
5817141137fb
child 4484
5c9952e29895
permissions
-rw-r--r--

Prepared new eric6 release.

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

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

from PyQt5.QtCore import pyqtSlot
from PyQt5.QtWidgets 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($CLASSNAME$, self).__init__(parent)
        self.setupUi(self)

eric ide

mercurial