eric7/Plugins/VcsPlugins/vcsMercurial/CloseheadExtension/ProjectHelper.py

branch
eric7
changeset 8356
68ec9c3d4de5
parent 8318
962bce857696
child 8358
144a6b854f70
equal deleted inserted replaced
8355:8a7677a63c8d 8356:68ec9c3d4de5
7 Module implementing the closehead extension project helper. 7 Module implementing the closehead extension project helper.
8 """ 8 """
9 9
10 from PyQt6.QtWidgets import QMenu 10 from PyQt6.QtWidgets import QMenu
11 11
12 from E5Gui.E5Action import E5Action 12 from E5Gui.EricAction import EricAction
13 13
14 from ..HgExtensionProjectHelper import HgExtensionProjectHelper 14 from ..HgExtensionProjectHelper import HgExtensionProjectHelper
15 15
16 import UI.PixmapCache 16 import UI.PixmapCache
17 17
28 28
29 def initActions(self): 29 def initActions(self):
30 """ 30 """
31 Public method to generate the action objects. 31 Public method to generate the action objects.
32 """ 32 """
33 self.hgCloseheadAct = E5Action( 33 self.hgCloseheadAct = EricAction(
34 self.tr('Close Heads'), 34 self.tr('Close Heads'),
35 UI.PixmapCache.getIcon("closehead"), 35 UI.PixmapCache.getIcon("closehead"),
36 self.tr('Close Heads'), 36 self.tr('Close Heads'),
37 0, 0, self, 'mercurial_closehead') 37 0, 0, self, 'mercurial_closehead')
38 self.hgCloseheadAct.setStatusTip(self.tr( 38 self.hgCloseheadAct.setStatusTip(self.tr(

eric ide

mercurial