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