Fri, 27 Oct 2023 14:09:40 +0200
Regenerated the source documentation with the corrected module parser.
<!DOCTYPE html> <html><head> <title>eric7.Tasks.Task</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.Tasks.Task</h1> <p> Module implementing a class to store task data. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#Task">Task</a></td> <td>Class implementing the task data structure.</td> </tr> <tr> <td><a href="#TaskPriority">TaskPriority</a></td> <td>Class defining the task priorities.</td> </tr> <tr> <td><a href="#TaskType">TaskType</a></td> <td>Class defining the task types.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /> <hr /> <a NAME="Task" ID="Task"></a> <h2>Task</h2> <p> Class implementing the task data structure. </p> <h3>Derived from</h3> QTreeWidgetItem <h3>Class Attributes</h3> <table> <tr><td>TaskType2ColorName</td></tr><tr><td>TaskType2IconName</td></tr><tr><td>TaskType2MarkersName</td></tr> </table> <h3>Class Methods</h3> <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> <table> <tr> <td><a href="#Task.__init__">Task</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#Task.colorizeTask">colorizeTask</a></td> <td>Public slot to set the colors of the task item.</td> </tr> <tr> <td><a href="#Task.getFilename">getFilename</a></td> <td>Public method to retrieve the task's filename.</td> </tr> <tr> <td><a href="#Task.getLineno">getLineno</a></td> <td>Public method to retrieve the task's linenumber.</td> </tr> <tr> <td><a href="#Task.getParentUuid">getParentUuid</a></td> <td>Public method to get the parent task's uid.</td> </tr> <tr> <td><a href="#Task.getUuid">getUuid</a></td> <td>Public method to get the task's uid.</td> </tr> <tr> <td><a href="#Task.isCompleted">isCompleted</a></td> <td>Public slot to return the completion status.</td> </tr> <tr> <td><a href="#Task.isFileTask">isFileTask</a></td> <td>Public slot to get an indication, if this task is related to a file.</td> </tr> <tr> <td><a href="#Task.isProjectFileTask">isProjectFileTask</a></td> <td>Public slot to get an indication, if this task is related to a project file.</td> </tr> <tr> <td><a href="#Task.isProjectTask">isProjectTask</a></td> <td>Public slot to return the project relation status.</td> </tr> <tr> <td><a href="#Task.setCompleted">setCompleted</a></td> <td>Public slot to update the completed flag.</td> </tr> <tr> <td><a href="#Task.setDescription">setDescription</a></td> <td>Public slot to update the description field.</td> </tr> <tr> <td><a href="#Task.setPriority">setPriority</a></td> <td>Public slot to update the priority.</td> </tr> <tr> <td><a href="#Task.setProjectTask">setProjectTask</a></td> <td>Public method to set the project relation flag.</td> </tr> <tr> <td><a href="#Task.setSummary">setSummary</a></td> <td>Public slot to update the description.</td> </tr> <tr> <td><a href="#Task.setTaskType">setTaskType</a></td> <td>Public method to update the task type.</td> </tr> <tr> <td><a href="#Task.toDict">toDict</a></td> <td>Public method to convert the task data to a dictionary.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="Task.__init__" ID="Task.__init__"></a> <h4>Task (Constructor)</h4> <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>) <p> Constructor </p> <dl> <dt><i>summary</i> (str)</dt> <dd> summary text of the task </dd> <dt><i>priority</i> (TaskPriority)</dt> <dd> priority of the task </dd> <dt><i>filename</i> (str)</dt> <dd> filename containing the task </dd> <dt><i>lineno</i> (int)</dt> <dd> line number containing the task </dd> <dt><i>completed</i> (bool)</dt> <dd> flag indicating completion status </dd> <dt><i>_time</i> (float)</dt> <dd> creation time of the task (if 0 use current time) </dd> <dt><i>isProjectTask</i> (bool)</dt> <dd> flag indicating a task related to the current project </dd> <dt><i>taskType</i> (TaskType)</dt> <dd> type of the task </dd> <dt><i>project</i> (Project)</dt> <dd> reference to the project object </dd> <dt><i>description</i> (str)</dt> <dd> explanatory text of the task </dd> <dt><i>uid</i> (str)</dt> <dd> unique id of the task </dd> <dt><i>parentUid</i> (str)</dt> <dd> unique id of the parent task </dd> </dl> <a NAME="Task.colorizeTask" ID="Task.colorizeTask"></a> <h4>Task.colorizeTask</h4> <b>colorizeTask</b>(<i></i>) <p> Public slot to set the colors of the task item. </p> <a NAME="Task.getFilename" ID="Task.getFilename"></a> <h4>Task.getFilename</h4> <b>getFilename</b>(<i></i>) <p> Public method to retrieve the task's filename. </p> <dl> <dt>Return:</dt> <dd> filename (string) </dd> </dl> <a NAME="Task.getLineno" ID="Task.getLineno"></a> <h4>Task.getLineno</h4> <b>getLineno</b>(<i></i>) <p> Public method to retrieve the task's linenumber. </p> <dl> <dt>Return:</dt> <dd> linenumber (integer) </dd> </dl> <a NAME="Task.getParentUuid" ID="Task.getParentUuid"></a> <h4>Task.getParentUuid</h4> <b>getParentUuid</b>(<i></i>) <p> Public method to get the parent task's uid. </p> <dl> <dt>Return:</dt> <dd> parent uid (string) </dd> </dl> <a NAME="Task.getUuid" ID="Task.getUuid"></a> <h4>Task.getUuid</h4> <b>getUuid</b>(<i></i>) <p> Public method to get the task's uid. </p> <dl> <dt>Return:</dt> <dd> uid (string) </dd> </dl> <a NAME="Task.isCompleted" ID="Task.isCompleted"></a> <h4>Task.isCompleted</h4> <b>isCompleted</b>(<i></i>) <p> Public slot to return the completion status. </p> <dl> <dt>Return:</dt> <dd> flag indicating the completion status (boolean) </dd> </dl> <a NAME="Task.isFileTask" ID="Task.isFileTask"></a> <h4>Task.isFileTask</h4> <b>isFileTask</b>(<i></i>) <p> Public slot to get an indication, if this task is related to a file. </p> <dl> <dt>Return:</dt> <dd> flag indicating a file task (boolean) </dd> </dl> <a NAME="Task.isProjectFileTask" ID="Task.isProjectFileTask"></a> <h4>Task.isProjectFileTask</h4> <b>isProjectFileTask</b>(<i></i>) <p> Public slot to get an indication, if this task is related to a project file. </p> <dl> <dt>Return:</dt> <dd> flag indicating a project file task (boolean) </dd> </dl> <a NAME="Task.isProjectTask" ID="Task.isProjectTask"></a> <h4>Task.isProjectTask</h4> <b>isProjectTask</b>(<i></i>) <p> Public slot to return the project relation status. </p> <dl> <dt>Return:</dt> <dd> flag indicating the project relation status (boolean) </dd> </dl> <a NAME="Task.setCompleted" ID="Task.setCompleted"></a> <h4>Task.setCompleted</h4> <b>setCompleted</b>(<i>completed</i>) <p> Public slot to update the completed flag. </p> <dl> <dt><i>completed</i></dt> <dd> flag indicating completion status (boolean) </dd> </dl> <a NAME="Task.setDescription" ID="Task.setDescription"></a> <h4>Task.setDescription</h4> <b>setDescription</b>(<i>description</i>) <p> Public slot to update the description field. </p> <dl> <dt><i>description</i> (str)</dt> <dd> descriptive text of the task </dd> </dl> <a NAME="Task.setPriority" ID="Task.setPriority"></a> <h4>Task.setPriority</h4> <b>setPriority</b>(<i>priority</i>) <p> Public slot to update the priority. </p> <dl> <dt><i>priority</i> (TaskPriority)</dt> <dd> priority of the task </dd> </dl> <a NAME="Task.setProjectTask" ID="Task.setProjectTask"></a> <h4>Task.setProjectTask</h4> <b>setProjectTask</b>(<i>pt</i>) <p> Public method to set the project relation flag. </p> <dl> <dt><i>pt</i></dt> <dd> flag indicating a project task (boolean) </dd> </dl> <a NAME="Task.setSummary" ID="Task.setSummary"></a> <h4>Task.setSummary</h4> <b>setSummary</b>(<i>summary</i>) <p> Public slot to update the description. </p> <dl> <dt><i>summary</i></dt> <dd> summary text of the task (string) </dd> </dl> <a NAME="Task.setTaskType" ID="Task.setTaskType"></a> <h4>Task.setTaskType</h4> <b>setTaskType</b>(<i>taskType</i>) <p> Public method to update the task type. </p> <dl> <dt><i>taskType</i> (TaskType)</dt> <dd> type of the task </dd> </dl> <a NAME="Task.toDict" ID="Task.toDict"></a> <h4>Task.toDict</h4> <b>toDict</b>(<i></i>) <p> Public method to convert the task data to a dictionary. </p> <dl> <dt>Return:</dt> <dd> dictionary containing the task data </dd> </dl> <dl> <dt>Return Type:</dt> <dd> dict </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> <a NAME="TaskPriority" ID="TaskPriority"></a> <h2>TaskPriority</h2> <p> Class defining the task priorities. </p> <h3>Derived from</h3> enum.IntEnum <h3>Class Attributes</h3> <table> <tr><td>HIGH</td></tr><tr><td>LOW</td></tr><tr><td>NORMAL</td></tr> </table> <h3>Class Methods</h3> <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> <table> <tr><td>None</td></tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> <a NAME="TaskType" ID="TaskType"></a> <h2>TaskType</h2> <p> Class defining the task types. </p> <h3>Derived from</h3> enum.IntEnum <h3>Class Attributes</h3> <table> <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> </table> <h3>Class Methods</h3> <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> <table> <tr><td>None</td></tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>