16 |
16 |
17 import UI.PixmapCache |
17 import UI.PixmapCache |
18 import Preferences |
18 import Preferences |
19 |
19 |
20 |
20 |
|
21 # TODO: separate into Task and TaskItem(QTreeWidgetItem) (eric7) |
21 class Task(QTreeWidgetItem): |
22 class Task(QTreeWidgetItem): |
22 """ |
23 """ |
23 Class implementing the task data structure. |
24 Class implementing the task data structure. |
24 """ |
25 """ |
|
26 # TODO: add Enum for priority |
|
27 # TODO: convert to Enum |
25 TypeNone = -1 |
28 TypeNone = -1 |
26 TypeFixme = 0 |
29 TypeFixme = 0 |
27 TypeTodo = 1 |
30 TypeTodo = 1 |
28 TypeWarning = 2 |
31 TypeWarning = 2 |
29 TypeNote = 3 |
32 TypeNote = 3 |