Modified the code templates with respect to the constructor docstrings.

Sun, 31 Jan 2021 12:23:30 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 31 Jan 2021 12:23:30 +0100
changeset 8033
21fd39d6a6ee
parent 8032
76375aa6bc04
child 8035
6797c6f27758

Modified the code templates with respect to the constructor docstrings.

eric6/CodeTemplates/impl_pyqt5.py.tmpl file | annotate | diff | comparison | revisions
eric6/CodeTemplates/impl_pyqt6.py.tmpl file | annotate | diff | comparison | revisions
eric6/CodeTemplates/impl_pyside2.py.tmpl file | annotate | diff | comparison | revisions
eric6/CodeTemplates/impl_pyside6.py.tmpl file | annotate | diff | comparison | revisions
--- a/eric6/CodeTemplates/impl_pyqt5.py.tmpl	Sat Jan 30 19:11:02 2021 +0100
+++ b/eric6/CodeTemplates/impl_pyqt5.py.tmpl	Sun Jan 31 12:23:30 2021 +0100
@@ -18,8 +18,8 @@
         """
         Constructor
         
-        @param parent reference to the parent widget
-        @type QWidget
+        @param parent reference to the parent widget (defaults to None)
+        @type QWidget (optional)
         """
         super($CLASSNAME$, self).__init__(parent)
         self.setupUi(self)
--- a/eric6/CodeTemplates/impl_pyqt6.py.tmpl	Sat Jan 30 19:11:02 2021 +0100
+++ b/eric6/CodeTemplates/impl_pyqt6.py.tmpl	Sun Jan 31 12:23:30 2021 +0100
@@ -18,8 +18,8 @@
         """
         Constructor
         
-        @param parent reference to the parent widget
-        @type QWidget
+        @param parent reference to the parent widget (defaults to None)
+        @type QWidget (optional)
         """
         super($CLASSNAME$, self).__init__(parent)
         self.setupUi(self)
--- a/eric6/CodeTemplates/impl_pyside2.py.tmpl	Sat Jan 30 19:11:02 2021 +0100
+++ b/eric6/CodeTemplates/impl_pyside2.py.tmpl	Sun Jan 31 12:23:30 2021 +0100
@@ -18,8 +18,8 @@
         """
         Constructor
         
-        @param parent reference to the parent widget
-        @type QWidget
+        @param parent reference to the parent widget (defaults to None)
+        @type QWidget (optional)
         """
         super($CLASSNAME$, self).__init__(parent)
         self.setupUi(self)
--- a/eric6/CodeTemplates/impl_pyside6.py.tmpl	Sat Jan 30 19:11:02 2021 +0100
+++ b/eric6/CodeTemplates/impl_pyside6.py.tmpl	Sun Jan 31 12:23:30 2021 +0100
@@ -18,8 +18,8 @@
         """
         Constructor
         
-        @param parent reference to the parent widget
-        @type QWidget
+        @param parent reference to the parent widget (defaults to None)
+        @type QWidget (optional)
         """
         super($CLASSNAME$, self).__init__(parent)
         self.setupUi(self)

eric ide

mercurial