src/eric7/Plugins/VcsPlugins/vcsMercurial/LargefilesExtension/ProjectBrowserHelper.py

branch
eric7
changeset 10438
4cd7e5a8b3cf
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
diff -r 2f70ca07f0af -r 4cd7e5a8b3cf src/eric7/Plugins/VcsPlugins/vcsMercurial/LargefilesExtension/ProjectBrowserHelper.py
--- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/LargefilesExtension/ProjectBrowserHelper.py	Fri Dec 22 19:45:17 2023 +0100
+++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/LargefilesExtension/ProjectBrowserHelper.py	Sat Dec 23 15:40:23 2023 +0100
@@ -24,8 +24,11 @@
         Constructor
 
         @param vcsObject reference to the vcs object
+        @type Hg
         @param browserObject reference to the project browser object
+        @type ProjectBaseBrowser
         @param projectObject reference to the project object
+        @type Project
         """
         super().__init__(vcsObject, browserObject, projectObject)
 
@@ -35,9 +38,9 @@
 
         Note: Derived class must implement this method.
 
-        @return dictionary of populated menu (dict of QMenu). The dict
-            must have the keys 'mainMenu', 'multiMenu', 'backMenu', 'dirMenu'
-            and 'dirMultiMenu'.
+        @return dictionary of populated menu. The dict must have the keys
+            'mainMenu', 'multiMenu', 'backMenu', 'dirMenu' and 'dirMultiMenu'.
+        @rtype dict of QMenu
         """
         self.__menus = {}
         self.__addSingleActs = []
@@ -83,7 +86,8 @@
 
         Note: Derived class must implement this method.
 
-        @return title of the menu (string)
+        @return title of the menu
+        @rtype str
         """
         return self.tr("Large Files")
 
@@ -91,11 +95,12 @@
         """
         Public method to prepare the extension menu for display.
 
-        @param key menu key (string, one of 'mainMenu', 'multiMenu',
-            'backMenu', 'dirMenu' or 'dirMultiMenu')
+        @param key menu key (one of 'mainMenu', 'multiMenu', 'backMenu', 'dirMenu'
+            or 'dirMultiMenu')
+        @type str
         @param controlled flag indicating to prepare the menu for a
             version controlled entry or a non-version controlled entry
-            (boolean)
+        @type bool
         """
         if key == "mainMenu":
             for act in self.__addSingleActs:
@@ -108,7 +113,8 @@
         """
         Private slot to add the selected files as large files.
 
-        @param mode add mode (string one of 'normal' or 'large')
+        @param mode add mode (string ne of 'normal' or 'large')
+        @type str
         """
         names = []
         for itm in self.browser.getSelectedItems():

eric ide

mercurial