diff -r 2dc5c5af1cf3 -r 73bd1fdd7102 TimeTracker/Documentation/source/Plugin_Time_Tracker.TimeTracker.TimeTrackerEntryDialog.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TimeTracker/Documentation/source/Plugin_Time_Tracker.TimeTracker.TimeTrackerEntryDialog.html Sun Oct 21 19:36:56 2012 +0200 @@ -0,0 +1,134 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>Plugin_Time_Tracker.TimeTracker.TimeTrackerEntryDialog</title> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<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 /> +<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> +<td><a href="#TimeTrackerEntryDialog.__checkOk">__checkOk</a></td> +<td>Private slot to set the enabled state of the OK button.</td> +</tr><tr> +<td><a href="#TimeTrackerEntryDialog.getData">getData</a></td> +<td>Public method to get the data.</td> +</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> +<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> +<dt><i>tracker</i></dt> +<dd> +reference to the time tracker (TimeTracker) +</dd><dt><i>entry</i></dt> +<dd> +reference to the time tracker entry (TimeTrackEntry) +</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> +list of comment item entries for the + comment combo box (list of strings) +</dd><dt><i>parent</i></dt> +<dd> +reference to the parent widget (QWidget) +</dd> +</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> +<h4>TimeTrackerEntryDialog.getData</h4> +<b>getData</b>(<i></i>) +<p> + Public method to get the data. +</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> +<h4>TimeTrackerEntryDialog.on_durationSpinBox_valueChanged</h4> +<b>on_durationSpinBox_valueChanged</b>(<i>p0</i>) +<p> + Private slot handling a change of the duration. +</p><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> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file