src/eric7/UI/AuthenticationDialog.py

branch
eric7
changeset 10433
328f3ec4b77a
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
diff -r 2fe91fe443dd -r 328f3ec4b77a src/eric7/UI/AuthenticationDialog.py
--- 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()

eric ide

mercurial