src/eric7/Plugins/VcsPlugins/vcsSubversion/SvnBlameDialog.py

branch
eric7
changeset 10438
4cd7e5a8b3cf
parent 10069
435cc5875135
child 10439
21c28b0f9e41
--- a/src/eric7/Plugins/VcsPlugins/vcsSubversion/SvnBlameDialog.py	Fri Dec 22 19:45:17 2023 +0100
+++ b/src/eric7/Plugins/VcsPlugins/vcsSubversion/SvnBlameDialog.py	Sat Dec 23 15:40:23 2023 +0100
@@ -35,7 +35,9 @@
         Constructor
 
         @param vcs reference to the vcs object
-        @param parent parent widget (QWidget)
+        @type Subversion
+        @param parent parent widget
+        @type QWidget
         """
         super().__init__(parent)
         self.setupUi(self)
@@ -61,7 +63,8 @@
         """
         Protected slot implementing a close event handler.
 
-        @param e close event (QCloseEvent)
+        @param e close event
+        @type QCloseEvent
         """
         if (
             self.process is not None
@@ -77,7 +80,8 @@
         """
         Public slot to start the svn blame command.
 
-        @param fn filename to show the blame for (string)
+        @param fn filename to show the blame for
+        @type str
         """
         self.blameList.clear()
         self.errorGroup.hide()
@@ -142,7 +146,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()
@@ -154,8 +159,10 @@
         """
         Private slot connected to the finished signal.
 
-        @param exitCode exit code of the process (integer)
-        @param exitStatus exit status of the process (QProcess.ExitStatus)
+        @param exitCode exit code of the process
+        @type int
+        @param exitStatus exit status of the process
+        @type QProcess.ExitStatus
         """
         self.__finish()
 
@@ -169,9 +176,12 @@
         """
         Private method to generate a blame item in the blame list.
 
-        @param revision revision string (string)
-        @param author author of the change (string)
-        @param text line of text from the annotated file (string)
+        @param revision revision string
+        @type str
+        @param author author of the change
+        @type str
+        @param text line of text from the annotated file
+        @type str
         """
         itm = QTreeWidgetItem(
             self.blameList, [revision, author, "{0:d}".format(self.lineno), text]
@@ -220,7 +230,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.input.setEchoMode(QLineEdit.EchoMode.Password)
@@ -258,7 +269,8 @@
         """
         Protected slot to handle a key press event.
 
-        @param evt the key press event (QKeyEvent)
+        @param evt the key press event
+        @type QKeyEvent
         """
         if self.intercept:
             self.intercept = False

eric ide

mercurial