86 <td>Private slot to handle the "Copy" context menu entry.</td> |
86 <td>Private slot to handle the "Copy" context menu entry.</td> |
87 </tr><tr> |
87 </tr><tr> |
88 <td><a href="#TaskViewer.__deleteCompleted">__deleteCompleted</a></td> |
88 <td><a href="#TaskViewer.__deleteCompleted">__deleteCompleted</a></td> |
89 <td>Private slot to handle the "Delete Completed Tasks" context menu entry.</td> |
89 <td>Private slot to handle the "Delete Completed Tasks" context menu entry.</td> |
90 </tr><tr> |
90 </tr><tr> |
|
91 <td><a href="#TaskViewer.__deleteSubTasks">__deleteSubTasks</a></td> |
|
92 <td>Private method to delete all sub-tasks.</td> |
|
93 </tr><tr> |
91 <td><a href="#TaskViewer.__deleteTask">__deleteTask</a></td> |
94 <td><a href="#TaskViewer.__deleteTask">__deleteTask</a></td> |
92 <td>Private slot to handle the "Delete Task" context menu entry.</td> |
95 <td>Private slot to handle the "Delete Task" context menu entry.</td> |
93 </tr><tr> |
96 </tr><tr> |
94 <td><a href="#TaskViewer.__editTaskProperties">__editTaskProperties</a></td> |
97 <td><a href="#TaskViewer.__editTaskProperties">__editTaskProperties</a></td> |
95 <td>Private slot to handle the "Properties" context menu entry.</td> |
98 <td>Private slot to handle the "Properties" context menu entry.</td> |
98 <td>Private slot to handle the "Go To" context menu entry.</td> |
101 <td>Private slot to handle the "Go To" context menu entry.</td> |
99 </tr><tr> |
102 </tr><tr> |
100 <td><a href="#TaskViewer.__markCompleted">__markCompleted</a></td> |
103 <td><a href="#TaskViewer.__markCompleted">__markCompleted</a></td> |
101 <td>Private slot to handle the "Mark Completed" context menu entry.</td> |
104 <td>Private slot to handle the "Mark Completed" context menu entry.</td> |
102 </tr><tr> |
105 </tr><tr> |
|
106 <td><a href="#TaskViewer.__newSubTask">__newSubTask</a></td> |
|
107 <td>Private slot to handle the "New Sub-Task" context menu entry.</td> |
|
108 </tr><tr> |
103 <td><a href="#TaskViewer.__newTask">__newTask</a></td> |
109 <td><a href="#TaskViewer.__newTask">__newTask</a></td> |
104 <td>Private slot to handle the "New Task" context menu entry.</td> |
110 <td>Private slot to handle the "New Task" context menu entry.</td> |
105 </tr><tr> |
111 </tr><tr> |
|
112 <td><a href="#TaskViewer.__pasteMainTask">__pasteMainTask</a></td> |
|
113 <td>Private slot to handle the "Paste as Main Task" context menu entry.</td> |
|
114 </tr><tr> |
106 <td><a href="#TaskViewer.__pasteTask">__pasteTask</a></td> |
115 <td><a href="#TaskViewer.__pasteTask">__pasteTask</a></td> |
107 <td>Private slot to handle the "Paste" context menu entry.</td> |
116 <td>Private slot to handle the "Paste" context menu entry.</td> |
108 </tr><tr> |
117 </tr><tr> |
109 <td><a href="#TaskViewer.__refreshDisplay">__refreshDisplay</a></td> |
118 <td><a href="#TaskViewer.__refreshDisplay">__refreshDisplay</a></td> |
110 <td>Private method to refresh the display.</td> |
119 <td>Private method to refresh the display.</td> |
136 <td><a href="#TaskViewer.clearProjectTasks">clearProjectTasks</a></td> |
145 <td><a href="#TaskViewer.clearProjectTasks">clearProjectTasks</a></td> |
137 <td>Public slot to clear project related tasks.</td> |
146 <td>Public slot to clear project related tasks.</td> |
138 </tr><tr> |
147 </tr><tr> |
139 <td><a href="#TaskViewer.clearTasks">clearTasks</a></td> |
148 <td><a href="#TaskViewer.clearTasks">clearTasks</a></td> |
140 <td>Public slot to clear all tasks from display.</td> |
149 <td>Public slot to clear all tasks from display.</td> |
|
150 </tr><tr> |
|
151 <td><a href="#TaskViewer.findParentTask">findParentTask</a></td> |
|
152 <td>Public method to find a parent task by its ID.</td> |
141 </tr><tr> |
153 </tr><tr> |
142 <td><a href="#TaskViewer.getGlobalTasks">getGlobalTasks</a></td> |
154 <td><a href="#TaskViewer.getGlobalTasks">getGlobalTasks</a></td> |
143 <td>Public method to retrieve all non project related tasks.</td> |
155 <td>Public method to retrieve all non project related tasks.</td> |
144 </tr><tr> |
156 </tr><tr> |
145 <td><a href="#TaskViewer.getProjectTasks">getProjectTasks</a></td> |
157 <td><a href="#TaskViewer.getProjectTasks">getProjectTasks</a></td> |
205 </p><a NAME="TaskViewer.__deleteCompleted" ID="TaskViewer.__deleteCompleted"></a> |
217 </p><a NAME="TaskViewer.__deleteCompleted" ID="TaskViewer.__deleteCompleted"></a> |
206 <h4>TaskViewer.__deleteCompleted</h4> |
218 <h4>TaskViewer.__deleteCompleted</h4> |
207 <b>__deleteCompleted</b>(<i></i>) |
219 <b>__deleteCompleted</b>(<i></i>) |
208 <p> |
220 <p> |
209 Private slot to handle the "Delete Completed Tasks" context menu entry. |
221 Private slot to handle the "Delete Completed Tasks" context menu entry. |
210 </p><a NAME="TaskViewer.__deleteTask" ID="TaskViewer.__deleteTask"></a> |
222 </p><a NAME="TaskViewer.__deleteSubTasks" ID="TaskViewer.__deleteSubTasks"></a> |
|
223 <h4>TaskViewer.__deleteSubTasks</h4> |
|
224 <b>__deleteSubTasks</b>(<i>task</i>) |
|
225 <p> |
|
226 Private method to delete all sub-tasks. |
|
227 </p><dl> |
|
228 <dt><i>task</i></dt> |
|
229 <dd> |
|
230 task to delete sub-tasks of (Task) |
|
231 </dd> |
|
232 </dl><a NAME="TaskViewer.__deleteTask" ID="TaskViewer.__deleteTask"></a> |
211 <h4>TaskViewer.__deleteTask</h4> |
233 <h4>TaskViewer.__deleteTask</h4> |
212 <b>__deleteTask</b>(<i></i>) |
234 <b>__deleteTask</b>(<i></i>) |
213 <p> |
235 <p> |
214 Private slot to handle the "Delete Task" context menu entry. |
236 Private slot to handle the "Delete Task" context menu entry. |
215 </p><a NAME="TaskViewer.__editTaskProperties" ID="TaskViewer.__editTaskProperties"></a> |
237 </p><a NAME="TaskViewer.__editTaskProperties" ID="TaskViewer.__editTaskProperties"></a> |
225 </p><a NAME="TaskViewer.__markCompleted" ID="TaskViewer.__markCompleted"></a> |
247 </p><a NAME="TaskViewer.__markCompleted" ID="TaskViewer.__markCompleted"></a> |
226 <h4>TaskViewer.__markCompleted</h4> |
248 <h4>TaskViewer.__markCompleted</h4> |
227 <b>__markCompleted</b>(<i></i>) |
249 <b>__markCompleted</b>(<i></i>) |
228 <p> |
250 <p> |
229 Private slot to handle the "Mark Completed" context menu entry. |
251 Private slot to handle the "Mark Completed" context menu entry. |
|
252 </p><a NAME="TaskViewer.__newSubTask" ID="TaskViewer.__newSubTask"></a> |
|
253 <h4>TaskViewer.__newSubTask</h4> |
|
254 <b>__newSubTask</b>(<i></i>) |
|
255 <p> |
|
256 Private slot to handle the "New Sub-Task" context menu entry. |
230 </p><a NAME="TaskViewer.__newTask" ID="TaskViewer.__newTask"></a> |
257 </p><a NAME="TaskViewer.__newTask" ID="TaskViewer.__newTask"></a> |
231 <h4>TaskViewer.__newTask</h4> |
258 <h4>TaskViewer.__newTask</h4> |
232 <b>__newTask</b>(<i></i>) |
259 <b>__newTask</b>(<i></i>) |
233 <p> |
260 <p> |
234 Private slot to handle the "New Task" context menu entry. |
261 Private slot to handle the "New Task" context menu entry. |
|
262 </p><a NAME="TaskViewer.__pasteMainTask" ID="TaskViewer.__pasteMainTask"></a> |
|
263 <h4>TaskViewer.__pasteMainTask</h4> |
|
264 <b>__pasteMainTask</b>(<i></i>) |
|
265 <p> |
|
266 Private slot to handle the "Paste as Main Task" context menu entry. |
235 </p><a NAME="TaskViewer.__pasteTask" ID="TaskViewer.__pasteTask"></a> |
267 </p><a NAME="TaskViewer.__pasteTask" ID="TaskViewer.__pasteTask"></a> |
236 <h4>TaskViewer.__pasteTask</h4> |
268 <h4>TaskViewer.__pasteTask</h4> |
237 <b>__pasteTask</b>(<i></i>) |
269 <b>__pasteTask</b>(<i></i>) |
238 <p> |
270 <p> |
239 Private slot to handle the "Paste" context menu entry. |
271 Private slot to handle the "Paste" context menu entry. |
304 <dd> |
336 <dd> |
305 explanatory text of the task (string) |
337 explanatory text of the task (string) |
306 </dd> |
338 </dd> |
307 </dl><a NAME="TaskViewer.addTask" ID="TaskViewer.addTask"></a> |
339 </dl><a NAME="TaskViewer.addTask" ID="TaskViewer.addTask"></a> |
308 <h4>TaskViewer.addTask</h4> |
340 <h4>TaskViewer.addTask</h4> |
309 <b>addTask</b>(<i>summary, priority=1, filename="", lineno=0, completed=False, _time=0, isProjectTask=False, taskType=Task.TypeTodo, description=""</i>) |
341 <b>addTask</b>(<i>summary, priority=1, filename="", lineno=0, completed=False, _time=0, isProjectTask=False, taskType=Task.TypeTodo, description="", uid="", parentTask=None</i>) |
310 <p> |
342 <p> |
311 Public slot to add a task. |
343 Public slot to add a task. |
312 </p><dl> |
344 </p><dl> |
313 <dt><i>summary</i></dt> |
345 <dt><i>summary</i></dt> |
314 <dd> |
346 <dd> |
337 type of the task (one of Task.TypeFixme, Task.TypeTodo, |
369 type of the task (one of Task.TypeFixme, Task.TypeTodo, |
338 Task.TypeWarning, Task.TypeNote) |
370 Task.TypeWarning, Task.TypeNote) |
339 </dd><dt><i>description</i></dt> |
371 </dd><dt><i>description</i></dt> |
340 <dd> |
372 <dd> |
341 explanatory text of the task (string) |
373 explanatory text of the task (string) |
|
374 </dd><dt><i>uid</i></dt> |
|
375 <dd> |
|
376 unique id of the task (string) |
|
377 </dd><dt><i>parentTask</i></dt> |
|
378 <dd> |
|
379 reference to the parent task item (Task) |
|
380 </dd> |
|
381 </dl><dl> |
|
382 <dt>Returns:</dt> |
|
383 <dd> |
|
384 reference to the task item (Task) |
342 </dd> |
385 </dd> |
343 </dl><a NAME="TaskViewer.clearFileTasks" ID="TaskViewer.clearFileTasks"></a> |
386 </dl><a NAME="TaskViewer.clearFileTasks" ID="TaskViewer.clearFileTasks"></a> |
344 <h4>TaskViewer.clearFileTasks</h4> |
387 <h4>TaskViewer.clearFileTasks</h4> |
345 <b>clearFileTasks</b>(<i>filename, conditionally=False</i>) |
388 <b>clearFileTasks</b>(<i>filename, conditionally=False</i>) |
346 <p> |
389 <p> |
368 </dl><a NAME="TaskViewer.clearTasks" ID="TaskViewer.clearTasks"></a> |
411 </dl><a NAME="TaskViewer.clearTasks" ID="TaskViewer.clearTasks"></a> |
369 <h4>TaskViewer.clearTasks</h4> |
412 <h4>TaskViewer.clearTasks</h4> |
370 <b>clearTasks</b>(<i></i>) |
413 <b>clearTasks</b>(<i></i>) |
371 <p> |
414 <p> |
372 Public slot to clear all tasks from display. |
415 Public slot to clear all tasks from display. |
373 </p><a NAME="TaskViewer.getGlobalTasks" ID="TaskViewer.getGlobalTasks"></a> |
416 </p><a NAME="TaskViewer.findParentTask" ID="TaskViewer.findParentTask"></a> |
|
417 <h4>TaskViewer.findParentTask</h4> |
|
418 <b>findParentTask</b>(<i>parentUid</i>) |
|
419 <p> |
|
420 Public method to find a parent task by its ID. |
|
421 </p><dl> |
|
422 <dt><i>parentUid</i></dt> |
|
423 <dd> |
|
424 uid of the parent task (string) |
|
425 </dd> |
|
426 </dl><dl> |
|
427 <dt>Returns:</dt> |
|
428 <dd> |
|
429 reference to the task (Task) |
|
430 </dd> |
|
431 </dl><a NAME="TaskViewer.getGlobalTasks" ID="TaskViewer.getGlobalTasks"></a> |
374 <h4>TaskViewer.getGlobalTasks</h4> |
432 <h4>TaskViewer.getGlobalTasks</h4> |
375 <b>getGlobalTasks</b>(<i></i>) |
433 <b>getGlobalTasks</b>(<i></i>) |
376 <p> |
434 <p> |
377 Public method to retrieve all non project related tasks. |
435 Public method to retrieve all non project related tasks. |
378 </p><dl> |
436 </p><dl> |