--- a/src/eric7/UI/AuthenticationDialog.py Thu Dec 21 15:46:22 2023 +0100 +++ b/src/eric7/UI/AuthenticationDialog.py Thu Dec 21 19:50:01 2023 +0100 @@ -21,11 +21,16 @@ """ Constructor - @param info information to be shown (string) - @param username username as supplied by subversion (string) - @param showSave flag to indicate to show the save checkbox (boolean) - @param saveIt flag indicating the value for the save checkbox (boolean) - @param parent reference to the parent widget (QWidget) + @param info information to be shown + @type str + @param username username as supplied by subversion + @type str + @param showSave flag to indicate to show the save checkbox + @type bool + @param saveIt flag indicating the value for the save checkbox + @type bool + @param parent reference to the parent widget + @type QWidget """ super().__init__(parent) self.setupUi(self) @@ -49,8 +54,10 @@ """ Public method to set the login data. - @param username username (string) - @param password password (string) + @param username username + @type str + @param password password + @type str """ self.usernameEdit.setText(username) self.passwordEdit.setText(password) @@ -59,7 +66,8 @@ """ Public method to retrieve the login data. - @return tuple of two string values (username, password) + @return tuple containing the user name and password + @rtype tuple of (str, str) """ return (self.usernameEdit.text(), self.passwordEdit.text()) @@ -67,6 +75,7 @@ """ Public method to check, if the login data shall be saved. - @return flag indicating that the login data shall be saved (boolean) + @return flag indicating that the login data shall be saved + @rtype bool """ return self.saveCheckBox.isChecked()