8 """ |
8 """ |
9 |
9 |
10 import contextlib |
10 import contextlib |
11 import functools |
11 import functools |
12 |
12 |
13 from PyQt6.QtCore import pyqtSlot, Qt, QEvent, QTimer, QUrl, QPoint |
13 from PyQt6.QtCore import QEvent, QPoint, Qt, QTimer, QUrl, pyqtSlot |
14 from PyQt6.QtGui import QGuiApplication, QClipboard, QContextMenuEvent |
14 from PyQt6.QtGui import QClipboard, QContextMenuEvent, QGuiApplication |
|
15 from PyQt6.QtWebEngineCore import QWebEngineNewWindowRequest, QWebEnginePage |
|
16 from PyQt6.QtWebEngineWidgets import QWebEngineView |
15 from PyQt6.QtWidgets import QMenu |
17 from PyQt6.QtWidgets import QMenu |
16 from PyQt6.QtWebEngineWidgets import QWebEngineView |
18 |
17 from PyQt6.QtWebEngineCore import QWebEnginePage, QWebEngineNewWindowRequest |
19 from eric7.EricGui import EricPixmapCache |
18 |
20 |
|
21 from .HelpViewerImpl import HelpViewerImpl |
19 from .HelpViewerWidget import HelpViewerWidget |
22 from .HelpViewerWidget import HelpViewerWidget |
20 from .HelpViewerImpl import HelpViewerImpl |
|
21 |
|
22 from eric7.EricGui import EricPixmapCache |
|
23 |
23 |
24 |
24 |
25 class HelpViewerImplQWE(HelpViewerImpl, QWebEngineView): |
25 class HelpViewerImplQWE(HelpViewerImpl, QWebEngineView): |
26 """ |
26 """ |
27 Class implementing the QTextBrowser based help viewer class. |
27 Class implementing the QTextBrowser based help viewer class. |