Module implementing a task viewer and associated classes.
Tasks can be defined manually or automatically. Automatically generated tasks are derived from a comment with a special introductory text. This text is configurable.
None |
Task | Class implementing the task data structure. |
TaskFilter | Class implementing a filter for tasks. |
TaskViewer | Class implementing the task viewer. |
None |
Class implementing the task data structure.
None |
None |
Task | Constructor |
colorizeTask | Public slot to set the colors of the task item. |
getFilename | Public method to retrieve the tasks filename. |
getLineno | Public method to retrieve the tasks linenumber. |
isCompleted | Public slot to return the completion status. |
isProjectFileTask | Public slot to get an indication, if this task is related to a project file. |
isProjectTask | Public slot to return the project relation status. |
setCompleted | Public slot to update the completed flag. |
setDescription | Public slot to update the description. |
setLongText | Public slot to update the longtext field. |
setPriority | Public slot to update the priority. |
setProjectTask | Public method to set the project relation flag. |
None |
Constructor
Public slot to set the colors of the task item.
Public method to retrieve the tasks filename.
Public method to retrieve the tasks linenumber.
Public slot to return the completion status.
Public slot to get an indication, if this task is related to a project file.
Public slot to return the project relation status.
Public slot to update the completed flag.
Public slot to update the description.
Public slot to update the longtext field.
Public slot to update the priority.
Public method to set the project relation flag.
Class implementing a filter for tasks.
None |
None |
TaskFilter | Constructor |
hasActiveFilter | Public method to check for active filters. |
setActive | Public method to activate the filter. |
setDescriptionFilter | Public method to set the description filter. |
setFileNameFilter | Public method to set the filename filter. |
setPrioritiesFilter | Public method to set the priorities filter. |
setScopeFilter | Public method to set the scope filter. |
setStatusFilter | Public method to set the status filter. |
setTypeFilter | Public method to set the type filter. |
showTask | Public method to check, if a task should be shown. |
None |
Constructor
Public method to check for active filters.
Public method to activate the filter.
Public method to set the description filter.
Public method to set the filename filter.
Public method to set the priorities filter.
Public method to set the scope filter.
Public method to set the status filter.
Public method to set the type filter.
Public method to check, if a task should be shown.
Class implementing the task viewer.
None |
None |
TaskViewer | Constructor |
__activateFilter | Private slot to handle the "Filtered display" context menu entry. |
__configure | Private method to open the configuration dialog. |
__configureFilter | Private slot to handle the "Configure filter" context menu entry. |
__copyTask | Private slot to handle the "Copy" context menu entry. |
__deleteCompleted | Private slot to handle the "Delete Completed Tasks" context menu entry. |
__deleteTask | Private slot to handle the "Delete Task" context menu entry. |
__editTaskProperties | Private slot to handle the "Properties" context menu entry |
__goToTask | Private slot to handle the "Go To" context menu entry. |
__markCompleted | Private slot to handle the "Mark Completed" context menu entry. |
__newTask | Private slot to handle the "New Task" context menu entry. |
__pasteTask | Private slot to handle the "Paste" context menu entry. |
__refreshDisplay | Private method to refresh the display. |
__regenerateProjectTasks | Private slot to handle the "Regenerated projet tasks" context menu entry. |
__resizeColumns | Private method to resize the list columns. |
__resort | Private method to resort the tree. |
__showContextMenu | Private slot to show the context menu of the list. |
__taskItemActivated | Private slot to handle the activation of an item. |
addFileTask | Public slot to add a file related task. |
addTask | Public slot to add a task. |
clearFileTasks | Public slot to clear all tasks related to a file. |
clearProjectTasks | Public slot to clear project related tasks. |
clearTasks | Public slot to clear all tasks from display. |
getGlobalTasks | Public method to retrieve all non project related tasks. |
getProjectTasks | Public method to retrieve all project related tasks. |
handlePreferencesChanged | Public slot to react to changes of the preferences. |
setProjectOpen | Public slot to set the project status. |
None |
Constructor
Private slot to handle the "Filtered display" context menu entry.
Private method to open the configuration dialog.
Private slot to handle the "Configure filter" context menu entry.
Private slot to handle the "Copy" context menu entry.
Private slot to handle the "Delete Completed Tasks" context menu entry.
Private slot to handle the "Delete Task" context menu entry.
Private slot to handle the "Properties" context menu entry
Private slot to handle the "Go To" context menu entry.
Private slot to handle the "Mark Completed" context menu entry.
Private slot to handle the "New Task" context menu entry.
Private slot to handle the "Paste" context menu entry.
Private method to refresh the display.
Private slot to handle the "Regenerated projet tasks" context menu entry.
Private method to resize the list columns.
Private method to resort the tree.
Private slot to show the context menu of the list.
Private slot to handle the activation of an item.
Public slot to add a file related task.
Public slot to add a task.
Public slot to clear all tasks related to a file.
Public slot to clear project related tasks.
Public slot to clear all tasks from display.
Public method to retrieve all non project related tasks.
Public method to retrieve all project related tasks.
Public slot to react to changes of the preferences.
Public slot to set the project status.