5 |
5 |
6 """ |
6 """ |
7 Module implementing the log viewer widget and the log widget. |
7 Module implementing the log viewer widget and the log widget. |
8 """ |
8 """ |
9 |
9 |
10 from PyQt6.QtCore import pyqtSignal, Qt, QRegularExpression |
10 from PyQt6.QtCore import QRegularExpression, Qt, pyqtSignal |
11 from PyQt6.QtGui import QBrush, QTextCursor, QTextDocument |
11 from PyQt6.QtGui import QBrush, QTextCursor, QTextDocument |
12 from PyQt6.QtWidgets import ( |
12 from PyQt6.QtWidgets import ( |
|
13 QApplication, |
|
14 QHBoxLayout, |
|
15 QMenu, |
|
16 QSizePolicy, |
13 QTextEdit, |
17 QTextEdit, |
14 QApplication, |
|
15 QMenu, |
|
16 QWidget, |
18 QWidget, |
17 QHBoxLayout, |
|
18 QSizePolicy, |
|
19 ) |
19 ) |
20 |
20 |
|
21 from eric7 import Preferences, Utilities |
|
22 from eric7.EricGui import EricPixmapCache |
21 from eric7.EricWidgets.EricApplication import ericApp |
23 from eric7.EricWidgets.EricApplication import ericApp |
22 |
|
23 from eric7.EricGui import EricPixmapCache |
|
24 from eric7 import Preferences, Utilities |
|
25 |
24 |
26 |
25 |
27 class LogViewer(QWidget): |
26 class LogViewer(QWidget): |
28 """ |
27 """ |
29 Class implementing the containing widget for the log viewer. |
28 Class implementing the containing widget for the log viewer. |