CodeTemplates/impl_pyqt.py.tmpl

Thu, 19 Jun 2014 10:00:53 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 19 Jun 2014 10:00:53 +0200
branch
5_4_x
changeset 3643
a60d2ee42402
parent 1139
b18376d58832
child 3867
5817141137fb
permissions
-rw-r--r--

Fixed an issue causing deleted alternate keyboard shortcuts not being reloaded correctly.
(grafted from 1a6f8d9b63a536611bd0f52cca5d5eb885c9e5fc)

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