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) |