3153 def __initEricDocAction(self): |
3153 def __initEricDocAction(self): |
3154 """ |
3154 """ |
3155 Private slot to initialize the action to show the eric documentation. |
3155 Private slot to initialize the action to show the eric documentation. |
3156 """ |
3156 """ |
3157 self.ericDocAct = EricAction( |
3157 self.ericDocAct = EricAction( |
3158 self.tr("Eric API Documentation"), |
3158 self.tr("eric API Documentation"), |
3159 self.tr('Eric API Documentation'), |
3159 self.tr('eric API Documentation'), |
3160 0, 0, self, 'eric_documentation') |
3160 0, 0, self, 'eric_documentation') |
3161 self.ericDocAct.setStatusTip(self.tr( |
3161 self.ericDocAct.setStatusTip(self.tr( |
3162 "Open Eric API Documentation")) |
3162 "Open eric API Documentation")) |
3163 self.ericDocAct.setWhatsThis(self.tr( |
3163 self.ericDocAct.setWhatsThis(self.tr( |
3164 """<b>Eric API Documentation</b>""" |
3164 """<b>eric API Documentation</b>""" |
3165 """<p>Display the Eric API documentation. The location for the""" |
3165 """<p>Display the eric API documentation. The location for the""" |
3166 """ documentation is the Documentation/Source subdirectory of""" |
3166 """ documentation is the Documentation/Source subdirectory of""" |
3167 """ the eric installation directory.</p>""" |
3167 """ the eric installation directory.</p>""" |
3168 )) |
3168 )) |
3169 self.ericDocAct.triggered.connect(self.__showEricDoc) |
3169 self.ericDocAct.triggered.connect(self.__showEricDoc) |
3170 self.actions.append(self.ericDocAct) |
3170 self.actions.append(self.ericDocAct) |