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

branch
eric7
changeset 10438
4cd7e5a8b3cf
parent 10069
435cc5875135
child 10439
21c28b0f9e41
--- a/src/eric7/Plugins/VcsPlugins/vcsGit/GitReflogBrowserDialog.py	Fri Dec 22 19:45:17 2023 +0100
+++ b/src/eric7/Plugins/VcsPlugins/vcsGit/GitReflogBrowserDialog.py	Sat Dec 23 15:40:23 2023 +0100
@@ -43,7 +43,9 @@
         Constructor
 
         @param vcs reference to the vcs object
-        @param parent reference to the parent widget (QWidget)
+        @type Git
+        @param parent reference to the parent widget
+        @type QWidget
         """
         super().__init__(parent)
         self.setupUi(self)
@@ -95,7 +97,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
@@ -138,11 +141,16 @@
         """
         Private method to generate a reflog tree entry.
 
-        @param commitId commit id info (string)
-        @param selector selector info (string)
-        @param name name info (string)
-        @param subject subject of the reflog entry (string)
-        @return reference to the generated item (QTreeWidgetItem)
+        @param commitId commit id info
+        @type str
+        @param selector selector info
+        @type str
+        @param name name info
+        @type str
+        @param subject subject of the reflog entry
+        @type str
+        @return reference to the generated item
+        @rtype QTreeWidgetItem
         """
         try:
             operation, subject = subject.strip().split(": ", 1)
@@ -164,7 +172,8 @@
         """
         Private method to retrieve reflog entries from the repository.
 
-        @param skip number of reflog entries to skip (integer)
+        @param skip number of reflog entries to skip
+        @type int
         """
         self.refreshButton.setEnabled(False)
         self.buttonBox.button(QDialogButtonBox.StandardButton.Close).setEnabled(False)
@@ -211,7 +220,8 @@
         """
         Public slot to start the git log command.
 
-        @param projectdir directory name of the project (string)
+        @param projectdir directory name of the project
+        @type str
         """
         self.errorGroup.hide()
         QApplication.processEvents()
@@ -235,8 +245,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.__processBuffer()
         self.__finish()
@@ -348,7 +360,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)
@@ -358,7 +371,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()
@@ -386,7 +400,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)
@@ -425,7 +440,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