src/eric7/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardCharactersDialog.py

branch
eric7
changeset 10437
2f70ca07f0af
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
--- a/src/eric7/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardCharactersDialog.py	Fri Dec 22 17:24:07 2023 +0100
+++ b/src/eric7/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardCharactersDialog.py	Fri Dec 22 19:45:17 2023 +0100
@@ -39,7 +39,8 @@
         """
         Constructor
 
-        @param parent reference to the parent widget (QWidget)
+        @param parent reference to the parent widget
+        @type QWidget
         """
         super().__init__(parent)
         self.setupUi(self)
@@ -343,8 +344,10 @@
         """
         Private method to populate a given character type selection combo box.
 
-        @param combo reference to the combo box to be populated (QComboBox)
-        @param isSingle flag indicating a singles combo (boolean)
+        @param combo reference to the combo box to be populated
+        @type QComboBox
+        @param isSingle flag indicating a singles combo
+        @type bool
         """
         for txt, value in self.comboItems:
             combo.addItem(txt, value)
@@ -433,9 +436,11 @@
         """
         Private method to populate a character selection combo.
 
-        @param combo combo box to be populated (QComboBox)
+        @param combo combo box to be populated
+        @type QComboBox
         @param formatIdentifier format identifier (one of "-ccp", "-ccn",
             "-cbp", "-cbn", "-csp", "-csn", "-psp", "-psn")
+        @type str
         """
         combo.clear()
 
@@ -458,9 +463,12 @@
         """
         Private method performing some actions depending on the input.
 
-        @param formatIdentifier format of the selected entry (string)
-        @param lineedit line edit widget to act on (QLineEdit)
-        @param combo combo box widget to act on (QComboBox)
+        @param formatIdentifier format of the selected entry
+        @type str
+        @param lineedit line edit widget to act on
+        @type QLineEdit
+        @param combo combo box widget to act on
+        @type QComboBox
         """
         if formatIdentifier == "-i":
             return
@@ -537,10 +545,13 @@
         """
         Private method to format the characters entered into the dialog.
 
-        @param char character string entered into the dialog (string)
+        @param char character string entered into the dialog
+        @type str
         @param formatIdentifier string giving a special format (-c, -h, -i or
-            -o) or the already formatted character (string)
-        @return formatted character string (string)
+            -o) or the already formatted character
+        @type str
+        @return formatted character string
+        @rtype str
         """
         if formatIdentifier == "-c":
             return char
@@ -575,7 +586,8 @@
         """
         Public method to return the character string assembled via the dialog.
 
-        @return formatted string for character classes (string)
+        @return formatted string for character classes
+        @rtype str
         """
         regexp = ""
 

eric ide

mercurial