src/eric7/WebBrowser/Bookmarks/BookmarksMenu.py

branch
eric7
changeset 10436
f6881d10e995
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
--- a/src/eric7/WebBrowser/Bookmarks/BookmarksMenu.py	Fri Dec 22 13:57:47 2023 +0100
+++ b/src/eric7/WebBrowser/Bookmarks/BookmarksMenu.py	Fri Dec 22 17:24:07 2023 +0100
@@ -38,7 +38,8 @@
         """
         Constructor
 
-        @param parent reference to the parent widget (QWidget)
+        @param parent reference to the parent widget
+        @type QWidget
         """
         EricModelMenu.__init__(self, parent)
 
@@ -53,7 +54,8 @@
         """
         Public method to get the menu that is used to populate sub menu's.
 
-        @return reference to the menu (BookmarksMenu)
+        @return reference to the menu
+        @rtype BookmarksMenu
         """
         menu = BookmarksMenu(self)
         menu.openUrl.connect(self.openUrl)
@@ -65,7 +67,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
 
@@ -77,7 +80,8 @@
         """
         Private slot handling the activated signal.
 
-        @param idx index of the activated item (QModelIndex)
+        @param idx index of the activated item
+        @type QModelIndex
         """
         if self._keyboardModifiers & Qt.KeyboardModifier.ControlModifier:
             self.newTab.emit(
@@ -155,7 +159,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)
 
@@ -294,7 +299,8 @@
         """
         Constructor
 
-        @param parent reference to the parent widget (QWidget)
+        @param parent reference to the parent widget
+        @type QWidget
         """
         BookmarksMenu.__init__(self, parent)
 
@@ -304,7 +310,8 @@
         """
         Public method to add any actions before the tree.
 
-        @return flag indicating if any actions were added (boolean)
+        @return flag indicating if any actions were added
+        @rtype bool
         """
         from eric7.WebBrowser.WebBrowserWindow import WebBrowserWindow
 
@@ -361,7 +368,8 @@
         Public method to set the list of actions that should appear first in
         the menu.
 
-        @param actions list of initial actions (list of QAction)
+        @param actions list of initial actions
+        @type list of QAction
         """
         self.__initialActions = actions[:]
         for act in self.__initialActions:

eric ide

mercurial