diff -r 2f70ca07f0af -r 4cd7e5a8b3cf src/eric7/Plugins/VcsPlugins/vcsMercurial/HgBookmarksInOutDialog.py --- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/HgBookmarksInOutDialog.py Fri Dec 22 19:45:17 2023 +0100 +++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/HgBookmarksInOutDialog.py Sat Dec 23 15:40:23 2023 +0100 @@ -27,9 +27,12 @@ Constructor @param vcs reference to the vcs object + @type Hg @param mode mode of the dialog (HgBookmarksInOutDialog.INCOMING, HgBookmarksInOutDialog.OUTGOING) - @param parent reference to the parent widget (QWidget) + @type int + @param parent reference to the parent widget + @type QWidget @exception ValueError raised to indicate an invalid dialog mode """ super().__init__(parent) @@ -60,7 +63,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() @@ -121,7 +125,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() @@ -153,8 +158,10 @@ """ Private method to generate a bookmark item in the bookmarks list. - @param changeset changeset of the bookmark (string) - @param name name of the bookmark (string) + @param changeset changeset of the bookmark + @type str + @param name name of the bookmark + @type str """ QTreeWidgetItem(self.bookmarksList, [name, changeset]) @@ -162,7 +169,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 """ if line.startswith(" "): li = line.strip().split() @@ -175,7 +183,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)