102 <p> |
102 <p> |
103 Constructor |
103 Constructor |
104 </p> |
104 </p> |
105 <dl> |
105 <dl> |
106 |
106 |
107 <dt><i>tracker</i></dt> |
107 <dt><i>tracker</i> (TimeTracker)</dt> |
108 <dd> |
108 <dd> |
109 reference to the time tracker (TimeTracker) |
109 reference to the time tracker |
110 </dd> |
110 </dd> |
111 <dt><i>entry</i></dt> |
111 <dt><i>entry</i> (TimeTrackEntry)</dt> |
112 <dd> |
112 <dd> |
113 reference to the time tracker entry (TimeTrackEntry) |
113 reference to the time tracker entry |
114 </dd> |
114 </dd> |
115 <dt><i>taskItems</i></dt> |
115 <dt><i>taskItems</i> (list of str)</dt> |
116 <dd> |
116 <dd> |
117 list of task item entries for the |
117 list of task item entries for the |
118 task combo box (list of strings) |
118 task combo box |
119 </dd> |
119 </dd> |
120 <dt><i>commentItems</i></dt> |
120 <dt><i>commentItems</i> (list of str)</dt> |
121 <dd> |
121 <dd> |
122 list of comment item entries for the |
122 list of comment item entries for the |
123 comment combo box (list of strings) |
123 comment combo box |
124 </dd> |
124 </dd> |
125 <dt><i>parent</i></dt> |
125 <dt><i>parent</i> (QWidget)</dt> |
126 <dd> |
126 <dd> |
127 reference to the parent widget (QWidget) |
127 reference to the parent widget |
128 </dd> |
128 </dd> |
129 </dl> |
129 </dl> |
130 <a NAME="TimeTrackerEntryDialog.__checkOk" ID="TimeTrackerEntryDialog.__checkOk"></a> |
130 <a NAME="TimeTrackerEntryDialog.__checkOk" ID="TimeTrackerEntryDialog.__checkOk"></a> |
131 <h4>TimeTrackerEntryDialog.__checkOk</h4> |
131 <h4>TimeTrackerEntryDialog.__checkOk</h4> |
132 <b>__checkOk</b>(<i></i>) |
132 <b>__checkOk</b>(<i></i>) |
143 </p> |
143 </p> |
144 <dl> |
144 <dl> |
145 <dt>Return:</dt> |
145 <dt>Return:</dt> |
146 <dd> |
146 <dd> |
147 tuple with start date and time, duration, task description |
147 tuple with start date and time, duration, task description |
148 and comment (QDateTime, integer, string, string) |
148 and comment |
|
149 </dd> |
|
150 </dl> |
|
151 <dl> |
|
152 <dt>Return Type:</dt> |
|
153 <dd> |
|
154 tuple of (QDateTime, int, str, str) |
149 </dd> |
155 </dd> |
150 </dl> |
156 </dl> |
151 <a NAME="TimeTrackerEntryDialog.on_durationSpinBox_valueChanged" ID="TimeTrackerEntryDialog.on_durationSpinBox_valueChanged"></a> |
157 <a NAME="TimeTrackerEntryDialog.on_durationSpinBox_valueChanged" ID="TimeTrackerEntryDialog.on_durationSpinBox_valueChanged"></a> |
152 <h4>TimeTrackerEntryDialog.on_durationSpinBox_valueChanged</h4> |
158 <h4>TimeTrackerEntryDialog.on_durationSpinBox_valueChanged</h4> |
153 <b>on_durationSpinBox_valueChanged</b>(<i>value</i>) |
159 <b>on_durationSpinBox_valueChanged</b>(<i>value</i>) |
155 <p> |
161 <p> |
156 Private slot handling a change of the duration. |
162 Private slot handling a change of the duration. |
157 </p> |
163 </p> |
158 <dl> |
164 <dl> |
159 |
165 |
160 <dt><i>value</i></dt> |
166 <dt><i>value</i> (int)</dt> |
161 <dd> |
167 <dd> |
162 value of the duration spin box (integer) |
168 value of the duration spin box |
163 </dd> |
169 </dd> |
164 </dl> |
170 </dl> |
165 <a NAME="TimeTrackerEntryDialog.on_startDateTimeEdit_dateTimeChanged" ID="TimeTrackerEntryDialog.on_startDateTimeEdit_dateTimeChanged"></a> |
171 <a NAME="TimeTrackerEntryDialog.on_startDateTimeEdit_dateTimeChanged" ID="TimeTrackerEntryDialog.on_startDateTimeEdit_dateTimeChanged"></a> |
166 <h4>TimeTrackerEntryDialog.on_startDateTimeEdit_dateTimeChanged</h4> |
172 <h4>TimeTrackerEntryDialog.on_startDateTimeEdit_dateTimeChanged</h4> |
167 <b>on_startDateTimeEdit_dateTimeChanged</b>(<i>date</i>) |
173 <b>on_startDateTimeEdit_dateTimeChanged</b>(<i>date</i>) |