diff -r 94ee489db94c -r 4ac2329b36da TimeTracker/Documentation/source/Plugin_Time_Tracker.TimeTracker.TimeTrackerEntryDialog.html --- a/TimeTracker/Documentation/source/Plugin_Time_Tracker.TimeTracker.TimeTrackerEntryDialog.html Thu Apr 09 18:44:42 2020 +0200 +++ b/TimeTracker/Documentation/source/Plugin_Time_Tracker.TimeTracker.TimeTrackerEntryDialog.html Tue Jun 23 19:40:26 2020 +0200 @@ -18,121 +18,159 @@ </style> </head> -<body><a NAME="top" ID="top"></a> +<body> +<a NAME="top" ID="top"></a> <h1>Plugin_Time_Tracker.TimeTracker.TimeTrackerEntryDialog</h1> + <p> Module implementing the time tracker edit dialog. </p> <h3>Global Attributes</h3> + <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> + <table> + <tr> <td><a href="#TimeTrackerEntryDialog">TimeTrackerEntryDialog</a></td> <td>Class implementing the time tracker edit dialog.</td> </tr> </table> <h3>Functions</h3> + <table> <tr><td>None</td></tr> </table> -<hr /><hr /> +<hr /> +<hr /> <a NAME="TimeTrackerEntryDialog" ID="TimeTrackerEntryDialog"></a> <h2>TimeTrackerEntryDialog</h2> + <p> Class implementing the time tracker edit dialog. </p> <h3>Derived from</h3> QDialog, Ui_TimeTrackerEntryDialog <h3>Class Attributes</h3> + <table> <tr><td>None</td></tr> </table> <h3>Class Methods</h3> + <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> + <table> + <tr> <td><a href="#TimeTrackerEntryDialog.__init__">TimeTrackerEntryDialog</a></td> <td>Constructor</td> -</tr><tr> +</tr> +<tr> <td><a href="#TimeTrackerEntryDialog.__checkOk">__checkOk</a></td> <td>Private slot to set the enabled state of the OK button.</td> -</tr><tr> +</tr> +<tr> <td><a href="#TimeTrackerEntryDialog.getData">getData</a></td> <td>Public method to get the data.</td> -</tr><tr> +</tr> +<tr> <td><a href="#TimeTrackerEntryDialog.on_durationSpinBox_valueChanged">on_durationSpinBox_valueChanged</a></td> <td>Private slot handling a change of the duration.</td> -</tr><tr> +</tr> +<tr> <td><a href="#TimeTrackerEntryDialog.on_startDateTimeEdit_dateTimeChanged">on_startDateTimeEdit_dateTimeChanged</a></td> <td>Private slot handling a change of the start date and time.</td> </tr> </table> <h3>Static Methods</h3> + <table> <tr><td>None</td></tr> </table> + <a NAME="TimeTrackerEntryDialog.__init__" ID="TimeTrackerEntryDialog.__init__"></a> <h4>TimeTrackerEntryDialog (Constructor)</h4> <b>TimeTrackerEntryDialog</b>(<i>tracker, entry, taskItems, commentItems, parent=None</i>) + <p> Constructor -</p><dl> +</p> +<dl> + <dt><i>tracker</i></dt> <dd> reference to the time tracker (TimeTracker) -</dd><dt><i>entry</i></dt> +</dd> +<dt><i>entry</i></dt> <dd> reference to the time tracker entry (TimeTrackEntry) -</dd><dt><i>taskItems</i></dt> +</dd> +<dt><i>taskItems</i></dt> <dd> list of task item entries for the task combo box (list of strings) -</dd><dt><i>commentItems</i></dt> +</dd> +<dt><i>commentItems</i></dt> <dd> list of comment item entries for the comment combo box (list of strings) -</dd><dt><i>parent</i></dt> +</dd> +<dt><i>parent</i></dt> <dd> reference to the parent widget (QWidget) </dd> -</dl><a NAME="TimeTrackerEntryDialog.__checkOk" ID="TimeTrackerEntryDialog.__checkOk"></a> +</dl> +<a NAME="TimeTrackerEntryDialog.__checkOk" ID="TimeTrackerEntryDialog.__checkOk"></a> <h4>TimeTrackerEntryDialog.__checkOk</h4> <b>__checkOk</b>(<i></i>) + <p> Private slot to set the enabled state of the OK button. -</p><a NAME="TimeTrackerEntryDialog.getData" ID="TimeTrackerEntryDialog.getData"></a> +</p> +<a NAME="TimeTrackerEntryDialog.getData" ID="TimeTrackerEntryDialog.getData"></a> <h4>TimeTrackerEntryDialog.getData</h4> <b>getData</b>(<i></i>) + <p> Public method to get the data. -</p><dl> +</p> +<dl> <dt>Returns:</dt> <dd> tuple with start date and time, duration, task description and comment (QDateTime, integer, string, string) </dd> -</dl><a NAME="TimeTrackerEntryDialog.on_durationSpinBox_valueChanged" ID="TimeTrackerEntryDialog.on_durationSpinBox_valueChanged"></a> +</dl> +<a NAME="TimeTrackerEntryDialog.on_durationSpinBox_valueChanged" ID="TimeTrackerEntryDialog.on_durationSpinBox_valueChanged"></a> <h4>TimeTrackerEntryDialog.on_durationSpinBox_valueChanged</h4> <b>on_durationSpinBox_valueChanged</b>(<i>value</i>) + <p> Private slot handling a change of the duration. -</p><dl> +</p> +<dl> + <dt><i>value</i></dt> <dd> value of the duration spin box (integer) </dd> -</dl><a NAME="TimeTrackerEntryDialog.on_startDateTimeEdit_dateTimeChanged" ID="TimeTrackerEntryDialog.on_startDateTimeEdit_dateTimeChanged"></a> +</dl> +<a NAME="TimeTrackerEntryDialog.on_startDateTimeEdit_dateTimeChanged" ID="TimeTrackerEntryDialog.on_startDateTimeEdit_dateTimeChanged"></a> <h4>TimeTrackerEntryDialog.on_startDateTimeEdit_dateTimeChanged</h4> <b>on_startDateTimeEdit_dateTimeChanged</b>(<i>date</i>) + <p> Private slot handling a change of the start date and time. -</p><dl> +</p> +<dl> + <dt><i>date</i></dt> <dd> start date and time (QDateTime)