5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>Plugin_Time_Tracker.TimeTracker.TimeTrackerEntryDialog</h1> |
9 <h1>Plugin_Time_Tracker.TimeTracker.TimeTrackerEntryDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing the time tracker edit dialog. |
11 Module implementing the time tracker edit dialog. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
|
16 <table> |
15 <table> |
17 <tr><td>None</td></tr> |
16 <tr><td>None</td></tr> |
18 </table> |
17 </table> |
|
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
|
21 <table> |
20 <table> |
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#TimeTrackerEntryDialog">TimeTrackerEntryDialog</a></td> |
22 <td><a href="#TimeTrackerEntryDialog">TimeTrackerEntryDialog</a></td> |
25 <td>Class implementing the time tracker edit dialog.</td> |
23 <td>Class implementing the time tracker edit dialog.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
|
30 <table> |
28 <table> |
31 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
32 </table> |
30 </table> |
|
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="TimeTrackerEntryDialog" ID="TimeTrackerEntryDialog"></a> |
34 <a NAME="TimeTrackerEntryDialog" ID="TimeTrackerEntryDialog"></a> |
36 <h2>TimeTrackerEntryDialog</h2> |
35 <h2>TimeTrackerEntryDialog</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing the time tracker edit dialog. |
37 Class implementing the time tracker edit dialog. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Derived from</h3> |
40 <h3>Derived from</h3> |
42 QDialog, Ui_TimeTrackerEntryDialog |
41 QDialog, Ui_TimeTrackerEntryDialog |
43 <h3>Class Attributes</h3> |
42 <h3>Class Attributes</h3> |
44 |
|
45 <table> |
43 <table> |
46 <tr><td>None</td></tr> |
44 <tr><td>None</td></tr> |
47 </table> |
45 </table> |
|
46 |
48 <h3>Class Methods</h3> |
47 <h3>Class Methods</h3> |
49 |
|
50 <table> |
48 <table> |
51 <tr><td>None</td></tr> |
49 <tr><td>None</td></tr> |
52 </table> |
50 </table> |
|
51 |
53 <h3>Methods</h3> |
52 <h3>Methods</h3> |
54 |
|
55 <table> |
53 <table> |
56 |
|
57 <tr> |
54 <tr> |
58 <td><a href="#TimeTrackerEntryDialog.__init__">TimeTrackerEntryDialog</a></td> |
55 <td><a href="#TimeTrackerEntryDialog.__init__">TimeTrackerEntryDialog</a></td> |
59 <td>Constructor</td> |
56 <td>Constructor</td> |
60 </tr> |
57 </tr> |
61 <tr> |
58 <tr> |
73 <tr> |
70 <tr> |
74 <td><a href="#TimeTrackerEntryDialog.on_startDateTimeEdit_dateTimeChanged">on_startDateTimeEdit_dateTimeChanged</a></td> |
71 <td><a href="#TimeTrackerEntryDialog.on_startDateTimeEdit_dateTimeChanged">on_startDateTimeEdit_dateTimeChanged</a></td> |
75 <td>Private slot handling a change of the start date and time.</td> |
72 <td>Private slot handling a change of the start date and time.</td> |
76 </tr> |
73 </tr> |
77 </table> |
74 </table> |
|
75 |
78 <h3>Static Methods</h3> |
76 <h3>Static Methods</h3> |
79 |
|
80 <table> |
77 <table> |
81 <tr><td>None</td></tr> |
78 <tr><td>None</td></tr> |
82 </table> |
79 </table> |
83 |
80 |
|
81 |
84 <a NAME="TimeTrackerEntryDialog.__init__" ID="TimeTrackerEntryDialog.__init__"></a> |
82 <a NAME="TimeTrackerEntryDialog.__init__" ID="TimeTrackerEntryDialog.__init__"></a> |
85 <h4>TimeTrackerEntryDialog (Constructor)</h4> |
83 <h4>TimeTrackerEntryDialog (Constructor)</h4> |
86 <b>TimeTrackerEntryDialog</b>(<i>tracker, entry, taskItems, commentItems, parent=None</i>) |
84 <b>TimeTrackerEntryDialog</b>(<i>tracker, entry, taskItems, commentItems, parent=None</i>) |
87 |
|
88 <p> |
85 <p> |
89 Constructor |
86 Constructor |
90 </p> |
87 </p> |
|
88 |
91 <dl> |
89 <dl> |
92 |
90 |
93 <dt><i>tracker</i> (TimeTracker)</dt> |
91 <dt><i>tracker</i> (TimeTracker)</dt> |
94 <dd> |
92 <dd> |
95 reference to the time tracker |
93 reference to the time tracker |
114 </dd> |
112 </dd> |
115 </dl> |
113 </dl> |
116 <a NAME="TimeTrackerEntryDialog.__checkOk" ID="TimeTrackerEntryDialog.__checkOk"></a> |
114 <a NAME="TimeTrackerEntryDialog.__checkOk" ID="TimeTrackerEntryDialog.__checkOk"></a> |
117 <h4>TimeTrackerEntryDialog.__checkOk</h4> |
115 <h4>TimeTrackerEntryDialog.__checkOk</h4> |
118 <b>__checkOk</b>(<i></i>) |
116 <b>__checkOk</b>(<i></i>) |
119 |
|
120 <p> |
117 <p> |
121 Private slot to set the enabled state of the OK button. |
118 Private slot to set the enabled state of the OK button. |
122 </p> |
119 </p> |
|
120 |
123 <a NAME="TimeTrackerEntryDialog.getData" ID="TimeTrackerEntryDialog.getData"></a> |
121 <a NAME="TimeTrackerEntryDialog.getData" ID="TimeTrackerEntryDialog.getData"></a> |
124 <h4>TimeTrackerEntryDialog.getData</h4> |
122 <h4>TimeTrackerEntryDialog.getData</h4> |
125 <b>getData</b>(<i></i>) |
123 <b>getData</b>(<i></i>) |
126 |
|
127 <p> |
124 <p> |
128 Public method to get the data. |
125 Public method to get the data. |
129 </p> |
126 </p> |
|
127 |
130 <dl> |
128 <dl> |
131 <dt>Return:</dt> |
129 <dt>Return:</dt> |
132 <dd> |
130 <dd> |
133 tuple with start date and time, duration, task description |
131 tuple with start date and time, duration, task description |
134 and comment |
132 and comment |
141 </dd> |
139 </dd> |
142 </dl> |
140 </dl> |
143 <a NAME="TimeTrackerEntryDialog.on_durationSpinBox_valueChanged" ID="TimeTrackerEntryDialog.on_durationSpinBox_valueChanged"></a> |
141 <a NAME="TimeTrackerEntryDialog.on_durationSpinBox_valueChanged" ID="TimeTrackerEntryDialog.on_durationSpinBox_valueChanged"></a> |
144 <h4>TimeTrackerEntryDialog.on_durationSpinBox_valueChanged</h4> |
142 <h4>TimeTrackerEntryDialog.on_durationSpinBox_valueChanged</h4> |
145 <b>on_durationSpinBox_valueChanged</b>(<i>value</i>) |
143 <b>on_durationSpinBox_valueChanged</b>(<i>value</i>) |
146 |
|
147 <p> |
144 <p> |
148 Private slot handling a change of the duration. |
145 Private slot handling a change of the duration. |
149 </p> |
146 </p> |
|
147 |
150 <dl> |
148 <dl> |
151 |
149 |
152 <dt><i>value</i> (int)</dt> |
150 <dt><i>value</i> (int)</dt> |
153 <dd> |
151 <dd> |
154 value of the duration spin box |
152 value of the duration spin box |
155 </dd> |
153 </dd> |
156 </dl> |
154 </dl> |
157 <a NAME="TimeTrackerEntryDialog.on_startDateTimeEdit_dateTimeChanged" ID="TimeTrackerEntryDialog.on_startDateTimeEdit_dateTimeChanged"></a> |
155 <a NAME="TimeTrackerEntryDialog.on_startDateTimeEdit_dateTimeChanged" ID="TimeTrackerEntryDialog.on_startDateTimeEdit_dateTimeChanged"></a> |
158 <h4>TimeTrackerEntryDialog.on_startDateTimeEdit_dateTimeChanged</h4> |
156 <h4>TimeTrackerEntryDialog.on_startDateTimeEdit_dateTimeChanged</h4> |
159 <b>on_startDateTimeEdit_dateTimeChanged</b>(<i>date</i>) |
157 <b>on_startDateTimeEdit_dateTimeChanged</b>(<i>date</i>) |
160 |
|
161 <p> |
158 <p> |
162 Private slot handling a change of the start date and time. |
159 Private slot handling a change of the start date and time. |
163 </p> |
160 </p> |
|
161 |
164 <dl> |
162 <dl> |
165 |
163 |
166 <dt><i>date</i> (QDateTime)</dt> |
164 <dt><i>date</i> (QDateTime)</dt> |
167 <dd> |
165 <dd> |
168 start date and time |
166 start date and time |