7 Module implementing the shelve extension project helper. |
7 Module implementing the shelve extension project helper. |
8 """ |
8 """ |
9 |
9 |
10 from PyQt6.QtWidgets import QMenu |
10 from PyQt6.QtWidgets import QMenu |
11 |
11 |
12 from EricGui.EricAction import EricAction |
12 from eric7.EricGui.EricAction import EricAction |
13 |
13 |
14 from ..HgExtensionProjectHelper import HgExtensionProjectHelper |
14 from ..HgExtensionProjectHelper import HgExtensionProjectHelper |
15 |
15 |
16 import UI.PixmapCache |
16 from eric7.EricGui import EricPixmapCache |
17 |
17 |
18 |
18 |
19 class LargefilesProjectHelper(HgExtensionProjectHelper): |
19 class LargefilesProjectHelper(HgExtensionProjectHelper): |
20 """ |
20 """ |
21 Class implementing the queues extension project helper. |
21 Class implementing the queues extension project helper. |
79 ) |
79 ) |
80 self.actions.append(self.hgConvertToNormalAct) |
80 self.actions.append(self.hgConvertToNormalAct) |
81 |
81 |
82 self.hgLfPullAct = EricAction( |
82 self.hgLfPullAct = EricAction( |
83 self.tr("Pull Large Files"), |
83 self.tr("Pull Large Files"), |
84 UI.PixmapCache.getIcon("vcsUpdate"), |
84 EricPixmapCache.getIcon("vcsUpdate"), |
85 self.tr("Pull Large Files"), |
85 self.tr("Pull Large Files"), |
86 0, |
86 0, |
87 0, |
87 0, |
88 self, |
88 self, |
89 "mercurial_pull_largefiles", |
89 "mercurial_pull_largefiles", |
101 self.hgLfPullAct.triggered.connect(self.__hgLfPull) |
101 self.hgLfPullAct.triggered.connect(self.__hgLfPull) |
102 self.actions.append(self.hgLfPullAct) |
102 self.actions.append(self.hgLfPullAct) |
103 |
103 |
104 self.hgLfSummaryAct = EricAction( |
104 self.hgLfSummaryAct = EricAction( |
105 self.tr("Show Summary"), |
105 self.tr("Show Summary"), |
106 UI.PixmapCache.getIcon("vcsSummary"), |
106 EricPixmapCache.getIcon("vcsSummary"), |
107 self.tr("Show summary..."), |
107 self.tr("Show summary..."), |
108 0, |
108 0, |
109 0, |
109 0, |
110 self, |
110 self, |
111 "mercurial_summary_largefiles", |
111 "mercurial_summary_largefiles", |