eric7/WebBrowser/WebBrowserWindow.py

branch
eric7
changeset 9167
2d2b9a26e904
parent 9153
506e35e424d5
equal deleted inserted replaced
9166:420cca1c5b6d 9167:2d2b9a26e904
2549 @pyqtSlot() 2549 @pyqtSlot()
2550 def __about(self): 2550 def __about(self):
2551 """ 2551 """
2552 Private slot to show the about information. 2552 Private slot to show the about information.
2553 """ 2553 """
2554 chromeVersion, webengineVersion = ( 2554 chromiumVersion, chromiumSecurityVersion, webengineVersion = (
2555 WebBrowserTools.getWebEngineVersions() 2555 WebBrowserTools.getWebEngineVersions()
2556 ) 2556 )
2557 EricMessageBox.about( 2557 if chromiumSecurityVersion:
2558 self, 2558 EricMessageBox.about(
2559 self.tr("eric Web Browser"), 2559 self,
2560 self.tr( 2560 self.tr("eric Web Browser"),
2561 """<b>eric Web Browser - {0}</b>""" 2561 self.tr(
2562 """<p>The eric Web Browser is a combined help file and HTML""" 2562 """<b>eric Web Browser - {0}</b>"""
2563 """ browser. It is part of the eric development""" 2563 """<p>The eric Web Browser is a combined help file and"""
2564 """ toolset.</p>""" 2564 """ HTML browser. It is part of the eric development"""
2565 """<p>It is based on QtWebEngine {1} and Chrome {2}.</p>""" 2565 """ toolset.</p>"""
2566 ).format(Version, webengineVersion, chromeVersion)) 2566 """<p>It is based on QtWebEngine {1} and Chromium {2}"""
2567 """ with Security Patches {3}.</p>"""
2568 ).format(Version, webengineVersion, chromiumVersion,
2569 chromiumSecurityVersion)
2570 )
2571 else:
2572 EricMessageBox.about(
2573 self,
2574 self.tr("eric Web Browser"),
2575 self.tr(
2576 """<b>eric Web Browser - {0}</b>"""
2577 """<p>The eric Web Browser is a combined help file and"""
2578 """ HTML browser. It is part of the eric development"""
2579 """ toolset.</p>"""
2580 """<p>It is based on QtWebEngine {1} and Chromium {2}."""
2581 """</p>"""
2582 ).format(Version, webengineVersion, chromiumVersion)
2583 )
2567 2584
2568 @pyqtSlot() 2585 @pyqtSlot()
2569 def __aboutQt(self): 2586 def __aboutQt(self):
2570 """ 2587 """
2571 Private slot to show info about Qt. 2588 Private slot to show info about Qt.

eric ide

mercurial