eric6/UI/UserInterface.py

changeset 7806
b346755b09a1
parent 7804
1cbc27e34ec6
child 7807
5514ca6a62ca
--- a/eric6/UI/UserInterface.py	Mon Oct 19 17:19:27 2020 +0200
+++ b/eric6/UI/UserInterface.py	Mon Oct 19 20:02:01 2020 +0200
@@ -2156,6 +2156,20 @@
         self.showErrorLogAct.triggered.connect(self.__showErrorLog)
         self.actions.append(self.showErrorLogAct)
         
+        self.showInstallInfoAct = E5Action(
+            self.tr('Show Install Info'),
+            self.tr('Show Install &Info...'),
+            0, 0, self, 'show_install_info')
+        self.showInstallInfoAct.setStatusTip(self.tr(
+            'Show Installation Information'))
+        self.showInstallInfoAct.setWhatsThis(self.tr(
+            """<b>Show Install Info...</b>"""
+            """<p>Opens a dialog showing some information about the"""
+            """ installation process.</p>"""
+        ))
+        self.showInstallInfoAct.triggered.connect(self.__showInstallInfo)
+        self.actions.append(self.showInstallInfoAct)
+        
         self.reportBugAct = E5Action(
             self.tr('Report Bug'),
             self.tr('Report &Bug...'),
@@ -3186,6 +3200,8 @@
         self.__menus["help"].addAction(self.checkUpdateAct)
         self.__menus["help"].addAction(self.showVersionsAct)
         self.__menus["help"].addSeparator()
+        self.__menus["help"].addAction(self.showInstallInfoAct)
+        self.__menus["help"].addSeparator()
         self.__menus["help"].addAction(self.showErrorLogAct)
         self.__menus["help"].addAction(self.reportBugAct)
         self.__menus["help"].addAction(self.requestFeatureAct)
@@ -3783,7 +3799,17 @@
             from .ErrorLogDialog import ErrorLogDialog
             dlg = ErrorLogDialog(logFile, True, self)
             dlg.show()
-        
+    
+    def __showInstallInfo(self):
+        """
+        Private slot to show a dialog containing information about the
+        installation process.
+        """
+        from .InstallInfoDialog import InstallInfoDialog
+        dlg = InstallInfoDialog(self)
+        if dlg.wasLoaded():
+            dlg.exec()
+    
     def __compareFiles(self):
         """
         Private slot to handle the Compare Files dialog.

eric ide

mercurial