--- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesListDialog.py Fri Dec 22 19:45:17 2023 +0100 +++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesListDialog.py Sat Dec 23 15:40:23 2023 +0100 @@ -24,7 +24,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) @@ -52,7 +54,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() @@ -74,7 +77,8 @@ and patches missing in the series file. @param missing flag indicating to get the patches missing in the - series file (boolean) + series file + @type bool """ if missing: self.__mode = "missing" @@ -143,7 +147,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() @@ -173,11 +178,16 @@ """ Private method to generate a patch item in the list of patches. - @param index index of the patch (integer, -1 for missing) - @param status status of the patch (string) - @param name name of the patch (string) - @param summary first line of the patch header (string) - @param error flag indicating an error entry (boolean) + @param index index of the patch (-1 for missing) + @type int + @param status status of the patch + @type str + @param name name of the patch + @type str + @param summary first line of the patch header + @type str + @param error flag indicating an error entry + @type bool """ if error: itm = QTreeWidgetItem(self.patchesList, ["", name, "", summary]) @@ -209,7 +219,8 @@ """ Private slot to mark the top patch entry. - @param name name of the patch (string) + @param name name of the patch + @type str """ items = self.patchesList.findItems(name, Qt.MatchFlag.MatchCaseSensitive, 1) if items: @@ -223,7 +234,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 self.__mode == "qtop": self.__markTopItem(line) @@ -247,7 +259,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)