src/eric7/Plugins/VcsPlugins/vcsPySvn/SvnDialog.py

branch
eric7
changeset 10438
4cd7e5a8b3cf
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
--- a/src/eric7/Plugins/VcsPlugins/vcsPySvn/SvnDialog.py	Fri Dec 22 19:45:17 2023 +0100
+++ b/src/eric7/Plugins/VcsPlugins/vcsPySvn/SvnDialog.py	Sat Dec 23 15:40:23 2023 +0100
@@ -28,12 +28,16 @@
         """
         Constructor
 
-        @param text text to be shown by the label (string)
+        @param text text to be shown by the label
+        @type str
         @param command svn command to be executed (display purposes only)
-            (string)
-        @param pysvnClient reference to the pysvn client object (pysvn.Client)
-        @param parent parent widget (QWidget)
-        @param log optional log message (string)
+        @type str
+        @param pysvnClient reference to the pysvn client object
+        @type pysvn.Client
+        @param parent parent widget
+        @type QWidget
+        @param log optional log message
+        @type str
         """
         super().__init__(parent)
         self.setupUi(self)
@@ -69,6 +73,7 @@
         Protected method called by the client to send events.
 
         @param eventDict dictionary containing the notification event
+        @type dict
         """
         msg = ""
         if eventDict["action"] == pysvn.wc_notify_action.update_completed:
@@ -106,7 +111,8 @@
         """
         Public slot to show a message.
 
-        @param msg message to show (string)
+        @param msg message to show
+        @type str
         """
         self.resultbox.insertPlainText(msg)
         self.resultbox.ensureCursorVisible()
@@ -116,7 +122,8 @@
         """
         Public slot to show an error message.
 
-        @param msg error message to show (string)
+        @param msg error message to show
+        @type str
         """
         self.errorGroup.show()
         self.errors.insertPlainText(msg)
@@ -141,7 +148,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()
@@ -152,6 +160,7 @@
         """
         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