src/eric7/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesDefineGuardsDialog.py

branch
eric7
changeset 10438
4cd7e5a8b3cf
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
--- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesDefineGuardsDialog.py	Fri Dec 22 19:45:17 2023 +0100
+++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesDefineGuardsDialog.py	Sat Dec 23 15:40:23 2023 +0100
@@ -26,9 +26,13 @@
         Constructor
 
         @param vcs reference to the vcs object
-        @param extension reference to the extension module (Queues)
-        @param patchesList list of patches (list of strings)
-        @param parent reference to the parent widget (QWidget)
+        @type Hg
+        @param extension reference to the extension module
+        @type Queues
+        @param patchesList list of patches
+        @type list of str
+        @param parent reference to the parent widget
+        @type QWidget
         """
         super().__init__(parent)
         self.setupUi(self)
@@ -54,7 +58,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()
@@ -154,8 +159,10 @@
         """
         Private method to get a reference to a named guard.
 
-        @param guard name of the guard (string)
-        @return reference to the guard item (QListWidgetItem)
+        @param guard name of the guard
+        @type str
+        @return reference to the guard item
+        @rtype QListWidgetItem
         """
         items = self.guardsList.findItems(guard, Qt.MatchFlag.MatchCaseSensitive)
         if items:
@@ -168,7 +175,8 @@
         """
         Private slot to handle changes of the text of the guard combo.
 
-        @param txt contents of the guard combo line edit (string)
+        @param txt contents of the guard combo line edit
+        @type str
         """
         self.addButton.setEnabled(txt != "")
 
@@ -221,7 +229,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.Apply):
             self.__applyGuards()

eric ide

mercurial