src/eric7/WebBrowser/WebBrowserTabBar.py

branch
eric7
changeset 10436
f6881d10e995
parent 10069
435cc5875135
child 10439
21c28b0f9e41
--- a/src/eric7/WebBrowser/WebBrowserTabBar.py	Fri Dec 22 13:57:47 2023 +0100
+++ b/src/eric7/WebBrowser/WebBrowserTabBar.py	Fri Dec 22 17:24:07 2023 +0100
@@ -24,7 +24,8 @@
         """
         Constructor
 
-        @param parent reference to the parent widget (WebBrowserTabWidget)
+        @param parent reference to the parent widget
+        @type WebBrowserTabWidget
         """
         super().__init__(parent)
 
@@ -87,7 +88,8 @@
         """
         Protected method to handle mouse move events.
 
-        @param evt reference to the mouse move event (QMouseEvent)
+        @param evt reference to the mouse move event
+        @type QMouseEvent
         """
         if self.count() == 1:
             return
@@ -126,7 +128,8 @@
         """
         Protected method to handle leave events.
 
-        @param evt reference to the leave event (QEvent)
+        @param evt reference to the leave event
+        @type QEvent
         """
         if Preferences.getWebBrowser("ShowPreview"):
             # If leave tabwidget then hide previous tab preview
@@ -138,7 +141,8 @@
         """
         Protected method to handle mouse press events.
 
-        @param evt reference to the mouse press event (QMouseEvent)
+        @param evt reference to the mouse press event
+        @type QMouseEvent
         """
         if Preferences.getWebBrowser("ShowPreview"):
             self.__hidePreview()
@@ -152,8 +156,10 @@
         This event handler just handles the tooltip event and passes the
         handling of all others to the superclass.
 
-        @param evt reference to the event to be handled (QEvent)
-        @return flag indicating, if the event was handled (boolean)
+        @param evt reference to the event to be handled
+        @type QEvent
+        @return flag indicating, if the event was handled
+        @rtype bool
         """
         if evt.type() == QEvent.Type.ToolTip and Preferences.getWebBrowser(
             "ShowPreview"
@@ -168,7 +174,8 @@
         """
         Public slot to handle the removal of a tab.
 
-        @param index index of the removed tab (integer)
+        @param index index of the removed tab
+        @type int
         """
         if Preferences.getWebBrowser("ShowPreview"):
             self.__hidePreview()

eric ide

mercurial