eric6/CodeTemplates/impl_pyside.py2.tmpl

changeset 6942
2602857055c5
parent 4484
5c9952e29895
diff -r f99d60d6b59b -r 2602857055c5 eric6/CodeTemplates/impl_pyside.py2.tmpl
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/eric6/CodeTemplates/impl_pyside.py2.tmpl	Sun Apr 14 15:09:21 2019 +0200
@@ -0,0 +1,25 @@
+# -*- coding: utf-8 -*-
+
+"""
+Module implementing $CLASSNAME$.
+"""
+
+from PySide.QtCore import Slot
+from PySide.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
+        @type QWidget
+        """
+        $SUPERCLASS$.__init__(self, parent)
+        self.setupUi(self)

eric ide

mercurial