src/eric7/Preferences/ProgramsDialog.py

branch
eric7
changeset 10428
a071d4065202
parent 10251
ec2bedda2b0e
child 10439
21c28b0f9e41
--- a/src/eric7/Preferences/ProgramsDialog.py	Wed Dec 20 11:06:38 2023 +0100
+++ b/src/eric7/Preferences/ProgramsDialog.py	Wed Dec 20 14:58:58 2023 +0100
@@ -43,7 +43,8 @@
         """
         Constructor
 
-        @param parent The parent widget of this dialog. (QWidget)
+        @param parent The parent widget of this dialog.
+        @type QWidget
         """
         super().__init__(parent)
         self.setupUi(self)
@@ -79,7 +80,8 @@
         """
         Private slot called by a button of the button box clicked.
 
-        @param button button that was clicked (QAbstractButton)
+        @param button button that was clicked
+        @type QAbstractButton
         """
         if button == self.searchButton:
             self.on_programsSearchButton_clicked()
@@ -417,23 +419,30 @@
         """
         Private method to generate a program entry.
 
-        @param description descriptive text (string)
-        @param exe name of the executable program (string)
-        @param versionCommand command line switch to get the version info
-            (str). If this is empty, the given version will be shown.
+        @param description descriptive text
+        @type str
+        @param exe name of the executable program
+        @type str
+        @param versionCommand command line switch to get the version info.
+            If this is empty, the given version will be shown.
+        @type str
         @param versionStartsWith start of line identifying version info
-            (string)
+        @type str
         @param versionPosition index of part containing the version info
-            (integer)
-        @param version version string to show (string)
+        @type int
+        @param version version string to show
+        @type str
         @param versionCleanup tuple of two integers giving string positions
-            start and stop for the version string (tuple of integers)
+            start and stop for the version string
+        @type tuple of (int, int)
         @param versionRe regexp to determine the line identifying version
-            info (string). Takes precedence over versionStartsWith.
+            info. Takes precedence over versionStartsWith.
+        @type str
         @param exeModule list of command line parameters to execute a module
             with the program given in exe (e.g. to execute a Python module)
-            (list of str)
-        @return version string of detected or given version (string)
+        @type list of str
+        @return version string of detected or given version
+        @rtype str
         """
         itmList = self.programsList.findItems(
             description, Qt.MatchFlag.MatchCaseSensitive
@@ -542,9 +551,12 @@
         """
         Private method to generate a program entry.
 
-        @param description descriptive text (string)
-        @param entryText text to show (string)
-        @param entryVersion version string to show (string).
+        @param description descriptive text
+        @type str
+        @param entryText text to show
+        @type str
+        @param entryVersion version string to show
+        @type str
         """
         itm = QTreeWidgetItem(self.programsList, [description])
         font = itm.font(0)

eric ide

mercurial