8355:8a7677a63c8d | 8356:68ec9c3d4de5 |
---|---|
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 QTextEdit, QApplication, QMenu, QWidget, QHBoxLayout, QSizePolicy | 13 QTextEdit, QApplication, QMenu, QWidget, QHBoxLayout, QSizePolicy |
14 ) | 14 ) |
15 | 15 |
16 from E5Gui.E5Application import e5App | 16 from E5Gui.EricApplication import ericApp |
17 | 17 |
18 import UI.PixmapCache | 18 import UI.PixmapCache |
19 import Preferences | 19 import Preferences |
20 import Utilities | 20 import Utilities |
21 | 21 |
222 | 222 |
223 def __configure(self): | 223 def __configure(self): |
224 """ | 224 """ |
225 Private method to open the configuration dialog. | 225 Private method to open the configuration dialog. |
226 """ | 226 """ |
227 e5App().getObject("UserInterface").showPreferences("logViewerPage") | 227 ericApp().getObject("UserInterface").showPreferences("logViewerPage") |
228 | 228 |
229 def __find(self): | 229 def __find(self): |
230 """ | 230 """ |
231 Private slot to show the find widget. | 231 Private slot to show the find widget. |
232 """ | 232 """ |