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 specially introductory text. This text is configurable.
Task | Class implementing the task data structure. |
TaskViewer | Class implementing the task viewer. |
None |
Class implementing the task data structure.
Task | Constructor |
getFilename | Public method to retrieve the tasks filename. |
getLineno | Public method to retrieve the tasks linenumber. |
isCompleted | Public slot to return the completion status. |
isProjectTask | Public slot to return the project relation status. |
paintCell | Overwritten class to set a different text color, if bold is true. |
setCompleted | Public slot to update the completed flag. |
setDescription | Public slot to update the description. |
setPriority | Public slot to update the priority. |
setProjectTask | Public method to set the project relation flag. |
Constructor
Public method to retrieve the tasks filename.
Public method to retrieve the tasks linenumber.
Public slot to return the completion status.
Public slot to return the project relation status.
Overwritten class to set a different text color, if bold is true.
Public slot to update the completed flag.
Public slot to update the description.
Public slot to update the priority.
Public method to set the project relation flag.
Class implementing the task viewer.
TaskViewer | Constructor |
addFileTask | Public slot to add a file related task. |
addTask | Public slot to add a task. |
clearFileTasks | Public slot to clear all task related to a file. |
clearProjectTasks | Public slot to clear project related tasks. |
clearTasks | Public slot to clear all tasks from display. |
contentsMouseDoubleClickEvent | Protected method of QListView. |
getGlobalTasks | Public method to retrieve all non project related tasks. |
getProjectTasks | Public method to retrieve all project related tasks. |
handleCompleted | Private slot to handle the "Mark Completed" context menu entry. |
handleContextMenu | Private slot to show the context menu of the listview. |
handleCopy | Private slot to handle the "Copy" context menu entry. |
handleDelete | Private slot to handle the "Delete Task" context menu entry. |
handleDeleteCompleted | Private slot to handle the "Delete Completed Tasks" context menu entry. |
handleGoTo | Private slot to handle the "Go To" context menu entry. |
handleNewTask | Private slot to handle the "New Task" context menu entry. |
handlePaste | Private slot to handle the "Paste" context menu entry. |
handlePreferencesChanged | Private slot to react to changes of the preferences. |
handleProperties | Private slot to handle the "Properties" context menu entry |
setProjectOpen | Public slot to set the project status. |
Constructor
Public slot to add a file related task.
Public slot to add a task.
Public slot to clear all task related to a file.
Public slot to clear project related tasks.
Public slot to clear all tasks from display.
Protected method of QListView.
Reimplemented to disable expanding/collapsing of items when double-clicking. Instead the double-clicked entry is opened.
Public method to retrieve all non project related tasks.
Public method to retrieve all project related tasks.
Private slot to handle the "Mark Completed" context menu entry.
Private slot to show the context menu of the listview.
Private slot to handle the "Copy" context menu entry.
Private slot to handle the "Delete Task" context menu entry.
Private slot to handle the "Delete Completed Tasks" context menu entry.
Private slot to handle the "Go To" context menu entry.
Private slot to handle the "New Task" context menu entry.
Private slot to handle the "Paste" context menu entry.
Private slot to react to changes of the preferences.
Private slot to handle the "Properties" context menu entry
Public slot to set the project status.