eric6/CodeTemplates/impl_pyside2.py.tmpl

Tue, 20 Aug 2019 17:07:44 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 20 Aug 2019 17:07:44 +0200
branch
micropython
changeset 7144
de779a22396a
parent 6942
2602857055c5
child 8033
21fd39d6a6ee
permissions
-rw-r--r--

Revision <7140> closed.

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

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

from PySide2.QtCore import Slot
from PySide2.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