Plugins/PluginAbout.py

changeset 3004
c4bf32c791d0
parent 2712
4354ab0b67c7
child 3022
57179e4cdadd
child 3057
10516539f238
equal deleted inserted replaced
3003:cb43c34239b1 3004:c4bf32c791d0
71 """ 71 """
72 Private method to initialize the actions. 72 Private method to initialize the actions.
73 """ 73 """
74 acts = [] 74 acts = []
75 75
76 self.aboutAct = E5Action(self.trUtf8('About {0}').format(UI.Info.Program), 76 self.aboutAct = E5Action(
77 UI.PixmapCache.getIcon("helpAbout.png"), 77 self.trUtf8('About {0}').format(UI.Info.Program),
78 self.trUtf8('&About {0}').format(UI.Info.Program), 78 UI.PixmapCache.getIcon("helpAbout.png"),
79 0, 0, self, 'about_eric') 79 self.trUtf8('&About {0}').format(UI.Info.Program),
80 self.aboutAct.setStatusTip(self.trUtf8('Display information about this software')) 80 0, 0, self, 'about_eric')
81 self.aboutAct.setStatusTip(self.trUtf8(
82 'Display information about this software'))
81 self.aboutAct.setWhatsThis(self.trUtf8( 83 self.aboutAct.setWhatsThis(self.trUtf8(
82 """<b>About {0}</b>""" 84 """<b>About {0}</b>"""
83 """<p>Display some information about this software.</p>""" 85 """<p>Display some information about this software.</p>"""
84 ).format(UI.Info.Program)) 86 ).format(UI.Info.Program))
85 self.aboutAct.triggered[()].connect(self.__about) 87 self.aboutAct.triggered[()].connect(self.__about)

eric ide

mercurial