src/eric7/Plugins/VcsPlugins/vcsMercurial/HgClientPromptDialog.py

branch
eric7
changeset 10438
4cd7e5a8b3cf
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
diff -r 2f70ca07f0af -r 4cd7e5a8b3cf src/eric7/Plugins/VcsPlugins/vcsMercurial/HgClientPromptDialog.py
--- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/HgClientPromptDialog.py	Fri Dec 22 19:45:17 2023 +0100
+++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/HgClientPromptDialog.py	Sat Dec 23 15:40:23 2023 +0100
@@ -23,9 +23,12 @@
         """
         Constructor
 
-        @param size maximum length of the requested input (integer)
-        @param message message sent by the server (string)
-        @param parent reference to the parent widget (QWidget)
+        @param size maximum length of the requested input
+        @type int
+        @param message message sent by the server
+        @type str
+        @param parent reference to the parent widget
+        @type QWidget
         """
         super().__init__(parent)
         self.setupUi(self)
@@ -47,7 +50,8 @@
         """
         Private slot to handle changes of the user input.
 
-        @param txt text entered by the user (string)
+        @param txt text entered by the user
+        @type str
         """
         self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(bool(txt))
 
@@ -56,7 +60,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.inputEdit.setEchoMode(QLineEdit.EchoMode.Password)
@@ -67,7 +72,8 @@
         """
         Public method to get the user input.
 
-        @return user input (string)
+        @return user input
+        @rtype str
         """
         return self.inputEdit.text()
 

eric ide

mercurial