--- a/src/eric7/WebBrowser/Bookmarks/BookmarksDialog.py Fri Dec 22 13:57:47 2023 +0100 +++ b/src/eric7/WebBrowser/Bookmarks/BookmarksDialog.py Fri Dec 22 17:24:07 2023 +0100 @@ -37,9 +37,10 @@ """ Constructor - @param parent reference to the parent widget (QWidget + @param parent reference to the parent widget + @type QWidge @param manager reference to the bookmarks manager object - (BookmarksManager) + @type BookmarksManager """ super().__init__(parent) self.setupUi(self) @@ -78,7 +79,8 @@ """ Protected method to handle the closing of the dialog. - @param evt reference to the event object (QCloseEvent) (ignored) + @param evt reference to the event object (ignored) + @type QCloseEvent """ self.__shutdown() @@ -100,8 +102,10 @@ """ Private method to save the child nodes of an expanded node. - @param parent index of the parent node (QModelIndex) - @return flag indicating a change (boolean) + @param parent index of the parent node + @type QModelIndex + @return flag indicating a change + @rtype bool """ changed = False for row in range(self.__proxyModel.rowCount(parent)): @@ -122,7 +126,8 @@ """ Private method to expand all child nodes of a node. - @param node reference to the bookmark node to expand (BookmarkNode) + @param node reference to the bookmark node to expand + @type BookmarkNode """ for childNode in node.children(): if childNode.expanded: @@ -135,7 +140,8 @@ """ Private slot to handle the context menu request for the bookmarks tree. - @param pos position the context menu was requested (QPoint) + @param pos position the context menu was requested + @type QPoint """ from .BookmarkNode import BookmarkNode @@ -185,7 +191,8 @@ """ Private slot to handle the activation of an entry. - @param idx reference to the entry index (QModelIndex) + @param idx reference to the entry index + @type QModelIndex """ if QApplication.keyboardModifiers() & Qt.KeyboardModifier.ControlModifier: self.__openBookmarkInNewTab()