72 """ |
72 """ |
73 Private method to initialize the actions. |
73 Private method to initialize the actions. |
74 """ |
74 """ |
75 acts = [] |
75 acts = [] |
76 |
76 |
77 self.aboutAct = E5Action(self.trUtf8('About {0}').format(Program), |
77 self.aboutAct = E5Action(self.trUtf8('About {0}').format(UI.Info.Program), |
78 UI.PixmapCache.getIcon("helpAbout.png"), |
78 UI.PixmapCache.getIcon("helpAbout.png"), |
79 self.trUtf8('&About {0}').format(Program), |
79 self.trUtf8('&About {0}').format(UI.Info.Program), |
80 0, 0, self, 'about_eric') |
80 0, 0, self, 'about_eric') |
81 self.aboutAct.setStatusTip(self.trUtf8('Display information about this software')) |
81 self.aboutAct.setStatusTip(self.trUtf8('Display information about this software')) |
82 self.aboutAct.setWhatsThis(self.trUtf8( |
82 self.aboutAct.setWhatsThis(self.trUtf8( |
83 """<b>About {0}</b>""" |
83 """<b>About {0}</b>""" |
84 """<p>Display some information about this software.</p>""" |
84 """<p>Display some information about this software.</p>""" |
85 ).format(Program)) |
85 ).format(UI.Info.Program)) |
86 self.aboutAct.triggered[()].connect(self.__about) |
86 self.aboutAct.triggered[()].connect(self.__about) |
87 acts.append(self.aboutAct) |
87 acts.append(self.aboutAct) |
88 |
88 |
89 self.aboutQtAct = E5Action(self.trUtf8('About Qt'), |
89 self.aboutQtAct = E5Action(self.trUtf8('About Qt'), |
90 UI.PixmapCache.getIcon("helpAboutQt.png"), |
90 UI.PixmapCache.getIcon("helpAboutQt.png"), |