--- a/src/eric7/Plugins/VcsPlugins/vcsSubversion/SvnDialog.py Fri Dec 22 19:45:17 2023 +0100 +++ b/src/eric7/Plugins/VcsPlugins/vcsSubversion/SvnDialog.py Sat Dec 23 15:40:23 2023 +0100 @@ -32,8 +32,10 @@ """ Constructor - @param text text to be shown by the label (string) - @param parent parent widget (QWidget) + @param text text to be shown by the label + @type str + @param parent parent widget + @type QWidget """ super().__init__(parent) self.setupUi(self) @@ -88,7 +90,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() @@ -99,8 +102,10 @@ """ Private slot connected to the finished signal. - @param exitCode exit code of the process (integer) - @param exitStatus exit status of the process (QProcess.ExitStatus) + @param exitCode exit code of the process + @type int + @param exitStatus exit status of the process + @type QProcess.ExitStatus """ self.normal = exitStatus == QProcess.ExitStatus.NormalExit and exitCode == 0 self.__finish() @@ -109,10 +114,14 @@ """ Public slot used to start the process. - @param args list of arguments for the process (list of strings) - @param workingDir working directory for the process (string) - @param setLanguage flag indicating to set the language to "C" (boolean) + @param args list of arguments for the process + @type list of str + @param workingDir working directory for the process + @type str + @param setLanguage flag indicating to set the language to "C" + @type bool @return flag indicating a successful start of the process + @rtype bool """ self.errorGroup.hide() self.normal = False @@ -168,7 +177,8 @@ """ Public method to check for a normal process termination. - @return flag indicating normal process termination (boolean) + @return flag indicating normal process termination + @rtype bool """ return self.normal @@ -218,7 +228,8 @@ """ Private slot to handle the password checkbox toggled. - @param isOn flag indicating the status of the check box (boolean) + @param isOn flag indicating the status of the check box + @type bool """ if isOn: self.input.setEchoMode(QLineEdit.EchoMode.Password) @@ -256,7 +267,8 @@ """ Protected slot to handle a key press event. - @param evt the key press event (QKeyEvent) + @param evt the key press event + @type QKeyEvent """ if self.intercept: self.intercept = False @@ -268,6 +280,7 @@ """ Public method to check, if the last action contained an add or delete. - @return flag indicating the presence of an add or delete (boolean) + @return flag indicating the presence of an add or delete + @rtype bool """ return self.__hasAddOrDelete