forked from taurus-org/taurus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'webengine' into 'develop'
Use QWebEngineView for Manual Panel Closes taurus-org#1163 See merge request taurus-org/taurus!1209
- Loading branch information
Showing
4 changed files
with
47 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# -*- coding: utf-8 -*- | ||
# | ||
# Copyright © 2014-2015 Colin Duquesnoy | ||
# Copyright © 2009- The Spyder Development Team | ||
# | ||
# Licensed under the terms of the MIT License | ||
# (see LICENSE.txt for details) | ||
|
||
""" | ||
Provides QtWebEngine classes and functions. | ||
""" | ||
|
||
from . import PYQT5, PYSIDE2, PythonQtError | ||
|
||
|
||
if PYQT5: | ||
from PyQt5.QtWebEngine import * # noqa: F403,F401 | ||
elif PYSIDE2: | ||
from PySide2.QtWebEngine import * # noqa: F403,F401 | ||
else: | ||
raise PythonQtError("No Qt bindings could be found") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# -*- coding: utf-8 -*- | ||
# | ||
# Copyright © 2014-2015 Colin Duquesnoy | ||
# Copyright © 2009- The Spyder Development Team | ||
# | ||
# Licensed under the terms of the MIT License | ||
# (see LICENSE.txt for details) | ||
|
||
""" | ||
Provides QtWebEngineWidgets classes and functions. | ||
""" | ||
|
||
from . import PYQT5, PYSIDE2, PythonQtError | ||
|
||
|
||
if PYQT5: | ||
from PyQt5.QtWebEngineWidgets import * # noqa: F403,F401 | ||
elif PYSIDE2: | ||
from PySide2.QtWebEngineWidgets import * # noqa: F403,F401 | ||
else: | ||
raise PythonQtError("No Qt bindings could be found") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,6 +48,8 @@ def setUp(self): | |
"QtSvg", | ||
"QtUiTools", | ||
"QtWebKit", | ||
"QtWebEngine", | ||
"QtWebEngineWidgets", | ||
"uic", | ||
) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters