src/eric7/WebBrowser/SearchWidget.py

branch
eric7
changeset 10436
f6881d10e995
parent 10190
dbe6394786ea
child 10439
21c28b0f9e41
diff -r c712d09cc839 -r f6881d10e995 src/eric7/WebBrowser/SearchWidget.py
--- a/src/eric7/WebBrowser/SearchWidget.py	Fri Dec 22 13:57:47 2023 +0100
+++ b/src/eric7/WebBrowser/SearchWidget.py	Fri Dec 22 17:24:07 2023 +0100
@@ -25,8 +25,10 @@
         """
         Constructor
 
-        @param mainWindow reference to the main window (QMainWindow)
-        @param parent parent widget of this dialog (QWidget)
+        @param mainWindow reference to the main window
+        @type QMainWindow
+        @param parent parent widget of this dialog
+        @type QWidget
         """
         super().__init__(parent)
         self.setupUi(self)
@@ -58,7 +60,8 @@
         """
         Private slot to enable/disable the find buttons.
 
-        @param txt text of the combobox (string)
+        @param txt text of the combobox
+        @type str
         """
         self.findPrevButton.setEnabled(txt != "")
         self.findNextButton.setEnabled(txt != "")
@@ -68,7 +71,8 @@
         """
         Private slot to perform an incremental search.
 
-        @param txt current text of the search combos line edit (string)
+        @param txt current text of the search combos line edit
+        @type str
             (unused)
         """
         self.__findNextPrev()
@@ -208,7 +212,8 @@
         """
         Protected slot to handle key press events.
 
-        @param event reference to the key press event (QKeyEvent)
+        @param event reference to the key press event
+        @type QKeyEvent
         """
         if event.key() == Qt.Key.Key_Escape:
             cb = self.__mainWindow.currentBrowser()
@@ -223,7 +228,8 @@
         Private slot to change the findtext combo background to indicate
         errors.
 
-        @param error flag indicating an error condition (boolean)
+        @param error flag indicating an error condition
+        @type bool
         """
         styleSheet = (
             "color: #000000; background-color: #ff6666"

eric ide

mercurial