Plugins/PluginAbout.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2791
a9577f248f04
parent 3004
c4bf32c791d0
child 3058
0a02c433f52d
equal deleted inserted replaced
3056:9986ec0e559a 3057:10516539f238
73 """ 73 """
74 Private method to initialize the actions. 74 Private method to initialize the actions.
75 """ 75 """
76 acts = [] 76 acts = []
77 77
78 self.aboutAct = E5Action(self.trUtf8('About {0}').format(UI.Info.Program), 78 self.aboutAct = E5Action(
79 UI.PixmapCache.getIcon("helpAbout.png"), 79 self.trUtf8('About {0}').format(UI.Info.Program),
80 self.trUtf8('&About {0}').format(UI.Info.Program), 80 UI.PixmapCache.getIcon("helpAbout.png"),
81 0, 0, self, 'about_eric') 81 self.trUtf8('&About {0}').format(UI.Info.Program),
82 self.aboutAct.setStatusTip(self.trUtf8('Display information about this software')) 82 0, 0, self, 'about_eric')
83 self.aboutAct.setStatusTip(self.trUtf8(
84 'Display information about this software'))
83 self.aboutAct.setWhatsThis(self.trUtf8( 85 self.aboutAct.setWhatsThis(self.trUtf8(
84 """<b>About {0}</b>""" 86 """<b>About {0}</b>"""
85 """<p>Display some information about this software.</p>""" 87 """<p>Display some information about this software.</p>"""
86 ).format(UI.Info.Program)) 88 ).format(UI.Info.Program))
87 self.aboutAct.triggered[()].connect(self.__about) 89 self.aboutAct.triggered[()].connect(self.__about)

eric ide

mercurial