CodeTemplates/impl.py.tmpl

changeset 0
de9c2efb9d02
child 74
f0c0e4638a0f
diff -r 000000000000 -r de9c2efb9d02 CodeTemplates/impl.py.tmpl
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CodeTemplates/impl.py.tmpl	Mon Dec 28 16:03:33 2009 +0000
@@ -0,0 +1,21 @@
+# -*- 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
+        """
+        $SUPERCLASS$.__init__(self, parent)
+        self.setupUi(self)

eric ide

mercurial