eric6/UI/UserInterface.py

changeset 7806
b346755b09a1
parent 7804
1cbc27e34ec6
child 7807
5514ca6a62ca
equal deleted inserted replaced
7805:3cad282e8409 7806:b346755b09a1
2153 """<b>Show Error Log...</b>""" 2153 """<b>Show Error Log...</b>"""
2154 """<p>Opens a dialog showing the most recent error log.</p>""" 2154 """<p>Opens a dialog showing the most recent error log.</p>"""
2155 )) 2155 ))
2156 self.showErrorLogAct.triggered.connect(self.__showErrorLog) 2156 self.showErrorLogAct.triggered.connect(self.__showErrorLog)
2157 self.actions.append(self.showErrorLogAct) 2157 self.actions.append(self.showErrorLogAct)
2158
2159 self.showInstallInfoAct = E5Action(
2160 self.tr('Show Install Info'),
2161 self.tr('Show Install &Info...'),
2162 0, 0, self, 'show_install_info')
2163 self.showInstallInfoAct.setStatusTip(self.tr(
2164 'Show Installation Information'))
2165 self.showInstallInfoAct.setWhatsThis(self.tr(
2166 """<b>Show Install Info...</b>"""
2167 """<p>Opens a dialog showing some information about the"""
2168 """ installation process.</p>"""
2169 ))
2170 self.showInstallInfoAct.triggered.connect(self.__showInstallInfo)
2171 self.actions.append(self.showInstallInfoAct)
2158 2172
2159 self.reportBugAct = E5Action( 2173 self.reportBugAct = E5Action(
2160 self.tr('Report Bug'), 2174 self.tr('Report Bug'),
2161 self.tr('Report &Bug...'), 2175 self.tr('Report &Bug...'),
2162 0, 0, self, 'report_bug') 2176 0, 0, self, 'report_bug')
3184 self.__menus["help"].addAction(self.versionAct) 3198 self.__menus["help"].addAction(self.versionAct)
3185 self.__menus["help"].addSeparator() 3199 self.__menus["help"].addSeparator()
3186 self.__menus["help"].addAction(self.checkUpdateAct) 3200 self.__menus["help"].addAction(self.checkUpdateAct)
3187 self.__menus["help"].addAction(self.showVersionsAct) 3201 self.__menus["help"].addAction(self.showVersionsAct)
3188 self.__menus["help"].addSeparator() 3202 self.__menus["help"].addSeparator()
3203 self.__menus["help"].addAction(self.showInstallInfoAct)
3204 self.__menus["help"].addSeparator()
3189 self.__menus["help"].addAction(self.showErrorLogAct) 3205 self.__menus["help"].addAction(self.showErrorLogAct)
3190 self.__menus["help"].addAction(self.reportBugAct) 3206 self.__menus["help"].addAction(self.reportBugAct)
3191 self.__menus["help"].addAction(self.requestFeatureAct) 3207 self.__menus["help"].addAction(self.requestFeatureAct)
3192 self.__menus["help"].addSeparator() 3208 self.__menus["help"].addSeparator()
3193 self.__menus["help"].addAction(self.whatsThisAct) 3209 self.__menus["help"].addAction(self.whatsThisAct)
3781 self.ErrorLogFileName) 3797 self.ErrorLogFileName)
3782 if os.path.exists(logFile): 3798 if os.path.exists(logFile):
3783 from .ErrorLogDialog import ErrorLogDialog 3799 from .ErrorLogDialog import ErrorLogDialog
3784 dlg = ErrorLogDialog(logFile, True, self) 3800 dlg = ErrorLogDialog(logFile, True, self)
3785 dlg.show() 3801 dlg.show()
3786 3802
3803 def __showInstallInfo(self):
3804 """
3805 Private slot to show a dialog containing information about the
3806 installation process.
3807 """
3808 from .InstallInfoDialog import InstallInfoDialog
3809 dlg = InstallInfoDialog(self)
3810 if dlg.wasLoaded():
3811 dlg.exec()
3812
3787 def __compareFiles(self): 3813 def __compareFiles(self):
3788 """ 3814 """
3789 Private slot to handle the Compare Files dialog. 3815 Private slot to handle the Compare Files dialog.
3790 """ 3816 """
3791 aw = self.viewmanager.activeWindow() 3817 aw = self.viewmanager.activeWindow()

eric ide

mercurial