src/eric7/Preferences/ToolConfigurationDialog.py

branch
eric7
changeset 10428
a071d4065202
parent 10069
435cc5875135
child 10439
21c28b0f9e41
diff -r 3733e2b23cf7 -r a071d4065202 src/eric7/Preferences/ToolConfigurationDialog.py
--- a/src/eric7/Preferences/ToolConfigurationDialog.py	Wed Dec 20 11:06:38 2023 +0100
+++ b/src/eric7/Preferences/ToolConfigurationDialog.py	Wed Dec 20 14:58:58 2023 +0100
@@ -30,7 +30,9 @@
         Constructor
 
         @param toollist list of configured tools
-        @param parent parent widget (QWidget)
+        @type list
+        @param parent parent widget
+        @type QWidget
         """
         super().__init__(parent)
         self.setupUi(self)
@@ -66,8 +68,10 @@
         """
         Private method to find the mode index by its short name.
 
-        @param shortName short name of the mode (string)
-        @return index of the mode (integer)
+        @param shortName short name of the mode
+        @type str
+        @return index of the mode
+        @rtype int
         """
         for ind, mode in enumerate(self.redirectionModes):
             if mode[0] == shortName:
@@ -291,7 +295,8 @@
         """
         Private slot to set the lineedits depending on the selected entry.
 
-        @param row the row of the selected entry (integer)
+        @param row the row of the selected entry
+        @type int
         """
         if row >= 0 and row < len(self.toollist):
             if self.toollist[row]["menutext"] == "--":
@@ -349,7 +354,8 @@
         """
         Private slot called, when the menu text was changed.
 
-        @param text the new text (string) (ignored)
+        @param text the new text (ignored)
+        @type str
         """
         self.__toolEntryChanged()
 
@@ -358,7 +364,8 @@
         """
         Private slot called, when the icon path was changed.
 
-        @param text the new text (string) (ignored)
+        @param text the new text (ignored)
+        @type str
         """
         self.__toolEntryChanged()
 
@@ -367,7 +374,8 @@
         """
         Private slot called, when the executable was changed.
 
-        @param text the new text (string) (ignored)
+        @param text the new text (ignored)
+        @type str
         """
         self.__toolEntryChanged()
 
@@ -376,7 +384,8 @@
         """
         Private slot called, when the arguments string was changed.
 
-        @param text the new text (string) (ignored)
+        @param text the new text (ignored)
+        @type str
         """
         self.__toolEntryChanged()
 
@@ -385,7 +394,8 @@
         """
         Private slot called, when the redirection mode was changed.
 
-        @param index the selected mode index (integer) (ignored)
+        @param index the selected mode index (ignored)
+        @type int
         """
         self.__toolEntryChanged()
 
@@ -395,6 +405,7 @@
 
         @return a list of tuples containing the menu text, the executable,
             the executables arguments and a redirection flag
+        @rtype list of [tuple of (str, str, list of str, bool)]
         """
         return self.toollist[:]
 
@@ -402,8 +413,10 @@
         """
         Private method used two swap two list entries given by their index.
 
-        @param itm1 index of first entry (int)
-        @param itm2 index of second entry (int)
+        @param itm1 index of first entry
+        @type int
+        @param itm2 index of second entry
+        @type int
         """
         tmp = self.toollist[itm1]
         self.toollist[itm1] = self.toollist[itm2]

eric ide

mercurial