63 </table> |
63 </table> |
64 <h3>Methods</h3> |
64 <h3>Methods</h3> |
65 <table> |
65 <table> |
66 <tr> |
66 <tr> |
67 <td><a href="#Task.__init__">Task</a></td> |
67 <td><a href="#Task.__init__">Task</a></td> |
68 <td>Constructor</td> |
68 <td>Constructor</td> |
69 </tr><tr> |
69 </tr><tr> |
70 <td><a href="#Task.colorizeTask">colorizeTask</a></td> |
70 <td><a href="#Task.colorizeTask">colorizeTask</a></td> |
71 <td>Public slot to set the colors of the task item.</td> |
71 <td>Public slot to set the colors of the task item.</td> |
72 </tr><tr> |
72 </tr><tr> |
73 <td><a href="#Task.getFilename">getFilename</a></td> |
73 <td><a href="#Task.getFilename">getFilename</a></td> |
74 <td>Public method to retrieve the tasks filename.</td> |
74 <td>Public method to retrieve the tasks filename.</td> |
75 </tr><tr> |
75 </tr><tr> |
76 <td><a href="#Task.getLineno">getLineno</a></td> |
76 <td><a href="#Task.getLineno">getLineno</a></td> |
77 <td>Public method to retrieve the tasks linenumber.</td> |
77 <td>Public method to retrieve the tasks linenumber.</td> |
78 </tr><tr> |
78 </tr><tr> |
79 <td><a href="#Task.isCompleted">isCompleted</a></td> |
79 <td><a href="#Task.isCompleted">isCompleted</a></td> |
80 <td>Public slot to return the completion status.</td> |
80 <td>Public slot to return the completion status.</td> |
81 </tr><tr> |
81 </tr><tr> |
82 <td><a href="#Task.isProjectTask">isProjectTask</a></td> |
82 <td><a href="#Task.isProjectTask">isProjectTask</a></td> |
83 <td>Public slot to return the project relation status.</td> |
83 <td>Public slot to return the project relation status.</td> |
84 </tr><tr> |
84 </tr><tr> |
85 <td><a href="#Task.setCompleted">setCompleted</a></td> |
85 <td><a href="#Task.setCompleted">setCompleted</a></td> |
86 <td>Public slot to update the completed flag.</td> |
86 <td>Public slot to update the completed flag.</td> |
87 </tr><tr> |
87 </tr><tr> |
88 <td><a href="#Task.setDescription">setDescription</a></td> |
88 <td><a href="#Task.setDescription">setDescription</a></td> |
89 <td>Public slot to update the description.</td> |
89 <td>Public slot to update the description.</td> |
90 </tr><tr> |
90 </tr><tr> |
91 <td><a href="#Task.setLongText">setLongText</a></td> |
91 <td><a href="#Task.setLongText">setLongText</a></td> |
92 <td>Public slot to update the longtext field.</td> |
92 <td>Public slot to update the longtext field.</td> |
93 </tr><tr> |
93 </tr><tr> |
94 <td><a href="#Task.setPriority">setPriority</a></td> |
94 <td><a href="#Task.setPriority">setPriority</a></td> |
95 <td>Public slot to update the priority.</td> |
95 <td>Public slot to update the priority.</td> |
96 </tr><tr> |
96 </tr><tr> |
97 <td><a href="#Task.setProjectTask">setProjectTask</a></td> |
97 <td><a href="#Task.setProjectTask">setProjectTask</a></td> |
98 <td>Public method to set the project relation flag.</td> |
98 <td>Public method to set the project relation flag.</td> |
99 </tr> |
99 </tr> |
100 </table> |
100 </table> |
101 <a NAME="Task.__init__" ID="Task.__init__"></a> |
101 <a NAME="Task.__init__" ID="Task.__init__"></a> |
102 <h4>Task (Constructor)</h4> |
102 <h4>Task (Constructor)</h4> |
103 <b>Task</b>(<i>description, priority = 1, filename = "", lineno = 0, completed = False, _time = 0, isProjectTask = False, isBugfixTask = False, ppath = "", longtext = ""</i>) |
103 <b>Task</b>(<i>description, priority = 1, filename = "", lineno = 0, completed = False, _time = 0, isProjectTask = False, isBugfixTask = False, ppath = "", longtext = ""</i>) |
104 <p> |
104 <p> |
105 Constructor |
105 Constructor |
106 </p><dl> |
106 </p><dl> |
107 <dt><i>parent</i></dt> |
107 <dt><i>parent</i></dt> |
108 <dd> |
108 <dd> |
109 parent widget of the task (QWidget) |
109 parent widget of the task (QWidget) |
110 </dd><dt><i>description</i></dt> |
110 </dd><dt><i>description</i></dt> |
111 <dd> |
111 <dd> |
112 descriptive text of the task (string) |
112 descriptive text of the task (string) |
113 </dd><dt><i>priority</i></dt> |
113 </dd><dt><i>priority</i></dt> |
114 <dd> |
114 <dd> |
115 priority of the task (0=high, 1=normal, 2=low) |
115 priority of the task (0=high, 1=normal, 2=low) |
116 </dd><dt><i>filename</i></dt> |
116 </dd><dt><i>filename</i></dt> |
117 <dd> |
117 <dd> |
118 filename containing the task (string) |
118 filename containing the task (string) |
119 </dd><dt><i>lineno</i></dt> |
119 </dd><dt><i>lineno</i></dt> |
120 <dd> |
120 <dd> |
121 line number containing the task (integer) |
121 line number containing the task (integer) |
122 </dd><dt><i>completed</i></dt> |
122 </dd><dt><i>completed</i></dt> |
123 <dd> |
123 <dd> |
124 flag indicating completion status (boolean) |
124 flag indicating completion status (boolean) |
125 </dd><dt><i>_time</i></dt> |
125 </dd><dt><i>_time</i></dt> |
126 <dd> |
126 <dd> |
127 creation time of the task (float, if 0 use current time) |
127 creation time of the task (float, if 0 use current time) |
128 </dd><dt><i>isProjectTask</i></dt> |
128 </dd><dt><i>isProjectTask</i></dt> |
129 <dd> |
129 <dd> |
130 flag indicating a task related to the current project |
130 flag indicating a task related to the current project |
131 (boolean) |
131 (boolean) |
132 </dd><dt><i>isBugfixTask</i></dt> |
132 </dd><dt><i>isBugfixTask</i></dt> |
133 <dd> |
133 <dd> |
134 flag indicating a bugfix task (boolean) |
134 flag indicating a bugfix task (boolean) |
135 </dd><dt><i>ppath</i></dt> |
135 </dd><dt><i>ppath</i></dt> |
136 <dd> |
136 <dd> |
137 the project path (string) |
137 the project path (string) |
138 </dd><dt><i>longtext</i></dt> |
138 </dd><dt><i>longtext</i></dt> |
139 <dd> |
139 <dd> |
140 explanatory text of the task (string) |
140 explanatory text of the task (string) |
141 </dd> |
141 </dd> |
142 </dl><a NAME="Task.colorizeTask" ID="Task.colorizeTask"></a> |
142 </dl><a NAME="Task.colorizeTask" ID="Task.colorizeTask"></a> |
143 <h4>Task.colorizeTask</h4> |
143 <h4>Task.colorizeTask</h4> |
144 <b>colorizeTask</b>(<i></i>) |
144 <b>colorizeTask</b>(<i></i>) |
145 <p> |
145 <p> |
146 Public slot to set the colors of the task item. |
146 Public slot to set the colors of the task item. |
147 </p><a NAME="Task.getFilename" ID="Task.getFilename"></a> |
147 </p><a NAME="Task.getFilename" ID="Task.getFilename"></a> |
148 <h4>Task.getFilename</h4> |
148 <h4>Task.getFilename</h4> |
149 <b>getFilename</b>(<i></i>) |
149 <b>getFilename</b>(<i></i>) |
150 <p> |
150 <p> |
151 Public method to retrieve the tasks filename. |
151 Public method to retrieve the tasks filename. |
152 </p><dl> |
152 </p><dl> |
153 <dt>Returns:</dt> |
153 <dt>Returns:</dt> |
154 <dd> |
154 <dd> |
155 filename (string) |
155 filename (string) |
156 </dd> |
156 </dd> |
157 </dl><a NAME="Task.getLineno" ID="Task.getLineno"></a> |
157 </dl><a NAME="Task.getLineno" ID="Task.getLineno"></a> |
158 <h4>Task.getLineno</h4> |
158 <h4>Task.getLineno</h4> |
159 <b>getLineno</b>(<i></i>) |
159 <b>getLineno</b>(<i></i>) |
160 <p> |
160 <p> |
161 Public method to retrieve the tasks linenumber. |
161 Public method to retrieve the tasks linenumber. |
162 </p><dl> |
162 </p><dl> |
163 <dt>Returns:</dt> |
163 <dt>Returns:</dt> |
164 <dd> |
164 <dd> |
165 linenumber (integer) |
165 linenumber (integer) |
166 </dd> |
166 </dd> |
167 </dl><a NAME="Task.isCompleted" ID="Task.isCompleted"></a> |
167 </dl><a NAME="Task.isCompleted" ID="Task.isCompleted"></a> |
168 <h4>Task.isCompleted</h4> |
168 <h4>Task.isCompleted</h4> |
169 <b>isCompleted</b>(<i></i>) |
169 <b>isCompleted</b>(<i></i>) |
170 <p> |
170 <p> |
171 Public slot to return the completion status. |
171 Public slot to return the completion status. |
172 </p><dl> |
172 </p><dl> |
173 <dt>Returns:</dt> |
173 <dt>Returns:</dt> |
174 <dd> |
174 <dd> |
175 flag indicating the completion status (boolean) |
175 flag indicating the completion status (boolean) |
176 </dd> |
176 </dd> |
177 </dl><a NAME="Task.isProjectTask" ID="Task.isProjectTask"></a> |
177 </dl><a NAME="Task.isProjectTask" ID="Task.isProjectTask"></a> |
178 <h4>Task.isProjectTask</h4> |
178 <h4>Task.isProjectTask</h4> |
179 <b>isProjectTask</b>(<i></i>) |
179 <b>isProjectTask</b>(<i></i>) |
180 <p> |
180 <p> |
181 Public slot to return the project relation status. |
181 Public slot to return the project relation status. |
182 </p><dl> |
182 </p><dl> |
183 <dt>Returns:</dt> |
183 <dt>Returns:</dt> |
184 <dd> |
184 <dd> |
185 flag indicating the project relation status (boolean) |
185 flag indicating the project relation status (boolean) |
186 </dd> |
186 </dd> |
187 </dl><a NAME="Task.setCompleted" ID="Task.setCompleted"></a> |
187 </dl><a NAME="Task.setCompleted" ID="Task.setCompleted"></a> |
188 <h4>Task.setCompleted</h4> |
188 <h4>Task.setCompleted</h4> |
189 <b>setCompleted</b>(<i>completed</i>) |
189 <b>setCompleted</b>(<i>completed</i>) |
190 <p> |
190 <p> |
191 Public slot to update the completed flag. |
191 Public slot to update the completed flag. |
192 </p><dl> |
192 </p><dl> |
193 <dt><i>completed</i></dt> |
193 <dt><i>completed</i></dt> |
194 <dd> |
194 <dd> |
195 flag indicating completion status (boolean) |
195 flag indicating completion status (boolean) |
196 </dd> |
196 </dd> |
197 </dl><a NAME="Task.setDescription" ID="Task.setDescription"></a> |
197 </dl><a NAME="Task.setDescription" ID="Task.setDescription"></a> |
198 <h4>Task.setDescription</h4> |
198 <h4>Task.setDescription</h4> |
199 <b>setDescription</b>(<i>description</i>) |
199 <b>setDescription</b>(<i>description</i>) |
200 <p> |
200 <p> |
201 Public slot to update the description. |
201 Public slot to update the description. |
202 </p><dl> |
202 </p><dl> |
203 <dt><i>longtext</i></dt> |
203 <dt><i>longtext</i></dt> |
204 <dd> |
204 <dd> |
205 explanatory text of the task (string) |
205 explanatory text of the task (string) |
206 </dd> |
206 </dd> |
207 </dl><a NAME="Task.setLongText" ID="Task.setLongText"></a> |
207 </dl><a NAME="Task.setLongText" ID="Task.setLongText"></a> |
208 <h4>Task.setLongText</h4> |
208 <h4>Task.setLongText</h4> |
209 <b>setLongText</b>(<i>longtext</i>) |
209 <b>setLongText</b>(<i>longtext</i>) |
210 <p> |
210 <p> |
211 Public slot to update the longtext field. |
211 Public slot to update the longtext field. |
212 </p><dl> |
212 </p><dl> |
213 <dt><i>longtext</i></dt> |
213 <dt><i>longtext</i></dt> |
214 <dd> |
214 <dd> |
215 descriptive text of the task (string) |
215 descriptive text of the task (string) |
216 </dd> |
216 </dd> |
217 </dl><a NAME="Task.setPriority" ID="Task.setPriority"></a> |
217 </dl><a NAME="Task.setPriority" ID="Task.setPriority"></a> |
218 <h4>Task.setPriority</h4> |
218 <h4>Task.setPriority</h4> |
219 <b>setPriority</b>(<i>priority</i>) |
219 <b>setPriority</b>(<i>priority</i>) |
220 <p> |
220 <p> |
221 Public slot to update the priority. |
221 Public slot to update the priority. |
222 </p><dl> |
222 </p><dl> |
223 <dt><i>priority</i></dt> |
223 <dt><i>priority</i></dt> |
224 <dd> |
224 <dd> |
225 priority of the task (0=high, 1=normal, 2=low) |
225 priority of the task (0=high, 1=normal, 2=low) |
226 </dd> |
226 </dd> |
227 </dl><a NAME="Task.setProjectTask" ID="Task.setProjectTask"></a> |
227 </dl><a NAME="Task.setProjectTask" ID="Task.setProjectTask"></a> |
228 <h4>Task.setProjectTask</h4> |
228 <h4>Task.setProjectTask</h4> |
229 <b>setProjectTask</b>(<i>pt</i>) |
229 <b>setProjectTask</b>(<i>pt</i>) |
230 <p> |
230 <p> |
231 Public method to set the project relation flag. |
231 Public method to set the project relation flag. |
232 </p><dl> |
232 </p><dl> |
233 <dt><i>pt</i></dt> |
233 <dt><i>pt</i></dt> |
234 <dd> |
234 <dd> |
235 flag indicating a project task (boolean) |
235 flag indicating a project task (boolean) |
236 </dd> |
236 </dd> |
237 </dl> |
237 </dl> |
238 <div align="right"><a href="#top">Up</a></div> |
238 <div align="right"><a href="#top">Up</a></div> |
239 <hr /><hr /> |
239 <hr /><hr /> |
240 <a NAME="TaskFilter" ID="TaskFilter"></a> |
240 <a NAME="TaskFilter" ID="TaskFilter"></a> |
241 <h2>TaskFilter</h2> |
241 <h2>TaskFilter</h2> |
242 <p> |
242 <p> |
243 Class implementing a filter for tasks. |
243 Class implementing a filter for tasks. |
244 </p> |
244 </p> |
245 <h3>Derived from</h3> |
245 <h3>Derived from</h3> |
246 object |
246 object |
247 <h3>Class Attributes</h3> |
247 <h3>Class Attributes</h3> |
248 <table> |
248 <table> |
250 </table> |
250 </table> |
251 <h3>Methods</h3> |
251 <h3>Methods</h3> |
252 <table> |
252 <table> |
253 <tr> |
253 <tr> |
254 <td><a href="#TaskFilter.__init__">TaskFilter</a></td> |
254 <td><a href="#TaskFilter.__init__">TaskFilter</a></td> |
255 <td>Constructor</td> |
255 <td>Constructor</td> |
256 </tr><tr> |
256 </tr><tr> |
257 <td><a href="#TaskFilter.hasActiveFilter">hasActiveFilter</a></td> |
257 <td><a href="#TaskFilter.hasActiveFilter">hasActiveFilter</a></td> |
258 <td>Public method to check for active filters.</td> |
258 <td>Public method to check for active filters.</td> |
259 </tr><tr> |
259 </tr><tr> |
260 <td><a href="#TaskFilter.setActive">setActive</a></td> |
260 <td><a href="#TaskFilter.setActive">setActive</a></td> |
261 <td>Public method to activate the filter.</td> |
261 <td>Public method to activate the filter.</td> |
262 </tr><tr> |
262 </tr><tr> |
263 <td><a href="#TaskFilter.setDescriptionFilter">setDescriptionFilter</a></td> |
263 <td><a href="#TaskFilter.setDescriptionFilter">setDescriptionFilter</a></td> |
264 <td>Public method to set the description filter.</td> |
264 <td>Public method to set the description filter.</td> |
265 </tr><tr> |
265 </tr><tr> |
266 <td><a href="#TaskFilter.setFileNameFilter">setFileNameFilter</a></td> |
266 <td><a href="#TaskFilter.setFileNameFilter">setFileNameFilter</a></td> |
267 <td>Public method to set the filename filter.</td> |
267 <td>Public method to set the filename filter.</td> |
268 </tr><tr> |
268 </tr><tr> |
269 <td><a href="#TaskFilter.setPrioritiesFilter">setPrioritiesFilter</a></td> |
269 <td><a href="#TaskFilter.setPrioritiesFilter">setPrioritiesFilter</a></td> |
270 <td>Public method to set the priorities filter.</td> |
270 <td>Public method to set the priorities filter.</td> |
271 </tr><tr> |
271 </tr><tr> |
272 <td><a href="#TaskFilter.setScopeFilter">setScopeFilter</a></td> |
272 <td><a href="#TaskFilter.setScopeFilter">setScopeFilter</a></td> |
273 <td>Public method to set the scope filter.</td> |
273 <td>Public method to set the scope filter.</td> |
274 </tr><tr> |
274 </tr><tr> |
275 <td><a href="#TaskFilter.setStatusFilter">setStatusFilter</a></td> |
275 <td><a href="#TaskFilter.setStatusFilter">setStatusFilter</a></td> |
276 <td>Public method to set the status filter.</td> |
276 <td>Public method to set the status filter.</td> |
277 </tr><tr> |
277 </tr><tr> |
278 <td><a href="#TaskFilter.setTypeFilter">setTypeFilter</a></td> |
278 <td><a href="#TaskFilter.setTypeFilter">setTypeFilter</a></td> |
279 <td>Public method to set the type filter.</td> |
279 <td>Public method to set the type filter.</td> |
280 </tr><tr> |
280 </tr><tr> |
281 <td><a href="#TaskFilter.showTask">showTask</a></td> |
281 <td><a href="#TaskFilter.showTask">showTask</a></td> |
282 <td>Public method to check, if a task should be shown.</td> |
282 <td>Public method to check, if a task should be shown.</td> |
283 </tr> |
283 </tr> |
284 </table> |
284 </table> |
285 <a NAME="TaskFilter.__init__" ID="TaskFilter.__init__"></a> |
285 <a NAME="TaskFilter.__init__" ID="TaskFilter.__init__"></a> |
286 <h4>TaskFilter (Constructor)</h4> |
286 <h4>TaskFilter (Constructor)</h4> |
287 <b>TaskFilter</b>(<i></i>) |
287 <b>TaskFilter</b>(<i></i>) |
288 <p> |
288 <p> |
289 Constructor |
289 Constructor |
290 </p><a NAME="TaskFilter.hasActiveFilter" ID="TaskFilter.hasActiveFilter"></a> |
290 </p><a NAME="TaskFilter.hasActiveFilter" ID="TaskFilter.hasActiveFilter"></a> |
291 <h4>TaskFilter.hasActiveFilter</h4> |
291 <h4>TaskFilter.hasActiveFilter</h4> |
292 <b>hasActiveFilter</b>(<i></i>) |
292 <b>hasActiveFilter</b>(<i></i>) |
293 <p> |
293 <p> |
294 Public method to check for active filters. |
294 Public method to check for active filters. |
295 </p><dl> |
295 </p><dl> |
296 <dt>Returns:</dt> |
296 <dt>Returns:</dt> |
297 <dd> |
297 <dd> |
298 flag indicating an active filter was found (boolean) |
298 flag indicating an active filter was found (boolean) |
299 </dd> |
299 </dd> |
300 </dl><a NAME="TaskFilter.setActive" ID="TaskFilter.setActive"></a> |
300 </dl><a NAME="TaskFilter.setActive" ID="TaskFilter.setActive"></a> |
301 <h4>TaskFilter.setActive</h4> |
301 <h4>TaskFilter.setActive</h4> |
302 <b>setActive</b>(<i>enabled</i>) |
302 <b>setActive</b>(<i>enabled</i>) |
303 <p> |
303 <p> |
304 Public method to activate the filter. |
304 Public method to activate the filter. |
305 </p><dl> |
305 </p><dl> |
306 <dt><i>enabled</i></dt> |
306 <dt><i>enabled</i></dt> |
307 <dd> |
307 <dd> |
308 flag indicating the activation state (boolean) |
308 flag indicating the activation state (boolean) |
309 </dd> |
309 </dd> |
310 </dl><a NAME="TaskFilter.setDescriptionFilter" ID="TaskFilter.setDescriptionFilter"></a> |
310 </dl><a NAME="TaskFilter.setDescriptionFilter" ID="TaskFilter.setDescriptionFilter"></a> |
311 <h4>TaskFilter.setDescriptionFilter</h4> |
311 <h4>TaskFilter.setDescriptionFilter</h4> |
312 <b>setDescriptionFilter</b>(<i>filter</i>) |
312 <b>setDescriptionFilter</b>(<i>filter</i>) |
313 <p> |
313 <p> |
314 Public method to set the description filter. |
314 Public method to set the description filter. |
315 </p><dl> |
315 </p><dl> |
316 <dt><i>filter</i></dt> |
316 <dt><i>filter</i></dt> |
317 <dd> |
317 <dd> |
318 a regular expression for the description filter |
318 a regular expression for the description filter |
319 to set (string) or None |
319 to set (string) or None |
320 </dd> |
320 </dd> |
321 </dl><a NAME="TaskFilter.setFileNameFilter" ID="TaskFilter.setFileNameFilter"></a> |
321 </dl><a NAME="TaskFilter.setFileNameFilter" ID="TaskFilter.setFileNameFilter"></a> |
322 <h4>TaskFilter.setFileNameFilter</h4> |
322 <h4>TaskFilter.setFileNameFilter</h4> |
323 <b>setFileNameFilter</b>(<i>filter</i>) |
323 <b>setFileNameFilter</b>(<i>filter</i>) |
324 <p> |
324 <p> |
325 Public method to set the filename filter. |
325 Public method to set the filename filter. |
326 </p><dl> |
326 </p><dl> |
327 <dt><i>filter</i></dt> |
327 <dt><i>filter</i></dt> |
328 <dd> |
328 <dd> |
329 a wildcard expression for the filename filter |
329 a wildcard expression for the filename filter |
330 to set (string) or None |
330 to set (string) or None |
331 </dd> |
331 </dd> |
332 </dl><a NAME="TaskFilter.setPrioritiesFilter" ID="TaskFilter.setPrioritiesFilter"></a> |
332 </dl><a NAME="TaskFilter.setPrioritiesFilter" ID="TaskFilter.setPrioritiesFilter"></a> |
333 <h4>TaskFilter.setPrioritiesFilter</h4> |
333 <h4>TaskFilter.setPrioritiesFilter</h4> |
334 <b>setPrioritiesFilter</b>(<i>priorities</i>) |
334 <b>setPrioritiesFilter</b>(<i>priorities</i>) |
335 <p> |
335 <p> |
336 Public method to set the priorities filter. |
336 Public method to set the priorities filter. |
337 </p><dl> |
337 </p><dl> |
338 <dt><i>priorities</i></dt> |
338 <dt><i>priorities</i></dt> |
339 <dd> |
339 <dd> |
340 list of task priorities (list of integer) or None |
340 list of task priorities (list of integer) or None |
341 </dd> |
341 </dd> |
342 </dl><a NAME="TaskFilter.setScopeFilter" ID="TaskFilter.setScopeFilter"></a> |
342 </dl><a NAME="TaskFilter.setScopeFilter" ID="TaskFilter.setScopeFilter"></a> |
343 <h4>TaskFilter.setScopeFilter</h4> |
343 <h4>TaskFilter.setScopeFilter</h4> |
344 <b>setScopeFilter</b>(<i>scope</i>) |
344 <b>setScopeFilter</b>(<i>scope</i>) |
345 <p> |
345 <p> |
346 Public method to set the scope filter. |
346 Public method to set the scope filter. |
347 </p><dl> |
347 </p><dl> |
348 <dt><i>scope</i></dt> |
348 <dt><i>scope</i></dt> |
349 <dd> |
349 <dd> |
350 flag indicating a project task (boolean) or None |
350 flag indicating a project task (boolean) or None |
351 </dd> |
351 </dd> |
352 </dl><a NAME="TaskFilter.setStatusFilter" ID="TaskFilter.setStatusFilter"></a> |
352 </dl><a NAME="TaskFilter.setStatusFilter" ID="TaskFilter.setStatusFilter"></a> |
353 <h4>TaskFilter.setStatusFilter</h4> |
353 <h4>TaskFilter.setStatusFilter</h4> |
354 <b>setStatusFilter</b>(<i>status</i>) |
354 <b>setStatusFilter</b>(<i>status</i>) |
355 <p> |
355 <p> |
356 Public method to set the status filter. |
356 Public method to set the status filter. |
357 </p><dl> |
357 </p><dl> |
358 <dt><i>status</i></dt> |
358 <dt><i>status</i></dt> |
359 <dd> |
359 <dd> |
360 flag indicating a completed task (boolean) or None |
360 flag indicating a completed task (boolean) or None |
361 </dd> |
361 </dd> |
362 </dl><a NAME="TaskFilter.setTypeFilter" ID="TaskFilter.setTypeFilter"></a> |
362 </dl><a NAME="TaskFilter.setTypeFilter" ID="TaskFilter.setTypeFilter"></a> |
363 <h4>TaskFilter.setTypeFilter</h4> |
363 <h4>TaskFilter.setTypeFilter</h4> |
364 <b>setTypeFilter</b>(<i>type_</i>) |
364 <b>setTypeFilter</b>(<i>type_</i>) |
365 <p> |
365 <p> |
366 Public method to set the type filter. |
366 Public method to set the type filter. |
367 </p><dl> |
367 </p><dl> |
368 <dt><i>type_</i></dt> |
368 <dt><i>type_</i></dt> |
369 <dd> |
369 <dd> |
370 flag indicating a bugfix task (boolean) or None |
370 flag indicating a bugfix task (boolean) or None |
371 </dd> |
371 </dd> |
372 </dl><a NAME="TaskFilter.showTask" ID="TaskFilter.showTask"></a> |
372 </dl><a NAME="TaskFilter.showTask" ID="TaskFilter.showTask"></a> |
373 <h4>TaskFilter.showTask</h4> |
373 <h4>TaskFilter.showTask</h4> |
374 <b>showTask</b>(<i>task</i>) |
374 <b>showTask</b>(<i>task</i>) |
375 <p> |
375 <p> |
376 Public method to check, if a task should be shown. |
376 Public method to check, if a task should be shown. |
377 </p><dl> |
377 </p><dl> |
378 <dt><i>task</i></dt> |
378 <dt><i>task</i></dt> |
379 <dd> |
379 <dd> |
380 reference to the task object to check (Task) |
380 reference to the task object to check (Task) |
381 </dd> |
381 </dd> |
382 </dl><dl> |
382 </dl><dl> |
383 <dt>Returns:</dt> |
383 <dt>Returns:</dt> |
384 <dd> |
384 <dd> |
385 flag indicating whether the task should be shown (boolean) |
385 flag indicating whether the task should be shown (boolean) |
386 </dd> |
386 </dd> |
387 </dl> |
387 </dl> |
388 <div align="right"><a href="#top">Up</a></div> |
388 <div align="right"><a href="#top">Up</a></div> |
389 <hr /><hr /> |
389 <hr /><hr /> |
390 <a NAME="TaskViewer" ID="TaskViewer"></a> |
390 <a NAME="TaskViewer" ID="TaskViewer"></a> |
391 <h2>TaskViewer</h2> |
391 <h2>TaskViewer</h2> |
392 <p> |
392 <p> |
393 Class implementing the task viewer. |
393 Class implementing the task viewer. |
394 </p><h4>Signals</h4> |
394 </p><h4>Signals</h4> |
395 <dl> |
395 <dl> |
396 <dt>displayFile(string, integer)</dt> |
396 <dt>displayFile(string, integer)</dt> |
397 <dd> |
397 <dd> |
398 emitted to go to a file task |
398 emitted to go to a file task |
399 </dd> |
399 </dd> |
400 </dl> |
400 </dl> |
401 <h3>Derived from</h3> |
401 <h3>Derived from</h3> |
402 QTreeWidget |
402 QTreeWidget |
403 <h3>Class Attributes</h3> |
403 <h3>Class Attributes</h3> |
406 </table> |
406 </table> |
407 <h3>Methods</h3> |
407 <h3>Methods</h3> |
408 <table> |
408 <table> |
409 <tr> |
409 <tr> |
410 <td><a href="#TaskViewer.__init__">TaskViewer</a></td> |
410 <td><a href="#TaskViewer.__init__">TaskViewer</a></td> |
411 <td>Constructor</td> |
411 <td>Constructor</td> |
412 </tr><tr> |
412 </tr><tr> |
413 <td><a href="#TaskViewer.__activateFilter">__activateFilter</a></td> |
413 <td><a href="#TaskViewer.__activateFilter">__activateFilter</a></td> |
414 <td>Private slot to handle the "Filtered display" context menu entry.</td> |
414 <td>Private slot to handle the "Filtered display" context menu entry.</td> |
415 </tr><tr> |
415 </tr><tr> |
416 <td><a href="#TaskViewer.__configure">__configure</a></td> |
416 <td><a href="#TaskViewer.__configure">__configure</a></td> |
417 <td>Private method to open the configuration dialog.</td> |
417 <td>Private method to open the configuration dialog.</td> |
418 </tr><tr> |
418 </tr><tr> |
419 <td><a href="#TaskViewer.__configureFilter">__configureFilter</a></td> |
419 <td><a href="#TaskViewer.__configureFilter">__configureFilter</a></td> |
420 <td>Private slot to handle the "Configure filter" context menu entry.</td> |
420 <td>Private slot to handle the "Configure filter" context menu entry.</td> |
421 </tr><tr> |
421 </tr><tr> |
422 <td><a href="#TaskViewer.__copyTask">__copyTask</a></td> |
422 <td><a href="#TaskViewer.__copyTask">__copyTask</a></td> |
423 <td>Private slot to handle the "Copy" context menu entry.</td> |
423 <td>Private slot to handle the "Copy" context menu entry.</td> |
424 </tr><tr> |
424 </tr><tr> |
425 <td><a href="#TaskViewer.__deleteCompleted">__deleteCompleted</a></td> |
425 <td><a href="#TaskViewer.__deleteCompleted">__deleteCompleted</a></td> |
426 <td>Private slot to handle the "Delete Completed Tasks" context menu entry.</td> |
426 <td>Private slot to handle the "Delete Completed Tasks" context menu entry.</td> |
427 </tr><tr> |
427 </tr><tr> |
428 <td><a href="#TaskViewer.__deleteTask">__deleteTask</a></td> |
428 <td><a href="#TaskViewer.__deleteTask">__deleteTask</a></td> |
429 <td>Private slot to handle the "Delete Task" context menu entry.</td> |
429 <td>Private slot to handle the "Delete Task" context menu entry.</td> |
430 </tr><tr> |
430 </tr><tr> |
431 <td><a href="#TaskViewer.__editTaskProperties">__editTaskProperties</a></td> |
431 <td><a href="#TaskViewer.__editTaskProperties">__editTaskProperties</a></td> |
432 <td>Private slot to handle the "Properties" context menu entry</td> |
432 <td>Private slot to handle the "Properties" context menu entry</td> |
433 </tr><tr> |
433 </tr><tr> |
434 <td><a href="#TaskViewer.__goToTask">__goToTask</a></td> |
434 <td><a href="#TaskViewer.__goToTask">__goToTask</a></td> |
435 <td>Private slot to handle the "Go To" context menu entry.</td> |
435 <td>Private slot to handle the "Go To" context menu entry.</td> |
436 </tr><tr> |
436 </tr><tr> |
437 <td><a href="#TaskViewer.__markCompleted">__markCompleted</a></td> |
437 <td><a href="#TaskViewer.__markCompleted">__markCompleted</a></td> |
438 <td>Private slot to handle the "Mark Completed" context menu entry.</td> |
438 <td>Private slot to handle the "Mark Completed" context menu entry.</td> |
439 </tr><tr> |
439 </tr><tr> |
440 <td><a href="#TaskViewer.__newTask">__newTask</a></td> |
440 <td><a href="#TaskViewer.__newTask">__newTask</a></td> |
441 <td>Private slot to handle the "New Task" context menu entry.</td> |
441 <td>Private slot to handle the "New Task" context menu entry.</td> |
442 </tr><tr> |
442 </tr><tr> |
443 <td><a href="#TaskViewer.__pasteTask">__pasteTask</a></td> |
443 <td><a href="#TaskViewer.__pasteTask">__pasteTask</a></td> |
444 <td>Private slot to handle the "Paste" context menu entry.</td> |
444 <td>Private slot to handle the "Paste" context menu entry.</td> |
445 </tr><tr> |
445 </tr><tr> |
446 <td><a href="#TaskViewer.__refreshDisplay">__refreshDisplay</a></td> |
446 <td><a href="#TaskViewer.__refreshDisplay">__refreshDisplay</a></td> |
447 <td>Private method to refresh the display.</td> |
447 <td>Private method to refresh the display.</td> |
448 </tr><tr> |
448 </tr><tr> |
449 <td><a href="#TaskViewer.__regenerateProjectTasks">__regenerateProjectTasks</a></td> |
449 <td><a href="#TaskViewer.__regenerateProjectTasks">__regenerateProjectTasks</a></td> |
450 <td>Private slot to handle the "Regenerated project tasks" context menu entry.</td> |
450 <td>Private slot to handle the "Regenerated project tasks" context menu entry.</td> |
451 </tr><tr> |
451 </tr><tr> |
452 <td><a href="#TaskViewer.__resizeColumns">__resizeColumns</a></td> |
452 <td><a href="#TaskViewer.__resizeColumns">__resizeColumns</a></td> |
453 <td>Private method to resize the list columns.</td> |
453 <td>Private method to resize the list columns.</td> |
454 </tr><tr> |
454 </tr><tr> |
455 <td><a href="#TaskViewer.__resort">__resort</a></td> |
455 <td><a href="#TaskViewer.__resort">__resort</a></td> |
456 <td>Private method to resort the tree.</td> |
456 <td>Private method to resort the tree.</td> |
457 </tr><tr> |
457 </tr><tr> |
458 <td><a href="#TaskViewer.__showContextMenu">__showContextMenu</a></td> |
458 <td><a href="#TaskViewer.__showContextMenu">__showContextMenu</a></td> |
459 <td>Private slot to show the context menu of the list.</td> |
459 <td>Private slot to show the context menu of the list.</td> |
460 </tr><tr> |
460 </tr><tr> |
461 <td><a href="#TaskViewer.__taskItemActivated">__taskItemActivated</a></td> |
461 <td><a href="#TaskViewer.__taskItemActivated">__taskItemActivated</a></td> |
462 <td>Private slot to handle the activation of an item.</td> |
462 <td>Private slot to handle the activation of an item.</td> |
463 </tr><tr> |
463 </tr><tr> |
464 <td><a href="#TaskViewer.addFileTask">addFileTask</a></td> |
464 <td><a href="#TaskViewer.addFileTask">addFileTask</a></td> |
465 <td>Public slot to add a file related task.</td> |
465 <td>Public slot to add a file related task.</td> |
466 </tr><tr> |
466 </tr><tr> |
467 <td><a href="#TaskViewer.addTask">addTask</a></td> |
467 <td><a href="#TaskViewer.addTask">addTask</a></td> |
468 <td>Public slot to add a task.</td> |
468 <td>Public slot to add a task.</td> |
469 </tr><tr> |
469 </tr><tr> |
470 <td><a href="#TaskViewer.clearFileTasks">clearFileTasks</a></td> |
470 <td><a href="#TaskViewer.clearFileTasks">clearFileTasks</a></td> |
471 <td>Public slot to clear all tasks related to a file.</td> |
471 <td>Public slot to clear all tasks related to a file.</td> |
472 </tr><tr> |
472 </tr><tr> |
473 <td><a href="#TaskViewer.clearProjectTasks">clearProjectTasks</a></td> |
473 <td><a href="#TaskViewer.clearProjectTasks">clearProjectTasks</a></td> |
474 <td>Public slot to clear project related tasks.</td> |
474 <td>Public slot to clear project related tasks.</td> |
475 </tr><tr> |
475 </tr><tr> |
476 <td><a href="#TaskViewer.clearTasks">clearTasks</a></td> |
476 <td><a href="#TaskViewer.clearTasks">clearTasks</a></td> |
477 <td>Public slot to clear all tasks from display.</td> |
477 <td>Public slot to clear all tasks from display.</td> |
478 </tr><tr> |
478 </tr><tr> |
479 <td><a href="#TaskViewer.getGlobalTasks">getGlobalTasks</a></td> |
479 <td><a href="#TaskViewer.getGlobalTasks">getGlobalTasks</a></td> |
480 <td>Public method to retrieve all non project related tasks.</td> |
480 <td>Public method to retrieve all non project related tasks.</td> |
481 </tr><tr> |
481 </tr><tr> |
482 <td><a href="#TaskViewer.getProjectTasks">getProjectTasks</a></td> |
482 <td><a href="#TaskViewer.getProjectTasks">getProjectTasks</a></td> |
483 <td>Public method to retrieve all project related tasks.</td> |
483 <td>Public method to retrieve all project related tasks.</td> |
484 </tr><tr> |
484 </tr><tr> |
485 <td><a href="#TaskViewer.handlePreferencesChanged">handlePreferencesChanged</a></td> |
485 <td><a href="#TaskViewer.handlePreferencesChanged">handlePreferencesChanged</a></td> |
486 <td>Public slot to react to changes of the preferences.</td> |
486 <td>Public slot to react to changes of the preferences.</td> |
487 </tr><tr> |
487 </tr><tr> |
488 <td><a href="#TaskViewer.setProjectOpen">setProjectOpen</a></td> |
488 <td><a href="#TaskViewer.setProjectOpen">setProjectOpen</a></td> |
489 <td>Public slot to set the project status.</td> |
489 <td>Public slot to set the project status.</td> |
490 </tr> |
490 </tr> |
491 </table> |
491 </table> |
492 <a NAME="TaskViewer.__init__" ID="TaskViewer.__init__"></a> |
492 <a NAME="TaskViewer.__init__" ID="TaskViewer.__init__"></a> |
493 <h4>TaskViewer (Constructor)</h4> |
493 <h4>TaskViewer (Constructor)</h4> |
494 <b>TaskViewer</b>(<i>parent, project</i>) |
494 <b>TaskViewer</b>(<i>parent, project</i>) |
495 <p> |
495 <p> |
496 Constructor |
496 Constructor |
497 </p><dl> |
497 </p><dl> |
498 <dt><i>parent</i></dt> |
498 <dt><i>parent</i></dt> |
499 <dd> |
499 <dd> |
500 the parent (QWidget) |
500 the parent (QWidget) |
501 </dd><dt><i>project</i></dt> |
501 </dd><dt><i>project</i></dt> |
502 <dd> |
502 <dd> |
503 reference to the project object |
503 reference to the project object |
504 </dd> |
504 </dd> |
505 </dl><a NAME="TaskViewer.__activateFilter" ID="TaskViewer.__activateFilter"></a> |
505 </dl><a NAME="TaskViewer.__activateFilter" ID="TaskViewer.__activateFilter"></a> |
506 <h4>TaskViewer.__activateFilter</h4> |
506 <h4>TaskViewer.__activateFilter</h4> |
507 <b>__activateFilter</b>(<i>on</i>) |
507 <b>__activateFilter</b>(<i>on</i>) |
508 <p> |
508 <p> |
509 Private slot to handle the "Filtered display" context menu entry. |
509 Private slot to handle the "Filtered display" context menu entry. |
510 </p><dl> |
510 </p><dl> |
511 <dt><i>on</i></dt> |
511 <dt><i>on</i></dt> |
512 <dd> |
512 <dd> |
513 flag indicating the filter state (boolean) |
513 flag indicating the filter state (boolean) |
514 </dd> |
514 </dd> |
515 </dl><a NAME="TaskViewer.__configure" ID="TaskViewer.__configure"></a> |
515 </dl><a NAME="TaskViewer.__configure" ID="TaskViewer.__configure"></a> |
516 <h4>TaskViewer.__configure</h4> |
516 <h4>TaskViewer.__configure</h4> |
517 <b>__configure</b>(<i></i>) |
517 <b>__configure</b>(<i></i>) |
518 <p> |
518 <p> |
519 Private method to open the configuration dialog. |
519 Private method to open the configuration dialog. |
520 </p><a NAME="TaskViewer.__configureFilter" ID="TaskViewer.__configureFilter"></a> |
520 </p><a NAME="TaskViewer.__configureFilter" ID="TaskViewer.__configureFilter"></a> |
521 <h4>TaskViewer.__configureFilter</h4> |
521 <h4>TaskViewer.__configureFilter</h4> |
522 <b>__configureFilter</b>(<i></i>) |
522 <b>__configureFilter</b>(<i></i>) |
523 <p> |
523 <p> |
524 Private slot to handle the "Configure filter" context menu entry. |
524 Private slot to handle the "Configure filter" context menu entry. |
525 </p><a NAME="TaskViewer.__copyTask" ID="TaskViewer.__copyTask"></a> |
525 </p><a NAME="TaskViewer.__copyTask" ID="TaskViewer.__copyTask"></a> |
526 <h4>TaskViewer.__copyTask</h4> |
526 <h4>TaskViewer.__copyTask</h4> |
527 <b>__copyTask</b>(<i></i>) |
527 <b>__copyTask</b>(<i></i>) |
528 <p> |
528 <p> |
529 Private slot to handle the "Copy" context menu entry. |
529 Private slot to handle the "Copy" context menu entry. |
530 </p><a NAME="TaskViewer.__deleteCompleted" ID="TaskViewer.__deleteCompleted"></a> |
530 </p><a NAME="TaskViewer.__deleteCompleted" ID="TaskViewer.__deleteCompleted"></a> |
531 <h4>TaskViewer.__deleteCompleted</h4> |
531 <h4>TaskViewer.__deleteCompleted</h4> |
532 <b>__deleteCompleted</b>(<i></i>) |
532 <b>__deleteCompleted</b>(<i></i>) |
533 <p> |
533 <p> |
534 Private slot to handle the "Delete Completed Tasks" context menu entry. |
534 Private slot to handle the "Delete Completed Tasks" context menu entry. |
535 </p><a NAME="TaskViewer.__deleteTask" ID="TaskViewer.__deleteTask"></a> |
535 </p><a NAME="TaskViewer.__deleteTask" ID="TaskViewer.__deleteTask"></a> |
536 <h4>TaskViewer.__deleteTask</h4> |
536 <h4>TaskViewer.__deleteTask</h4> |
537 <b>__deleteTask</b>(<i></i>) |
537 <b>__deleteTask</b>(<i></i>) |
538 <p> |
538 <p> |
539 Private slot to handle the "Delete Task" context menu entry. |
539 Private slot to handle the "Delete Task" context menu entry. |
540 </p><a NAME="TaskViewer.__editTaskProperties" ID="TaskViewer.__editTaskProperties"></a> |
540 </p><a NAME="TaskViewer.__editTaskProperties" ID="TaskViewer.__editTaskProperties"></a> |
541 <h4>TaskViewer.__editTaskProperties</h4> |
541 <h4>TaskViewer.__editTaskProperties</h4> |
542 <b>__editTaskProperties</b>(<i></i>) |
542 <b>__editTaskProperties</b>(<i></i>) |
543 <p> |
543 <p> |
544 Private slot to handle the "Properties" context menu entry |
544 Private slot to handle the "Properties" context menu entry |
545 </p><a NAME="TaskViewer.__goToTask" ID="TaskViewer.__goToTask"></a> |
545 </p><a NAME="TaskViewer.__goToTask" ID="TaskViewer.__goToTask"></a> |
546 <h4>TaskViewer.__goToTask</h4> |
546 <h4>TaskViewer.__goToTask</h4> |
547 <b>__goToTask</b>(<i></i>) |
547 <b>__goToTask</b>(<i></i>) |
548 <p> |
548 <p> |
549 Private slot to handle the "Go To" context menu entry. |
549 Private slot to handle the "Go To" context menu entry. |
550 </p><a NAME="TaskViewer.__markCompleted" ID="TaskViewer.__markCompleted"></a> |
550 </p><a NAME="TaskViewer.__markCompleted" ID="TaskViewer.__markCompleted"></a> |
551 <h4>TaskViewer.__markCompleted</h4> |
551 <h4>TaskViewer.__markCompleted</h4> |
552 <b>__markCompleted</b>(<i></i>) |
552 <b>__markCompleted</b>(<i></i>) |
553 <p> |
553 <p> |
554 Private slot to handle the "Mark Completed" context menu entry. |
554 Private slot to handle the "Mark Completed" context menu entry. |
555 </p><a NAME="TaskViewer.__newTask" ID="TaskViewer.__newTask"></a> |
555 </p><a NAME="TaskViewer.__newTask" ID="TaskViewer.__newTask"></a> |
556 <h4>TaskViewer.__newTask</h4> |
556 <h4>TaskViewer.__newTask</h4> |
557 <b>__newTask</b>(<i></i>) |
557 <b>__newTask</b>(<i></i>) |
558 <p> |
558 <p> |
559 Private slot to handle the "New Task" context menu entry. |
559 Private slot to handle the "New Task" context menu entry. |
560 </p><a NAME="TaskViewer.__pasteTask" ID="TaskViewer.__pasteTask"></a> |
560 </p><a NAME="TaskViewer.__pasteTask" ID="TaskViewer.__pasteTask"></a> |
561 <h4>TaskViewer.__pasteTask</h4> |
561 <h4>TaskViewer.__pasteTask</h4> |
562 <b>__pasteTask</b>(<i></i>) |
562 <b>__pasteTask</b>(<i></i>) |
563 <p> |
563 <p> |
564 Private slot to handle the "Paste" context menu entry. |
564 Private slot to handle the "Paste" context menu entry. |
565 </p><a NAME="TaskViewer.__refreshDisplay" ID="TaskViewer.__refreshDisplay"></a> |
565 </p><a NAME="TaskViewer.__refreshDisplay" ID="TaskViewer.__refreshDisplay"></a> |
566 <h4>TaskViewer.__refreshDisplay</h4> |
566 <h4>TaskViewer.__refreshDisplay</h4> |
567 <b>__refreshDisplay</b>(<i></i>) |
567 <b>__refreshDisplay</b>(<i></i>) |
568 <p> |
568 <p> |
569 Private method to refresh the display. |
569 Private method to refresh the display. |
570 </p><a NAME="TaskViewer.__regenerateProjectTasks" ID="TaskViewer.__regenerateProjectTasks"></a> |
570 </p><a NAME="TaskViewer.__regenerateProjectTasks" ID="TaskViewer.__regenerateProjectTasks"></a> |
571 <h4>TaskViewer.__regenerateProjectTasks</h4> |
571 <h4>TaskViewer.__regenerateProjectTasks</h4> |
572 <b>__regenerateProjectTasks</b>(<i></i>) |
572 <b>__regenerateProjectTasks</b>(<i></i>) |
573 <p> |
573 <p> |
574 Private slot to handle the "Regenerated project tasks" context menu entry. |
574 Private slot to handle the "Regenerated project tasks" context menu entry. |
575 </p><a NAME="TaskViewer.__resizeColumns" ID="TaskViewer.__resizeColumns"></a> |
575 </p><a NAME="TaskViewer.__resizeColumns" ID="TaskViewer.__resizeColumns"></a> |
576 <h4>TaskViewer.__resizeColumns</h4> |
576 <h4>TaskViewer.__resizeColumns</h4> |
577 <b>__resizeColumns</b>(<i></i>) |
577 <b>__resizeColumns</b>(<i></i>) |
578 <p> |
578 <p> |
579 Private method to resize the list columns. |
579 Private method to resize the list columns. |
580 </p><a NAME="TaskViewer.__resort" ID="TaskViewer.__resort"></a> |
580 </p><a NAME="TaskViewer.__resort" ID="TaskViewer.__resort"></a> |
581 <h4>TaskViewer.__resort</h4> |
581 <h4>TaskViewer.__resort</h4> |
582 <b>__resort</b>(<i></i>) |
582 <b>__resort</b>(<i></i>) |
583 <p> |
583 <p> |
584 Private method to resort the tree. |
584 Private method to resort the tree. |
585 </p><a NAME="TaskViewer.__showContextMenu" ID="TaskViewer.__showContextMenu"></a> |
585 </p><a NAME="TaskViewer.__showContextMenu" ID="TaskViewer.__showContextMenu"></a> |
586 <h4>TaskViewer.__showContextMenu</h4> |
586 <h4>TaskViewer.__showContextMenu</h4> |
587 <b>__showContextMenu</b>(<i>coord</i>) |
587 <b>__showContextMenu</b>(<i>coord</i>) |
588 <p> |
588 <p> |
589 Private slot to show the context menu of the list. |
589 Private slot to show the context menu of the list. |
590 </p><dl> |
590 </p><dl> |
591 <dt><i>coord</i></dt> |
591 <dt><i>coord</i></dt> |
592 <dd> |
592 <dd> |
593 the position of the mouse pointer (QPoint) |
593 the position of the mouse pointer (QPoint) |
594 </dd> |
594 </dd> |
595 </dl><a NAME="TaskViewer.__taskItemActivated" ID="TaskViewer.__taskItemActivated"></a> |
595 </dl><a NAME="TaskViewer.__taskItemActivated" ID="TaskViewer.__taskItemActivated"></a> |
596 <h4>TaskViewer.__taskItemActivated</h4> |
596 <h4>TaskViewer.__taskItemActivated</h4> |
597 <b>__taskItemActivated</b>(<i>itm, col</i>) |
597 <b>__taskItemActivated</b>(<i>itm, col</i>) |
598 <p> |
598 <p> |
599 Private slot to handle the activation of an item. |
599 Private slot to handle the activation of an item. |
600 </p><dl> |
600 </p><dl> |
601 <dt><i>itm</i></dt> |
601 <dt><i>itm</i></dt> |
602 <dd> |
602 <dd> |
603 reference to the activated item (QTreeWidgetItem) |
603 reference to the activated item (QTreeWidgetItem) |
604 </dd><dt><i>col</i></dt> |
604 </dd><dt><i>col</i></dt> |
605 <dd> |
605 <dd> |
606 column the item was activated in (integer) |
606 column the item was activated in (integer) |
607 </dd> |
607 </dd> |
608 </dl><a NAME="TaskViewer.addFileTask" ID="TaskViewer.addFileTask"></a> |
608 </dl><a NAME="TaskViewer.addFileTask" ID="TaskViewer.addFileTask"></a> |
609 <h4>TaskViewer.addFileTask</h4> |
609 <h4>TaskViewer.addFileTask</h4> |
610 <b>addFileTask</b>(<i>description, filename, lineno, isBugfixTask = False, longtext = ""</i>) |
610 <b>addFileTask</b>(<i>description, filename, lineno, isBugfixTask = False, longtext = ""</i>) |
611 <p> |
611 <p> |
612 Public slot to add a file related task. |
612 Public slot to add a file related task. |
613 </p><dl> |
613 </p><dl> |
614 <dt><i>description</i></dt> |
614 <dt><i>description</i></dt> |
615 <dd> |
615 <dd> |
616 descriptive text of the task (string) |
616 descriptive text of the task (string) |
617 </dd><dt><i>filename</i></dt> |
617 </dd><dt><i>filename</i></dt> |
618 <dd> |
618 <dd> |
619 filename containing the task (string) |
619 filename containing the task (string) |
620 </dd><dt><i>lineno</i></dt> |
620 </dd><dt><i>lineno</i></dt> |
621 <dd> |
621 <dd> |
622 line number containing the task (integer) |
622 line number containing the task (integer) |
623 </dd><dt><i>isBugfixTask</i></dt> |
623 </dd><dt><i>isBugfixTask</i></dt> |
624 <dd> |
624 <dd> |
625 flag indicating a bugfix task (boolean) |
625 flag indicating a bugfix task (boolean) |
626 </dd><dt><i>longtext</i></dt> |
626 </dd><dt><i>longtext</i></dt> |
627 <dd> |
627 <dd> |
628 explanatory text of the task (string) |
628 explanatory text of the task (string) |
629 </dd> |
629 </dd> |
630 </dl><a NAME="TaskViewer.addTask" ID="TaskViewer.addTask"></a> |
630 </dl><a NAME="TaskViewer.addTask" ID="TaskViewer.addTask"></a> |
631 <h4>TaskViewer.addTask</h4> |
631 <h4>TaskViewer.addTask</h4> |
632 <b>addTask</b>(<i>description, priority = 1, filename = "", lineno = 0, completed = False, _time = 0, isProjectTask = False, isBugfixTask = False, longtext = ""</i>) |
632 <b>addTask</b>(<i>description, priority = 1, filename = "", lineno = 0, completed = False, _time = 0, isProjectTask = False, isBugfixTask = False, longtext = ""</i>) |
633 <p> |
633 <p> |
634 Public slot to add a task. |
634 Public slot to add a task. |
635 </p><dl> |
635 </p><dl> |
636 <dt><i>description</i></dt> |
636 <dt><i>description</i></dt> |
637 <dd> |
637 <dd> |
638 descriptive text of the task (string) |
638 descriptive text of the task (string) |
639 </dd><dt><i>priority</i></dt> |
639 </dd><dt><i>priority</i></dt> |
640 <dd> |
640 <dd> |
641 priority of the task (0=high, 1=normal, 2=low) |
641 priority of the task (0=high, 1=normal, 2=low) |
642 </dd><dt><i>filename</i></dt> |
642 </dd><dt><i>filename</i></dt> |
643 <dd> |
643 <dd> |
644 filename containing the task (string) |
644 filename containing the task (string) |
645 </dd><dt><i>lineno</i></dt> |
645 </dd><dt><i>lineno</i></dt> |
646 <dd> |
646 <dd> |
647 line number containing the task (integer) |
647 line number containing the task (integer) |
648 </dd><dt><i>completed</i></dt> |
648 </dd><dt><i>completed</i></dt> |
649 <dd> |
649 <dd> |
650 flag indicating completion status (boolean) |
650 flag indicating completion status (boolean) |
651 </dd><dt><i>_time</i></dt> |
651 </dd><dt><i>_time</i></dt> |
652 <dd> |
652 <dd> |
653 creation time of the task (float, if 0 use current time) |
653 creation time of the task (float, if 0 use current time) |
654 </dd><dt><i>isProjectTask</i></dt> |
654 </dd><dt><i>isProjectTask</i></dt> |
655 <dd> |
655 <dd> |
656 flag indicating a task related to the current |
656 flag indicating a task related to the current |
657 project (boolean) |
657 project (boolean) |
658 </dd><dt><i>isBugfixTask</i></dt> |
658 </dd><dt><i>isBugfixTask</i></dt> |
659 <dd> |
659 <dd> |
660 flag indicating a bugfix task (boolean) |
660 flag indicating a bugfix task (boolean) |
661 </dd><dt><i>longtext</i></dt> |
661 </dd><dt><i>longtext</i></dt> |
662 <dd> |
662 <dd> |
663 explanatory text of the task (string) |
663 explanatory text of the task (string) |
664 </dd> |
664 </dd> |
665 </dl><a NAME="TaskViewer.clearFileTasks" ID="TaskViewer.clearFileTasks"></a> |
665 </dl><a NAME="TaskViewer.clearFileTasks" ID="TaskViewer.clearFileTasks"></a> |
666 <h4>TaskViewer.clearFileTasks</h4> |
666 <h4>TaskViewer.clearFileTasks</h4> |
667 <b>clearFileTasks</b>(<i>filename</i>) |
667 <b>clearFileTasks</b>(<i>filename</i>) |
668 <p> |
668 <p> |
669 Public slot to clear all tasks related to a file. |
669 Public slot to clear all tasks related to a file. |
670 </p><dl> |
670 </p><dl> |
671 <dt><i>filename</i></dt> |
671 <dt><i>filename</i></dt> |
672 <dd> |
672 <dd> |
673 name of the file (string) |
673 name of the file (string) |
674 </dd> |
674 </dd> |
675 </dl><a NAME="TaskViewer.clearProjectTasks" ID="TaskViewer.clearProjectTasks"></a> |
675 </dl><a NAME="TaskViewer.clearProjectTasks" ID="TaskViewer.clearProjectTasks"></a> |
676 <h4>TaskViewer.clearProjectTasks</h4> |
676 <h4>TaskViewer.clearProjectTasks</h4> |
677 <b>clearProjectTasks</b>(<i></i>) |
677 <b>clearProjectTasks</b>(<i></i>) |
678 <p> |
678 <p> |
679 Public slot to clear project related tasks. |
679 Public slot to clear project related tasks. |
680 </p><a NAME="TaskViewer.clearTasks" ID="TaskViewer.clearTasks"></a> |
680 </p><a NAME="TaskViewer.clearTasks" ID="TaskViewer.clearTasks"></a> |
681 <h4>TaskViewer.clearTasks</h4> |
681 <h4>TaskViewer.clearTasks</h4> |
682 <b>clearTasks</b>(<i></i>) |
682 <b>clearTasks</b>(<i></i>) |
683 <p> |
683 <p> |
684 Public slot to clear all tasks from display. |
684 Public slot to clear all tasks from display. |
685 </p><a NAME="TaskViewer.getGlobalTasks" ID="TaskViewer.getGlobalTasks"></a> |
685 </p><a NAME="TaskViewer.getGlobalTasks" ID="TaskViewer.getGlobalTasks"></a> |
686 <h4>TaskViewer.getGlobalTasks</h4> |
686 <h4>TaskViewer.getGlobalTasks</h4> |
687 <b>getGlobalTasks</b>(<i></i>) |
687 <b>getGlobalTasks</b>(<i></i>) |
688 <p> |
688 <p> |
689 Public method to retrieve all non project related tasks. |
689 Public method to retrieve all non project related tasks. |
690 </p><dl> |
690 </p><dl> |
691 <dt>Returns:</dt> |
691 <dt>Returns:</dt> |
692 <dd> |
692 <dd> |
693 copy of tasks (list of Task) |
693 copy of tasks (list of Task) |
694 </dd> |
694 </dd> |
695 </dl><a NAME="TaskViewer.getProjectTasks" ID="TaskViewer.getProjectTasks"></a> |
695 </dl><a NAME="TaskViewer.getProjectTasks" ID="TaskViewer.getProjectTasks"></a> |
696 <h4>TaskViewer.getProjectTasks</h4> |
696 <h4>TaskViewer.getProjectTasks</h4> |
697 <b>getProjectTasks</b>(<i></i>) |
697 <b>getProjectTasks</b>(<i></i>) |
698 <p> |
698 <p> |
699 Public method to retrieve all project related tasks. |
699 Public method to retrieve all project related tasks. |
700 </p><dl> |
700 </p><dl> |
701 <dt>Returns:</dt> |
701 <dt>Returns:</dt> |
702 <dd> |
702 <dd> |
703 copy of tasks (list of Task) |
703 copy of tasks (list of Task) |
704 </dd> |
704 </dd> |
705 </dl><a NAME="TaskViewer.handlePreferencesChanged" ID="TaskViewer.handlePreferencesChanged"></a> |
705 </dl><a NAME="TaskViewer.handlePreferencesChanged" ID="TaskViewer.handlePreferencesChanged"></a> |
706 <h4>TaskViewer.handlePreferencesChanged</h4> |
706 <h4>TaskViewer.handlePreferencesChanged</h4> |
707 <b>handlePreferencesChanged</b>(<i></i>) |
707 <b>handlePreferencesChanged</b>(<i></i>) |
708 <p> |
708 <p> |
709 Public slot to react to changes of the preferences. |
709 Public slot to react to changes of the preferences. |
710 </p><a NAME="TaskViewer.setProjectOpen" ID="TaskViewer.setProjectOpen"></a> |
710 </p><a NAME="TaskViewer.setProjectOpen" ID="TaskViewer.setProjectOpen"></a> |
711 <h4>TaskViewer.setProjectOpen</h4> |
711 <h4>TaskViewer.setProjectOpen</h4> |
712 <b>setProjectOpen</b>(<i>o = False</i>) |
712 <b>setProjectOpen</b>(<i>o = False</i>) |
713 <p> |
713 <p> |
714 Public slot to set the project status. |
714 Public slot to set the project status. |
715 </p><dl> |
715 </p><dl> |
716 <dt><i>o</i></dt> |
716 <dt><i>o</i></dt> |
717 <dd> |
717 <dd> |
718 flag indicating the project status |
718 flag indicating the project status |
719 </dd> |
719 </dd> |
720 </dl> |
720 </dl> |
721 <div align="right"><a href="#top">Up</a></div> |
721 <div align="right"><a href="#top">Up</a></div> |
722 <hr /> |
722 <hr /> |
723 </body></html> |
723 </body></html> |