Tasks can have different built-in states.
authorNick Slobodsky <software@slobodsky.ru>
Mon, 29 Oct 2012 20:13:43 +0000 (00:13 +0400)
committerNick Slobodsky <software@slobodsky.ru>
Mon, 29 Oct 2012 20:13:43 +0000 (00:13 +0400)
commitbddac56fb9c849639de1809e679942228fb41bc1
tree51793a392062f187bfdacabd0bf08866e6230299
parent0a6df94a3aa4c3803197f35ac9af3cf6759c380c
Tasks can have different built-in states.

Task's state can be changed by user in the TaskDialog. Only built-in states are implemented.
States are independent from completed percent, but the checkbox in the tasks tree sets state to completed and percent to 100%.
Closed states are Completed, Postponed, Canceled and Failed. They don't block supertasks and tasks that depends on this.
Trees shows checkboxes only for tasks that aren't blocked or closed. Completed tasks have checked boxes.
lib/forms/task.ui
lib/plansplant/tasks.hpp
lib/plansplant/tasks_changes.hpp
lib/tasks.cpp
lib/tasks_changes.cpp
lib/tree_widgets.cpp
lib/widgets.cpp