src/eric7/WebBrowser/Bookmarks/BookmarksToolBar.py

branch
eric7
changeset 10436
f6881d10e995
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
--- a/src/eric7/WebBrowser/Bookmarks/BookmarksToolBar.py	Fri Dec 22 13:57:47 2023 +0100
+++ b/src/eric7/WebBrowser/Bookmarks/BookmarksToolBar.py	Fri Dec 22 17:24:07 2023 +0100
@@ -35,9 +35,12 @@
         """
         Constructor
 
-        @param mainWindow reference to the main window (WebBrowserWindow)
-        @param model reference to the bookmarks model (BookmarksModel)
-        @param parent reference to the parent widget (QWidget)
+        @param mainWindow reference to the main window
+        @type WebBrowserWindow
+        @param model reference to the bookmarks model
+        @type BookmarksModel
+        @param parent reference to the parent widget
+        @type QWidget
         """
         EricModelToolBar.__init__(
             self, QCoreApplication.translate("BookmarksToolBar", "Bookmarks"), parent
@@ -74,7 +77,8 @@
         """
         Private slot to handle the context menu request.
 
-        @param pos position the context menu shall be shown (QPoint)
+        @param pos position the context menu shall be shown
+        @type QPoint
         """
         act = self.actionAt(pos)
         menu = QMenu()
@@ -117,7 +121,8 @@
         """
         Private method to update the visit count of a bookmark.
 
-        @param idx index of the bookmark item (QModelIndex)
+        @param idx index of the bookmark item
+        @type QModelIndex
         """
         from eric7.WebBrowser.WebBrowserWindow import WebBrowserWindow
 
@@ -129,7 +134,8 @@
         """
         Private slot handling the activation of a bookmark.
 
-        @param idx index of the activated bookmark (QModelIndex)
+        @param idx index of the activated bookmark
+        @type QModelIndex
         """
         if idx.isValid():
             if self._mouseButton == Qt.MouseButton.XButton1:
@@ -249,7 +255,8 @@
         """
         Protected method to create the menu for a tool bar action.
 
-        @return menu for a tool bar action (EricModelMenu)
+        @return menu for a tool bar action
+        @rtype EricModelMenu
         """
         from .BookmarksMenu import BookmarksMenu
 

eric ide

mercurial