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

branch
eric7
changeset 10438
4cd7e5a8b3cf
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
--- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/HgRepoConfigDataDialog.py	Fri Dec 22 19:45:17 2023 +0100
+++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/HgRepoConfigDataDialog.py	Sat Dec 23 15:40:23 2023 +0100
@@ -27,11 +27,12 @@
         """
         Constructor
 
-        @param withLargefiles flag indicating to configure the largefiles
-            section (boolean)
-        @param largefilesData dictionary with data for the largefiles
-            section (dict)
-        @param parent reference to the parent widget (QWidget)
+        @param withLargefiles flag indicating to configure the largefiles section
+        @type bool
+        @param largefilesData dictionary with data for the largefiles section
+        @type dictdict
+        @param parent reference to the parent widget
+        @type QWidget
         """
         super().__init__(parent)
         self.setupUi(self)
@@ -58,7 +59,8 @@
         Private slot to switch the default password visibility
         of the default password.
 
-        @param checked state of the push button (boolean)
+        @param checked state of the push button
+        @type bool
         """
         if checked:
             self.defaultPasswordEdit.setEchoMode(QLineEdit.EchoMode.Normal)
@@ -71,7 +73,8 @@
         Private slot to switch the default password visibility
         of the default push password.
 
-        @param checked state of the push button (boolean)
+        @param checked state of the push button
+        @type bool
         """
         if checked:
             self.defaultPushPasswordEdit.setEchoMode(QLineEdit.EchoMode.Normal)
@@ -82,8 +85,8 @@
         """
         Public method to get the data entered into the dialog.
 
-        @return tuple giving the default and default push URLs (tuple of
-            two strings)
+        @return tuple giving the default and default push URLs
+        @rtype tuple of (str, str)
         """
         defaultUrl = QUrl.fromUserInput(self.defaultUrlEdit.text())
         username = self.defaultUserEdit.text()
@@ -109,8 +112,9 @@
         """
         Public method to get the data for the largefiles extension.
 
-        @return tuple with the minimum file size (integer) and file patterns
-            (list of string). None as value denote to use the default value.
+        @return tuple with the minimum file size and file patterns. None as value
+            denote to use the default value.
+        @rtype tuple of (int, list of str)
         """
         if self.__withLargefiles:
             lfDefaults = getLargefilesDefaults()

eric ide

mercurial