Modified the code templates used by the dialog code generator. 5_5_x

Mon, 13 Oct 2014 20:04:36 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 13 Oct 2014 20:04:36 +0200
branch
5_5_x
changeset 3868
ae3235466c7d
parent 3866
e3c747b01f60
child 3869
e5e8a5a6714c

Modified the code templates used by the dialog code generator.
(grafted from 5817141137fb278c58cbfa1bcc1e7b1abcf832b4)

CodeTemplates/impl_pyqt.py.tmpl file | annotate | diff | comparison | revisions
CodeTemplates/impl_pyqt5.py.tmpl file | annotate | diff | comparison | revisions
CodeTemplates/impl_pyqt5.py2.tmpl file | annotate | diff | comparison | revisions
--- a/CodeTemplates/impl_pyqt.py.tmpl	Sun Oct 12 17:03:59 2014 +0200
+++ b/CodeTemplates/impl_pyqt.py.tmpl	Mon Oct 13 20:04:36 2014 +0200
@@ -20,5 +20,5 @@
         
         @param parent reference to the parent widget (QWidget)
         """
-        super().__init__(parent)
+        super($CLASSNAME$, self).__init__(parent)
         self.setupUi(self)
--- a/CodeTemplates/impl_pyqt5.py.tmpl	Sun Oct 12 17:03:59 2014 +0200
+++ b/CodeTemplates/impl_pyqt5.py.tmpl	Mon Oct 13 20:04:36 2014 +0200
@@ -20,5 +20,5 @@
         
         @param parent reference to the parent widget (QWidget)
         """
-        super().__init__(parent)
+        super($CLASSNAME$, self).__init__(parent)
         self.setupUi(self)
--- a/CodeTemplates/impl_pyqt5.py2.tmpl	Sun Oct 12 17:03:59 2014 +0200
+++ b/CodeTemplates/impl_pyqt5.py2.tmpl	Mon Oct 13 20:04:36 2014 +0200
@@ -20,5 +20,5 @@
         
         @param parent reference to the parent widget (QWidget)
         """
-        super($SUPERCLASS$, self).__init__(parent)
+        super($CLASSNAME$, self).__init__(parent)
         self.setupUi(self)

eric ide

mercurial