102 <h4>Task (Constructor)</h4> |
102 <h4>Task (Constructor)</h4> |
103 <b>Task</b>(<i>summary, priority=1, filename="", lineno=0, completed=False, _time=0, isProjectTask=False, taskType=TypeTodo, project=None, description=""</i>) |
103 <b>Task</b>(<i>summary, priority=1, filename="", lineno=0, completed=False, _time=0, isProjectTask=False, taskType=TypeTodo, project=None, description=""</i>) |
104 <p> |
104 <p> |
105 Constructor |
105 Constructor |
106 </p><dl> |
106 </p><dl> |
107 <dt><i>parent</i></dt> |
107 <dt><i>summary</i></dt> |
108 <dd> |
|
109 parent widget of the task (QWidget) |
|
110 </dd><dt><i>summary</i></dt> |
|
111 <dd> |
108 <dd> |
112 summary text of the task (string) |
109 summary text of the task (string) |
113 </dd><dt><i>priority</i></dt> |
110 </dd><dt><i>priority</i></dt> |
114 <dd> |
111 <dd> |
115 priority of the task (0=high, 1=normal, 2=low) |
112 priority of the task (0=high, 1=normal, 2=low) |
125 </dd><dt><i>_time</i></dt> |
122 </dd><dt><i>_time</i></dt> |
126 <dd> |
123 <dd> |
127 creation time of the task (float, if 0 use current time) |
124 creation time of the task (float, if 0 use current time) |
128 </dd><dt><i>isProjectTask</i></dt> |
125 </dd><dt><i>isProjectTask</i></dt> |
129 <dd> |
126 <dd> |
130 flag indicating a task related to the current project |
127 flag indicating a task related to the current |
131 (boolean) |
128 project (boolean) |
132 </dd><dt><i>taskType</i></dt> |
129 </dd><dt><i>taskType</i></dt> |
133 <dd> |
130 <dd> |
134 type of the task (one of TypeFixme, TypeTodo, |
131 type of the task (one of TypeFixme, TypeTodo, |
135 TypeWarning, TypeNote) |
132 TypeWarning, TypeNote) |
136 </dd><dt><i>project</i></dt> |
133 </dd><dt><i>project</i></dt> |