eric7/eric7_browser.py

branch
eric7
changeset 8358
144a6b854f70
parent 8356
68ec9c3d4de5
child 8552
f9cf1ff5126a
equal deleted inserted replaced
8357:a081458cc57b 8358:144a6b854f70
39 from PyQt6 import QtWebEngineWidgets # __IGNORE_WARNING__ 39 from PyQt6 import QtWebEngineWidgets # __IGNORE_WARNING__
40 except ImportError: 40 except ImportError:
41 if "--quiet" not in sys.argv: 41 if "--quiet" not in sys.argv:
42 from PyQt6.QtCore import QTimer 42 from PyQt6.QtCore import QTimer
43 from PyQt6.QtWidgets import QApplication 43 from PyQt6.QtWidgets import QApplication
44 from E5Gui import EricMessageBox # __IGNORE_WARNING__ 44 from EricWidgets import EricMessageBox # __IGNORE_WARNING__
45 app = QApplication([]) 45 app = QApplication([])
46 QTimer.singleShot(0, lambda: EricMessageBox.critical( 46 QTimer.singleShot(0, lambda: EricMessageBox.critical(
47 None, 47 None,
48 "eric Web Browser", 48 "eric Web Browser",
49 "QtWebEngineWidgets is not installed but needed to execute the" 49 "QtWebEngineWidgets is not installed but needed to execute the"
54 from PyQt6.QtWebEngineCore import QWebEngineUrlScheme 54 from PyQt6.QtWebEngineCore import QWebEngineUrlScheme
55 55
56 import Globals 56 import Globals
57 from Globals import AppInfo 57 from Globals import AppInfo
58 58
59 from E5Gui.EricApplication import EricApplication 59 from EricWidgets.EricApplication import EricApplication
60 60
61 from Toolbox import Startup 61 from Toolbox import Startup
62 62
63 from WebBrowser.WebBrowserSingleApplication import ( 63 from WebBrowser.WebBrowserSingleApplication import (
64 WebBrowserSingleApplicationClient 64 WebBrowserSingleApplicationClient

eric ide

mercurial