CodeTemplates/impl_pyqt5.py2.tmpl

Sat, 01 Sep 2018 10:39:08 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 01 Sep 2018 10:39:08 +0200
branch
maintenance
changeset 6490
7bbc72701f0a
parent 4484
5c9952e29895
permissions
-rw-r--r--

Re-merged with "default" branch in order to include some last minute fixes in the next 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
        @type QWidget
        """
        super($CLASSNAME$, self).__init__(parent)
        self.setupUi(self)

eric ide

mercurial