eric6/Tasks/Task.py

changeset 8269
87f521f359d5
parent 8240
93b8a353c4bf
child 8278
e647b71b393f
equal deleted inserted replaced
8268:6b8128e0c9d1 8269:87f521f359d5
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

eric ide

mercurial