TimeTracker/Documentation/source/Plugin_Time_Tracker.TimeTracker.TimeTrackerEntryDialog.html

changeset 87
4ac2329b36da
parent 42
37049a04b8fa
child 95
7449695cf655
equal deleted inserted replaced
86:94ee489db94c 87:4ac2329b36da
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>Plugin_Time_Tracker.TimeTracker.TimeTrackerEntryDialog</h1> 23 <h1>Plugin_Time_Tracker.TimeTracker.TimeTrackerEntryDialog</h1>
24
23 <p> 25 <p>
24 Module implementing the time tracker edit dialog. 26 Module implementing the time tracker edit dialog.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
34
31 <table> 35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#TimeTrackerEntryDialog">TimeTrackerEntryDialog</a></td> 38 <td><a href="#TimeTrackerEntryDialog">TimeTrackerEntryDialog</a></td>
34 <td>Class implementing the time tracker edit dialog.</td> 39 <td>Class implementing the time tracker edit dialog.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
43
38 <table> 44 <table>
39 <tr><td>None</td></tr> 45 <tr><td>None</td></tr>
40 </table> 46 </table>
41 <hr /><hr /> 47 <hr />
48 <hr />
42 <a NAME="TimeTrackerEntryDialog" ID="TimeTrackerEntryDialog"></a> 49 <a NAME="TimeTrackerEntryDialog" ID="TimeTrackerEntryDialog"></a>
43 <h2>TimeTrackerEntryDialog</h2> 50 <h2>TimeTrackerEntryDialog</h2>
51
44 <p> 52 <p>
45 Class implementing the time tracker edit dialog. 53 Class implementing the time tracker edit dialog.
46 </p> 54 </p>
47 <h3>Derived from</h3> 55 <h3>Derived from</h3>
48 QDialog, Ui_TimeTrackerEntryDialog 56 QDialog, Ui_TimeTrackerEntryDialog
49 <h3>Class Attributes</h3> 57 <h3>Class Attributes</h3>
58
50 <table> 59 <table>
51 <tr><td>None</td></tr> 60 <tr><td>None</td></tr>
52 </table> 61 </table>
53 <h3>Class Methods</h3> 62 <h3>Class Methods</h3>
63
54 <table> 64 <table>
55 <tr><td>None</td></tr> 65 <tr><td>None</td></tr>
56 </table> 66 </table>
57 <h3>Methods</h3> 67 <h3>Methods</h3>
68
58 <table> 69 <table>
70
59 <tr> 71 <tr>
60 <td><a href="#TimeTrackerEntryDialog.__init__">TimeTrackerEntryDialog</a></td> 72 <td><a href="#TimeTrackerEntryDialog.__init__">TimeTrackerEntryDialog</a></td>
61 <td>Constructor</td> 73 <td>Constructor</td>
62 </tr><tr> 74 </tr>
75 <tr>
63 <td><a href="#TimeTrackerEntryDialog.__checkOk">__checkOk</a></td> 76 <td><a href="#TimeTrackerEntryDialog.__checkOk">__checkOk</a></td>
64 <td>Private slot to set the enabled state of the OK button.</td> 77 <td>Private slot to set the enabled state of the OK button.</td>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#TimeTrackerEntryDialog.getData">getData</a></td> 80 <td><a href="#TimeTrackerEntryDialog.getData">getData</a></td>
67 <td>Public method to get the data.</td> 81 <td>Public method to get the data.</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#TimeTrackerEntryDialog.on_durationSpinBox_valueChanged">on_durationSpinBox_valueChanged</a></td> 84 <td><a href="#TimeTrackerEntryDialog.on_durationSpinBox_valueChanged">on_durationSpinBox_valueChanged</a></td>
70 <td>Private slot handling a change of the duration.</td> 85 <td>Private slot handling a change of the duration.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#TimeTrackerEntryDialog.on_startDateTimeEdit_dateTimeChanged">on_startDateTimeEdit_dateTimeChanged</a></td> 88 <td><a href="#TimeTrackerEntryDialog.on_startDateTimeEdit_dateTimeChanged">on_startDateTimeEdit_dateTimeChanged</a></td>
73 <td>Private slot handling a change of the start date and time.</td> 89 <td>Private slot handling a change of the start date and time.</td>
74 </tr> 90 </tr>
75 </table> 91 </table>
76 <h3>Static Methods</h3> 92 <h3>Static Methods</h3>
93
77 <table> 94 <table>
78 <tr><td>None</td></tr> 95 <tr><td>None</td></tr>
79 </table> 96 </table>
97
80 <a NAME="TimeTrackerEntryDialog.__init__" ID="TimeTrackerEntryDialog.__init__"></a> 98 <a NAME="TimeTrackerEntryDialog.__init__" ID="TimeTrackerEntryDialog.__init__"></a>
81 <h4>TimeTrackerEntryDialog (Constructor)</h4> 99 <h4>TimeTrackerEntryDialog (Constructor)</h4>
82 <b>TimeTrackerEntryDialog</b>(<i>tracker, entry, taskItems, commentItems, parent=None</i>) 100 <b>TimeTrackerEntryDialog</b>(<i>tracker, entry, taskItems, commentItems, parent=None</i>)
101
83 <p> 102 <p>
84 Constructor 103 Constructor
85 </p><dl> 104 </p>
105 <dl>
106
86 <dt><i>tracker</i></dt> 107 <dt><i>tracker</i></dt>
87 <dd> 108 <dd>
88 reference to the time tracker (TimeTracker) 109 reference to the time tracker (TimeTracker)
89 </dd><dt><i>entry</i></dt> 110 </dd>
111 <dt><i>entry</i></dt>
90 <dd> 112 <dd>
91 reference to the time tracker entry (TimeTrackEntry) 113 reference to the time tracker entry (TimeTrackEntry)
92 </dd><dt><i>taskItems</i></dt> 114 </dd>
115 <dt><i>taskItems</i></dt>
93 <dd> 116 <dd>
94 list of task item entries for the 117 list of task item entries for the
95 task combo box (list of strings) 118 task combo box (list of strings)
96 </dd><dt><i>commentItems</i></dt> 119 </dd>
120 <dt><i>commentItems</i></dt>
97 <dd> 121 <dd>
98 list of comment item entries for the 122 list of comment item entries for the
99 comment combo box (list of strings) 123 comment combo box (list of strings)
100 </dd><dt><i>parent</i></dt> 124 </dd>
125 <dt><i>parent</i></dt>
101 <dd> 126 <dd>
102 reference to the parent widget (QWidget) 127 reference to the parent widget (QWidget)
103 </dd> 128 </dd>
104 </dl><a NAME="TimeTrackerEntryDialog.__checkOk" ID="TimeTrackerEntryDialog.__checkOk"></a> 129 </dl>
130 <a NAME="TimeTrackerEntryDialog.__checkOk" ID="TimeTrackerEntryDialog.__checkOk"></a>
105 <h4>TimeTrackerEntryDialog.__checkOk</h4> 131 <h4>TimeTrackerEntryDialog.__checkOk</h4>
106 <b>__checkOk</b>(<i></i>) 132 <b>__checkOk</b>(<i></i>)
133
107 <p> 134 <p>
108 Private slot to set the enabled state of the OK button. 135 Private slot to set the enabled state of the OK button.
109 </p><a NAME="TimeTrackerEntryDialog.getData" ID="TimeTrackerEntryDialog.getData"></a> 136 </p>
137 <a NAME="TimeTrackerEntryDialog.getData" ID="TimeTrackerEntryDialog.getData"></a>
110 <h4>TimeTrackerEntryDialog.getData</h4> 138 <h4>TimeTrackerEntryDialog.getData</h4>
111 <b>getData</b>(<i></i>) 139 <b>getData</b>(<i></i>)
140
112 <p> 141 <p>
113 Public method to get the data. 142 Public method to get the data.
114 </p><dl> 143 </p>
144 <dl>
115 <dt>Returns:</dt> 145 <dt>Returns:</dt>
116 <dd> 146 <dd>
117 tuple with start date and time, duration, task description 147 tuple with start date and time, duration, task description
118 and comment (QDateTime, integer, string, string) 148 and comment (QDateTime, integer, string, string)
119 </dd> 149 </dd>
120 </dl><a NAME="TimeTrackerEntryDialog.on_durationSpinBox_valueChanged" ID="TimeTrackerEntryDialog.on_durationSpinBox_valueChanged"></a> 150 </dl>
151 <a NAME="TimeTrackerEntryDialog.on_durationSpinBox_valueChanged" ID="TimeTrackerEntryDialog.on_durationSpinBox_valueChanged"></a>
121 <h4>TimeTrackerEntryDialog.on_durationSpinBox_valueChanged</h4> 152 <h4>TimeTrackerEntryDialog.on_durationSpinBox_valueChanged</h4>
122 <b>on_durationSpinBox_valueChanged</b>(<i>value</i>) 153 <b>on_durationSpinBox_valueChanged</b>(<i>value</i>)
154
123 <p> 155 <p>
124 Private slot handling a change of the duration. 156 Private slot handling a change of the duration.
125 </p><dl> 157 </p>
158 <dl>
159
126 <dt><i>value</i></dt> 160 <dt><i>value</i></dt>
127 <dd> 161 <dd>
128 value of the duration spin box (integer) 162 value of the duration spin box (integer)
129 </dd> 163 </dd>
130 </dl><a NAME="TimeTrackerEntryDialog.on_startDateTimeEdit_dateTimeChanged" ID="TimeTrackerEntryDialog.on_startDateTimeEdit_dateTimeChanged"></a> 164 </dl>
165 <a NAME="TimeTrackerEntryDialog.on_startDateTimeEdit_dateTimeChanged" ID="TimeTrackerEntryDialog.on_startDateTimeEdit_dateTimeChanged"></a>
131 <h4>TimeTrackerEntryDialog.on_startDateTimeEdit_dateTimeChanged</h4> 166 <h4>TimeTrackerEntryDialog.on_startDateTimeEdit_dateTimeChanged</h4>
132 <b>on_startDateTimeEdit_dateTimeChanged</b>(<i>date</i>) 167 <b>on_startDateTimeEdit_dateTimeChanged</b>(<i>date</i>)
168
133 <p> 169 <p>
134 Private slot handling a change of the start date and time. 170 Private slot handling a change of the start date and time.
135 </p><dl> 171 </p>
172 <dl>
173
136 <dt><i>date</i></dt> 174 <dt><i>date</i></dt>
137 <dd> 175 <dd>
138 start date and time (QDateTime) 176 start date and time (QDateTime)
139 </dd> 177 </dd>
140 </dl> 178 </dl>

eric ide

mercurial