--- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/HgBookmarksListDialog.py Fri Dec 22 19:45:17 2023 +0100 +++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/HgBookmarksListDialog.py Sat Dec 23 15:40:23 2023 +0100 @@ -35,7 +35,9 @@ Constructor @param vcs reference to the vcs object - @param parent parent widget (QWidget) + @type Hg + @param parent parent widget + @type QWidget """ super().__init__(parent) self.setupUi(self) @@ -65,7 +67,8 @@ """ Protected slot implementing a close event handler. - @param e close event (QCloseEvent) + @param e close event + @type QCloseEvent """ if self.__hgClient.isExecuting(): self.__hgClient.cancel() @@ -77,7 +80,7 @@ Public slot to start the bookmarks command. @param bookmarksList reference to string list receiving the bookmarks - (list of strings) + @type list of str """ self.bookmarksList.clear() self.__bookmarksDefined = False @@ -142,7 +145,8 @@ """ Private slot called by a button of the button box clicked. - @param button button that was clicked (QAbstractButton) + @param button button that was clicked + @type QAbstractButton """ if button == self.buttonBox.button(QDialogButtonBox.StandardButton.Close): self.close() @@ -176,10 +180,14 @@ """ Private method to generate a bookmark item in the bookmarks list. - @param revision revision of the bookmark (string) - @param changeset changeset of the bookmark (string) - @param status of the bookmark (string) - @param name name of the bookmark (string) + @param revision revision of the bookmark + @type str + @param changeset changeset of the bookmark + @type str + @param status of the bookmark + @type str + @param name name of the bookmark + @type str """ itm = QTreeWidgetItem(self.bookmarksList) if revision[0].isdecimal(): @@ -199,7 +207,8 @@ """ Private method to process the lines of output. - @param line output line to be processed (string) + @param line output line to be processed + @type str """ li = line.split() if li[-1][0] in "1234567890": @@ -220,7 +229,8 @@ """ Private slot to show some error. - @param out error to be shown (string) + @param out error to be shown + @type str """ self.errorGroup.show() self.errors.insertPlainText(out)