2523:139f182b72f6 | 2525:8b507a9a2d40 |
---|---|
4 # | 4 # |
5 | 5 |
6 """ | 6 """ |
7 Module implementing the Watch expression model. | 7 Module implementing the Watch expression model. |
8 """ | 8 """ |
9 | |
10 from __future__ import unicode_literals # __IGNORE_WARNING__ | |
9 | 11 |
10 from PyQt4.QtCore import pyqtSignal, Qt, QAbstractItemModel, QModelIndex | 12 from PyQt4.QtCore import pyqtSignal, Qt, QAbstractItemModel, QModelIndex |
11 | 13 |
12 | 14 |
13 class WatchPointModel(QAbstractItemModel): | 15 class WatchPointModel(QAbstractItemModel): |
20 """ | 22 """ |
21 Constructor | 23 Constructor |
22 | 24 |
23 @param reference to the parent widget (QObject) | 25 @param reference to the parent widget (QObject) |
24 """ | 26 """ |
25 super().__init__(parent) | 27 super(WatchPointModel, self).__init__(parent) |
26 | 28 |
27 self.watchpoints = [] | 29 self.watchpoints = [] |
28 self.header = [ | 30 self.header = [ |
29 self.trUtf8("Condition"), | 31 self.trUtf8("Condition"), |
30 self.trUtf8("Special"), | 32 self.trUtf8("Special"), |