9412:45e7bb09c120 | 9413:80c06d472826 |
---|---|
16 QWidget, | 16 QWidget, |
17 QHBoxLayout, | 17 QHBoxLayout, |
18 QSizePolicy, | 18 QSizePolicy, |
19 ) | 19 ) |
20 | 20 |
21 from EricWidgets.EricApplication import ericApp | 21 from eric7.EricWidgets.EricApplication import ericApp |
22 | 22 |
23 import UI.PixmapCache | 23 from eric7.EricGui import EricPixmapCache |
24 import Preferences | 24 from eric7 import Preferences, Utilities |
25 import Utilities | |
26 | 25 |
27 | 26 |
28 class LogViewer(QWidget): | 27 class LogViewer(QWidget): |
29 """ | 28 """ |
30 Class implementing the containing widget for the log viewer. | 29 Class implementing the containing widget for the log viewer. |
37 @param ui reference to the main window (UserInterface) | 36 @param ui reference to the main window (UserInterface) |
38 @param parent reference to the parent widget (QWidget) | 37 @param parent reference to the parent widget (QWidget) |
39 """ | 38 """ |
40 super().__init__(parent) | 39 super().__init__(parent) |
41 | 40 |
42 self.setWindowIcon(UI.PixmapCache.getIcon("eric")) | 41 self.setWindowIcon(EricPixmapCache.getIcon("eric")) |
43 | 42 |
44 self.__ui = ui | 43 self.__ui = ui |
45 | 44 |
46 self.__logViewer = LogViewerEdit(self) | 45 self.__logViewer = LogViewerEdit(self) |
47 from .SearchWidget import SearchWidget | 46 from .SearchWidget import SearchWidget |