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

branch
eric7
changeset 10438
4cd7e5a8b3cf
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
--- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/HgAnnotateDialog.py	Fri Dec 22 19:45:17 2023 +0100
+++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/HgAnnotateDialog.py	Sat Dec 23 15:40:23 2023 +0100
@@ -28,7 +28,9 @@
         Constructor
 
         @param vcs reference to the vcs object
-        @param parent parent widget (QWidget)
+        @type Hg
+        @param parent parent widget
+        @type QWidget
         """
         super().__init__(parent)
         self.setupUi(self)
@@ -55,7 +57,8 @@
         """
         Protected slot implementing a close event handler.
 
-        @param e close event (QCloseEvent)
+        @param e close event
+        @type QCloseEvent
         """
         if self.__hgClient.isExecuting():
             self.__hgClient.cancel()
@@ -146,7 +149,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()
@@ -168,12 +172,18 @@
         """
         Private method to generate an annotate item in the annotation list.
 
-        @param marker marker character for skipped revisions (string)
-        @param revision revision string (string)
-        @param changeset changeset string (string)
-        @param author author of the change (string)
-        @param date date of the change (string)
-        @param text text of the change (string)
+        @param marker marker character for skipped revisions
+        @type str
+        @param revision revision string
+        @type str
+        @param changeset changeset string
+        @type str
+        @param author author of the change
+        @type str
+        @param date date of the change
+        @type str
+        @param text text of the change
+        @type str
         """
         itm = QTreeWidgetItem(
             self.annotateList,
@@ -200,7 +210,8 @@
         """
         Private method to process the lines of output.
 
-        @param line output line to be processed (string)
+        @param line output line to be processed
+        @type str
         """
         match = self.__annotateRe.match(line)
         author, rev, changeset, date, file, marker, text = match.groups()
@@ -214,7 +225,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(out)

eric ide

mercurial