src/eric7/WebBrowser/WebBrowserWebSearchWidget.py

branch
eric7
changeset 10436
f6881d10e995
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
diff -r c712d09cc839 -r f6881d10e995 src/eric7/WebBrowser/WebBrowserWebSearchWidget.py
--- a/src/eric7/WebBrowser/WebBrowserWebSearchWidget.py	Fri Dec 22 13:57:47 2023 +0100
+++ b/src/eric7/WebBrowser/WebBrowserWebSearchWidget.py	Fri Dec 22 17:24:07 2023 +0100
@@ -164,7 +164,8 @@
         """
         Private slot handling the selection of an entry from the completer.
 
-        @param index index of the item (QModelIndex)
+        @param index index of the item
+        @type QModelIndex
         """
         if (
             self.__suggestionsItem
@@ -184,8 +185,10 @@
         """
         Private slot handling the highlighting of an entry of the completer.
 
-        @param index index of the item (QModelIndex)
-        @return flah indicating a successful highlighting (boolean)
+        @param index index of the item
+        @type QModelIndex
+        @return flah indicating a successful highlighting
+        @rtype bool
         """
         if (
             self.__suggestionsItem
@@ -206,7 +209,8 @@
         """
         Private slot to handle changes of the search text.
 
-        @param txt search text (string)
+        @param txt search text
+        @type str
         """
         if self.__suggestionsEnabled:
             if self.__suggestTimer is None:
@@ -232,7 +236,8 @@
         """
         Private slot to receive a new list of suggestions.
 
-        @param suggestions list of suggestions (list of strings)
+        @param suggestions list of suggestions
+        @type list of str
         """
         self.__suggestions = suggestions
         self.__setupCompleterMenu()
@@ -358,7 +363,8 @@
         """
         Public method to get a reference to the opensearch manager object.
 
-        @return reference to the opensearch manager object (OpenSearchManager)
+        @return reference to the opensearch manager object
+        @rtype OpenSearchManager
         """
         return self.__openSearchManager
 
@@ -399,7 +405,8 @@
         """
         Protected method called by a mouse press event.
 
-        @param evt reference to the mouse event (QMouseEvent)
+        @param evt reference to the mouse event
+        @type QMouseEvent
         """
         if evt.button() == Qt.MouseButton.XButton1:
             self.__mw.currentBrowser().triggerPageAction(QWebEnginePage.WebAction.Back)

eric ide

mercurial