139 <tr><td>None</td></tr> |
151 <tr><td>None</td></tr> |
140 </table> |
152 </table> |
141 |
153 |
142 <a NAME="Task.__init__" ID="Task.__init__"></a> |
154 <a NAME="Task.__init__" ID="Task.__init__"></a> |
143 <h4>Task (Constructor)</h4> |
155 <h4>Task (Constructor)</h4> |
144 <b>Task</b>(<i>summary, priority=1, filename="", lineno=0, completed=False, _time=0, isProjectTask=False, taskType=TypeTodo, project=None, description="", uid="", parentUid=""</i>) |
156 <b>Task</b>(<i>summary, priority=TaskPriority.NORMAL, filename="", lineno=0, completed=False, _time=0, isProjectTask=False, taskType=TaskType.TODO, project=None, description="", uid="", parentUid=""</i>) |
145 |
157 |
146 <p> |
158 <p> |
147 Constructor |
159 Constructor |
148 </p> |
160 </p> |
149 <dl> |
161 <dl> |
150 |
162 |
151 <dt><i>summary</i></dt> |
163 <dt><i>summary</i> (str)</dt> |
152 <dd> |
164 <dd> |
153 summary text of the task (string) |
165 summary text of the task |
154 </dd> |
166 </dd> |
155 <dt><i>priority</i></dt> |
167 <dt><i>priority</i> (TaskPriority)</dt> |
156 <dd> |
168 <dd> |
157 priority of the task (0=high, 1=normal, 2=low) |
169 priority of the task |
158 </dd> |
170 </dd> |
159 <dt><i>filename</i></dt> |
171 <dt><i>filename</i> (str)</dt> |
160 <dd> |
172 <dd> |
161 filename containing the task (string) |
173 filename containing the task |
162 </dd> |
174 </dd> |
163 <dt><i>lineno</i></dt> |
175 <dt><i>lineno</i> (int)</dt> |
164 <dd> |
176 <dd> |
165 line number containing the task (integer) |
177 line number containing the task |
166 </dd> |
178 </dd> |
167 <dt><i>completed</i></dt> |
179 <dt><i>completed</i> (bool)</dt> |
168 <dd> |
180 <dd> |
169 flag indicating completion status (boolean) |
181 flag indicating completion status |
170 </dd> |
182 </dd> |
171 <dt><i>_time</i></dt> |
183 <dt><i>_time</i> (float)</dt> |
172 <dd> |
184 <dd> |
173 creation time of the task (float, if 0 use current time) |
185 creation time of the task (if 0 use current time) |
174 </dd> |
186 </dd> |
175 <dt><i>isProjectTask</i></dt> |
187 <dt><i>isProjectTask</i> (bool)</dt> |
176 <dd> |
188 <dd> |
177 flag indicating a task related to the current |
189 flag indicating a task related to the current |
178 project (boolean) |
190 project |
179 </dd> |
191 </dd> |
180 <dt><i>taskType</i></dt> |
192 <dt><i>taskType</i> (TaskType)</dt> |
181 <dd> |
193 <dd> |
182 type of the task (one of TypeFixme, TypeTodo, |
194 type of the task |
183 TypeWarning, TypeNote, TypeTest, TypeDocu) |
195 </dd> |
184 </dd> |
196 <dt><i>project</i> (Project)</dt> |
185 <dt><i>project</i></dt> |
197 <dd> |
186 <dd> |
198 reference to the project object |
187 reference to the project object (Project) |
199 </dd> |
188 </dd> |
200 <dt><i>description</i> (str)</dt> |
189 <dt><i>description</i></dt> |
201 <dd> |
190 <dd> |
202 explanatory text of the task |
191 explanatory text of the task (string) |
203 </dd> |
192 </dd> |
204 <dt><i>uid</i> (str)</dt> |
193 <dt><i>uid</i></dt> |
205 <dd> |
194 <dd> |
206 unique id of the task |
195 unique id of the task (string) |
207 </dd> |
196 </dd> |
208 <dt><i>parentUid</i> (str)</dt> |
197 <dt><i>parentUid</i></dt> |
209 <dd> |
198 <dd> |
210 unique id of the parent task |
199 unique id of the parent task (string) |
|
200 </dd> |
211 </dd> |
201 </dl> |
212 </dl> |
202 <a NAME="Task.colorizeTask" ID="Task.colorizeTask"></a> |
213 <a NAME="Task.colorizeTask" ID="Task.colorizeTask"></a> |
203 <h4>Task.colorizeTask</h4> |
214 <h4>Task.colorizeTask</h4> |
204 <b>colorizeTask</b>(<i></i>) |
215 <b>colorizeTask</b>(<i></i>) |
400 dict |
425 dict |
401 </dd> |
426 </dd> |
402 </dl> |
427 </dl> |
403 <div align="right"><a href="#top">Up</a></div> |
428 <div align="right"><a href="#top">Up</a></div> |
404 <hr /> |
429 <hr /> |
|
430 <hr /> |
|
431 <a NAME="TaskPriority" ID="TaskPriority"></a> |
|
432 <h2>TaskPriority</h2> |
|
433 |
|
434 <p> |
|
435 Class defining the task priorities. |
|
436 </p> |
|
437 <h3>Derived from</h3> |
|
438 enum.IntEnum |
|
439 <h3>Class Attributes</h3> |
|
440 |
|
441 <table> |
|
442 <tr><td>HIGH</td></tr><tr><td>LOW</td></tr><tr><td>NORMAL</td></tr> |
|
443 </table> |
|
444 <h3>Class Methods</h3> |
|
445 |
|
446 <table> |
|
447 <tr><td>None</td></tr> |
|
448 </table> |
|
449 <h3>Methods</h3> |
|
450 |
|
451 <table> |
|
452 <tr><td>None</td></tr> |
|
453 </table> |
|
454 <h3>Static Methods</h3> |
|
455 |
|
456 <table> |
|
457 <tr><td>None</td></tr> |
|
458 </table> |
|
459 |
|
460 <div align="right"><a href="#top">Up</a></div> |
|
461 <hr /> |
|
462 <hr /> |
|
463 <a NAME="TaskType" ID="TaskType"></a> |
|
464 <h2>TaskType</h2> |
|
465 |
|
466 <p> |
|
467 Class defining the task types. |
|
468 </p> |
|
469 <h3>Derived from</h3> |
|
470 enum.IntEnum |
|
471 <h3>Class Attributes</h3> |
|
472 |
|
473 <table> |
|
474 <tr><td>DOCU</td></tr><tr><td>FIXME</td></tr><tr><td>NONE</td></tr><tr><td>NOTE</td></tr><tr><td>TEST</td></tr><tr><td>TODO</td></tr><tr><td>WARNING</td></tr> |
|
475 </table> |
|
476 <h3>Class Methods</h3> |
|
477 |
|
478 <table> |
|
479 <tr><td>None</td></tr> |
|
480 </table> |
|
481 <h3>Methods</h3> |
|
482 |
|
483 <table> |
|
484 <tr><td>None</td></tr> |
|
485 </table> |
|
486 <h3>Static Methods</h3> |
|
487 |
|
488 <table> |
|
489 <tr><td>None</td></tr> |
|
490 </table> |
|
491 |
|
492 <div align="right"><a href="#top">Up</a></div> |
|
493 <hr /> |
405 </body></html> |
494 </body></html> |