diff -r 2f70ca07f0af -r 4cd7e5a8b3cf src/eric7/Plugins/VcsPlugins/vcsMercurial/HgDiffDialog.py --- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/HgDiffDialog.py Fri Dec 22 19:45:17 2023 +0100 +++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/HgDiffDialog.py Sat Dec 23 15:40:23 2023 +0100 @@ -33,7 +33,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) @@ -62,7 +64,8 @@ """ Protected slot implementing a close event handler. - @param e close event (QCloseEvent) + @param e close event + @type QCloseEvent """ self.__diffGenerator.stopProcess() e.accept() @@ -71,12 +74,16 @@ """ Public slot to start the hg diff command. - @param fn filename to be diffed (string) - @param versions list of versions to be diffed (list of up to - 2 strings or None) - @param bundle name of a bundle file (string) - @param qdiff flag indicating qdiff command shall be used (boolean) - @param refreshable flag indicating a refreshable diff (boolean) + @param fn filename to be diffed + @type str + @param versions list of versions to be diffed or None + @type list of [str, str] + @param bundle name of a bundle file + @type str + @param qdiff flag indicating qdiff command shall be used + @type bool + @param refreshable flag indicating a refreshable diff + @type bool """ self.refreshButton.setVisible(refreshable) @@ -152,7 +159,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.Save): self.on_saveButton_clicked() @@ -164,7 +172,8 @@ """ Private slot to handle the selection of a file. - @param index activated row (integer) + @param index activated row + @type int """ para = self.filesCombo.itemData(index)