4 # |
4 # |
5 |
5 |
6 """ |
6 """ |
7 Module implementing the Exception Logger widget. |
7 Module implementing the Exception Logger widget. |
8 """ |
8 """ |
|
9 |
|
10 from __future__ import unicode_literals # __IGNORE_WARNING__ |
9 |
11 |
10 from PyQt4.QtCore import pyqtSignal, Qt |
12 from PyQt4.QtCore import pyqtSignal, Qt |
11 from PyQt4.QtGui import QTreeWidget, QTreeWidgetItem, QMenu |
13 from PyQt4.QtGui import QTreeWidget, QTreeWidgetItem, QMenu |
12 |
14 |
13 from E5Gui.E5Application import e5App |
15 from E5Gui.E5Application import e5App |
28 """ |
30 """ |
29 Constructor |
31 Constructor |
30 |
32 |
31 @param parent the parent widget of this widget |
33 @param parent the parent widget of this widget |
32 """ |
34 """ |
33 super().__init__(parent) |
35 super(ExceptionLogger, self).__init__(parent) |
34 self.setObjectName("ExceptionLogger") |
36 self.setObjectName("ExceptionLogger") |
35 |
37 |
36 self.setWindowTitle(self.trUtf8("Exceptions")) |
38 self.setWindowTitle(self.trUtf8("Exceptions")) |
37 |
39 |
38 self.setWordWrap(True) |
40 self.setWordWrap(True) |