5 |
5 |
6 """ |
6 """ |
7 Module implementing a window for showing the QtHelp index. |
7 Module implementing a window for showing the QtHelp index. |
8 """ |
8 """ |
9 |
9 |
10 from PyQt6.QtCore import pyqtSignal, pyqtSlot, Qt, QUrl, QEvent |
10 from PyQt6.QtCore import QEvent, Qt, QUrl, pyqtSignal, pyqtSlot |
11 from PyQt6.QtGui import QGuiApplication, QClipboard |
11 from PyQt6.QtGui import QClipboard, QGuiApplication |
12 from PyQt6.QtHelp import QHelpLink |
12 from PyQt6.QtHelp import QHelpLink |
13 from PyQt6.QtWidgets import ( |
13 from PyQt6.QtWidgets import ( |
14 QWidget, |
14 QApplication, |
15 QVBoxLayout, |
15 QDialog, |
16 QHBoxLayout, |
16 QHBoxLayout, |
17 QLabel, |
17 QLabel, |
18 QLineEdit, |
18 QLineEdit, |
19 QMenu, |
19 QMenu, |
20 QDialog, |
20 QVBoxLayout, |
21 QApplication, |
21 QWidget, |
22 ) |
22 ) |
23 |
23 |
24 |
24 |
25 class HelpIndexWidget(QWidget): |
25 class HelpIndexWidget(QWidget): |
26 """ |
26 """ |