src/eric7/Project/NewDialogClassDialog.py

branch
eric7
changeset 10430
e440aaf179ce
parent 10069
435cc5875135
child 10439
21c28b0f9e41
--- a/src/eric7/Project/NewDialogClassDialog.py	Wed Dec 20 15:42:44 2023 +0100
+++ b/src/eric7/Project/NewDialogClassDialog.py	Wed Dec 20 19:28:22 2023 +0100
@@ -26,10 +26,14 @@
         """
         Constructor
 
-        @param defaultClassName proposed name for the new class (string)
-        @param defaultFile proposed name for the source file (string)
-        @param defaultPath default path for the new file (string)
-        @param parent parent widget if the dialog (QWidget)
+        @param defaultClassName proposed name for the new class
+        @type str
+        @param defaultFile proposed name for the source file
+        @type str
+        @param defaultPath default path for the new file
+        @type str
+        @param parent parent widget if the dialog
+        @type QWidget
         """
         super().__init__(parent)
         self.setupUi(self)
@@ -61,7 +65,8 @@
         """
         Private slot called, when thext of the classname edit has changed.
 
-        @param text changed text (string)
+        @param text changed text
+        @type str
         """
         self.__enableOkButton()
 
@@ -70,7 +75,8 @@
         """
         Private slot called, when thext of the filename edit has changed.
 
-        @param text changed text (string)
+        @param text changed text
+        @type str
         """
         self.__enableOkButton()
 
@@ -79,7 +85,8 @@
         """
         Private slot called, when the text of the path name has changed.
 
-        @param text changed text (string)
+        @param text changed text
+        @type str
         """
         self.__enableOkButton()
 
@@ -87,7 +94,8 @@
         """
         Public method to retrieve the data entered into the dialog.
 
-        @return tuple giving the classname (string) and the file name (string)
+        @return tuple giving the classname and the file name
+        @rtype tuple of (str, str)
         """
         return (
             self.classnameEdit.text(),

eric ide

mercurial