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

branch
eric7
changeset 10438
4cd7e5a8b3cf
parent 10069
435cc5875135
child 10439
21c28b0f9e41
diff -r 2f70ca07f0af -r 4cd7e5a8b3cf src/eric7/Plugins/VcsPlugins/vcsMercurial/HgDialog.py
--- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/HgDialog.py	Fri Dec 22 19:45:17 2023 +0100
+++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/HgDialog.py	Sat Dec 23 15:40:23 2023 +0100
@@ -28,11 +28,15 @@
         """
         Constructor
 
-        @param text text to be shown by the label (string)
-        @param hg reference to the Mercurial interface object (Hg)
+        @param text text to be shown by the label
+        @type str
+        @param hg reference to the Mercurial interface object
+        @type Hg
         @param useClient flag indicating to use the command server client
-            if possible (boolean)
-        @param parent parent widget (QWidget)
+            if possible
+        @type bool
+        @param parent parent widget
+        @type QWidget
         """
         super().__init__(parent)
         self.setupUi(self)
@@ -73,7 +77,8 @@
         """
         Private slot called by a button of the button box clicked.
 
-        @param button button that was clicked (QAbstractButton)
+        @param button button that was clicked
+        @type QAbstractButton
         """
         if button == self.buttonBox.button(QDialogButtonBox.StandardButton.Close):
             self.close()
@@ -147,7 +152,8 @@
         """
         Public method to check for a normal process termination.
 
-        @return flag indicating normal process termination (boolean)
+        @return flag indicating normal process termination
+        @rtype bool
         """
         return self.normal
 
@@ -156,7 +162,8 @@
         Public method to check for a normal process termination without
         error messages.
 
-        @return flag indicating normal process termination (boolean)
+        @return flag indicating normal process termination
+        @rtype bool
         """
         return self.normal and self.errors.toPlainText() == ""
 
@@ -164,7 +171,8 @@
         """
         Private slot to show some output.
 
-        @param out output to be shown (string)
+        @param out output to be shown
+        @type str
         """
         self.resultbox.insertPlainText(Utilities.filterAnsiSequences(out))
         self.resultbox.ensureCursorVisible()
@@ -182,7 +190,8 @@
         """
         Private slot to show some error.
 
-        @param out error to be shown (string)
+        @param out error to be shown
+        @type str
         """
         self.errorGroup.show()
         self.errors.insertPlainText(Utilities.filterAnsiSequences(out))
@@ -194,7 +203,8 @@
         """
         Public method to check, if the last action contained an add or delete.
 
-        @return flag indicating the presence of an add or delete (boolean)
+        @return flag indicating the presence of an add or delete
+        @rtype bool
         """
         return self.__hasAddOrDelete
 

eric ide

mercurial