src/eric7/Plugins/VcsPlugins/vcsGit/GitBranchDialog.py

branch
eric7
changeset 10438
4cd7e5a8b3cf
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
--- a/src/eric7/Plugins/VcsPlugins/vcsGit/GitBranchDialog.py	Fri Dec 22 19:45:17 2023 +0100
+++ b/src/eric7/Plugins/VcsPlugins/vcsGit/GitBranchDialog.py	Sat Dec 23 15:40:23 2023 +0100
@@ -32,11 +32,16 @@
         """
         Constructor
 
-        @param branchlist list of previously entered branches (list of strings)
-        @param revision revision to set tag for (string)
-        @param branchName name of the branch (string)
-        @param branchOp desired branch operation (integer)
-        @param parent parent widget (QWidget)
+        @param branchlist list of previously entered branches
+        @type list of str
+        @param revision revision to set tag for
+        @type str
+        @param branchName name of the branch
+        @type str
+        @param branchOp desired branch operation
+        @type int
+        @param parent parent widget
+        @type QWidget
         """
         super().__init__(parent)
         self.setupUi(self)
@@ -107,7 +112,8 @@
         """
         Private slot to handle the selection of creating a tracking branch.
 
-        @param checked state of the selection (boolean)
+        @param checked state of the selection
+        @type bool
         """
         self.branchCombo.setEditable(not checked)
         self.branchCombo.clear()
@@ -123,7 +129,8 @@
         """
         Private slot to handle the selection of setting a tracking branch.
 
-        @param checked state of the selection (boolean)
+        @param checked state of the selection
+        @type bool
         """
         self.__updateOK()
 
@@ -132,7 +139,8 @@
         """
         Private slot to handle the selection of unsetting a tracking branch.
 
-        @param checked state of the selection (boolean)
+        @param checked state of the selection
+        @type bool
         """
         self.__updateOK()
 
@@ -141,7 +149,8 @@
         """
         Private slot to handle a change of the branch.
 
-        @param text branch name entered in the combo (string)
+        @param text branch name entered in the combo
+        @type str
         """
         self.__updateOK()
 
@@ -150,7 +159,8 @@
         """
         Private slot to handle a change of the new branch.
 
-        @param text new branch name entered (string)
+        @param text new branch name entered
+        @type str
         """
         self.__updateOK()
 
@@ -158,9 +168,10 @@
         """
         Public method to retrieve the branch data.
 
-        @return tuple of an int, four strings and a boolean
-            (branch operation, branch name, revision, new branch name,
-            remote branch name, enforce operation)
+        @return tuple containing the branch operation, branch name, revision,
+            new branch name, remote branch name and a flag indicating to enforce
+            the operation
+        @rtype tuple of (int, str, str, str, str, bool)
         """
         branch = self.branchCombo.currentText().replace(" ", "_")
 

eric ide

mercurial