140 <p> |
140 <p> |
141 Constructor |
141 Constructor |
142 </p> |
142 </p> |
143 <dl> |
143 <dl> |
144 |
144 |
145 <dt><i>vcs</i></dt> |
145 <dt><i>vcs</i> (Hg)</dt> |
146 <dd> |
146 <dd> |
147 reference to the vcs object |
147 reference to the vcs object |
148 </dd> |
148 </dd> |
149 <dt><i>parent</i></dt> |
149 <dt><i>parent</i> (QWidget)</dt> |
150 <dd> |
150 <dd> |
151 parent widget (QWidget) |
151 parent widget |
152 </dd> |
152 </dd> |
153 </dl> |
153 </dl> |
154 <a NAME="HgShelveBrowserDialog.__cleanupShelves" ID="HgShelveBrowserDialog.__cleanupShelves"></a> |
154 <a NAME="HgShelveBrowserDialog.__cleanupShelves" ID="HgShelveBrowserDialog.__cleanupShelves"></a> |
155 <h4>HgShelveBrowserDialog.__cleanupShelves</h4> |
155 <h4>HgShelveBrowserDialog.__cleanupShelves</h4> |
156 <b>__cleanupShelves</b>(<i></i>) |
156 <b>__cleanupShelves</b>(<i></i>) |
180 <p> |
180 <p> |
181 Private method to generate the shelve items. |
181 Private method to generate the shelve items. |
182 </p> |
182 </p> |
183 <dl> |
183 <dl> |
184 |
184 |
185 <dt><i>name</i></dt> |
185 <dt><i>name</i> (str)</dt> |
186 <dd> |
186 <dd> |
187 name of the shelve (string) |
187 name of the shelve |
188 </dd> |
188 </dd> |
189 <dt><i>age</i></dt> |
189 <dt><i>age</i> (str)</dt> |
190 <dd> |
190 <dd> |
191 age of the shelve (string) |
191 age of the shelve |
192 </dd> |
192 </dd> |
193 <dt><i>message</i></dt> |
193 <dt><i>message</i> (str)</dt> |
194 <dd> |
194 <dd> |
195 shelve message (string) |
195 shelve message |
196 </dd> |
196 </dd> |
197 <dt><i>fileStatistics</i></dt> |
197 <dt><i>fileStatistics</i> (tuple of (str, str, str, str))</dt> |
198 <dd> |
198 <dd> |
199 per file change statistics (tuple of |
199 per file change statistics (tuple containing the |
200 four strings with file name, number of changes, number of |
200 file name, the number of changes, the number of added lines and the |
201 added lines and number of deleted lines) |
201 number of deleted lines) |
202 </dd> |
202 </dd> |
203 <dt><i>totals</i></dt> |
203 <dt><i>totals</i> (tuple of (str, str, str))</dt> |
204 <dd> |
204 <dd> |
205 overall statistics (tuple of three strings with |
205 overall statistics (tuple containing the number of changed files, |
206 number of changed files, number of added lines and number |
206 the number of added lines and the number of deleted lines) |
207 of deleted lines) |
|
208 </dd> |
207 </dd> |
209 </dl> |
208 </dl> |
210 <a NAME="HgShelveBrowserDialog.__getShelveEntries" ID="HgShelveBrowserDialog.__getShelveEntries"></a> |
209 <a NAME="HgShelveBrowserDialog.__getShelveEntries" ID="HgShelveBrowserDialog.__getShelveEntries"></a> |
211 <h4>HgShelveBrowserDialog.__getShelveEntries</h4> |
210 <h4>HgShelveBrowserDialog.__getShelveEntries</h4> |
212 <b>__getShelveEntries</b>(<i></i>) |
211 <b>__getShelveEntries</b>(<i></i>) |
242 <p> |
241 <p> |
243 Private slot to show some error. |
242 Private slot to show some error. |
244 </p> |
243 </p> |
245 <dl> |
244 <dl> |
246 |
245 |
247 <dt><i>out</i></dt> |
246 <dt><i>out</i> (str)</dt> |
248 <dd> |
247 <dd> |
249 error to be shown (string) |
248 error to be shown |
250 </dd> |
249 </dd> |
251 </dl> |
250 </dl> |
252 <a NAME="HgShelveBrowserDialog.__unshelve" ID="HgShelveBrowserDialog.__unshelve"></a> |
251 <a NAME="HgShelveBrowserDialog.__unshelve" ID="HgShelveBrowserDialog.__unshelve"></a> |
253 <h4>HgShelveBrowserDialog.__unshelve</h4> |
252 <h4>HgShelveBrowserDialog.__unshelve</h4> |
254 <b>__unshelve</b>(<i></i>) |
253 <b>__unshelve</b>(<i></i>) |
263 <p> |
262 <p> |
264 Protected slot implementing a close event handler. |
263 Protected slot implementing a close event handler. |
265 </p> |
264 </p> |
266 <dl> |
265 <dl> |
267 |
266 |
268 <dt><i>e</i></dt> |
267 <dt><i>e</i> (QCloseEvent)</dt> |
269 <dd> |
268 <dd> |
270 close event (QCloseEvent) |
269 close event |
271 </dd> |
270 </dd> |
272 </dl> |
271 </dl> |
273 <a NAME="HgShelveBrowserDialog.on_buttonBox_clicked" ID="HgShelveBrowserDialog.on_buttonBox_clicked"></a> |
272 <a NAME="HgShelveBrowserDialog.on_buttonBox_clicked" ID="HgShelveBrowserDialog.on_buttonBox_clicked"></a> |
274 <h4>HgShelveBrowserDialog.on_buttonBox_clicked</h4> |
273 <h4>HgShelveBrowserDialog.on_buttonBox_clicked</h4> |
275 <b>on_buttonBox_clicked</b>(<i>button</i>) |
274 <b>on_buttonBox_clicked</b>(<i>button</i>) |
277 <p> |
276 <p> |
278 Private slot called by a button of the button box clicked. |
277 Private slot called by a button of the button box clicked. |
279 </p> |
278 </p> |
280 <dl> |
279 <dl> |
281 |
280 |
282 <dt><i>button</i></dt> |
281 <dt><i>button</i> (QAbstractButton)</dt> |
283 <dd> |
282 <dd> |
284 button that was clicked (QAbstractButton) |
283 button that was clicked |
285 </dd> |
284 </dd> |
286 </dl> |
285 </dl> |
287 <a NAME="HgShelveBrowserDialog.on_refreshButton_clicked" ID="HgShelveBrowserDialog.on_refreshButton_clicked"></a> |
286 <a NAME="HgShelveBrowserDialog.on_refreshButton_clicked" ID="HgShelveBrowserDialog.on_refreshButton_clicked"></a> |
288 <h4>HgShelveBrowserDialog.on_refreshButton_clicked</h4> |
287 <h4>HgShelveBrowserDialog.on_refreshButton_clicked</h4> |
289 <b>on_refreshButton_clicked</b>(<i></i>) |
288 <b>on_refreshButton_clicked</b>(<i></i>) |
298 <p> |
297 <p> |
299 Private slot called, when the current item of the shelve list changes. |
298 Private slot called, when the current item of the shelve list changes. |
300 </p> |
299 </p> |
301 <dl> |
300 <dl> |
302 |
301 |
303 <dt><i>current</i></dt> |
302 <dt><i>current</i> (QTreeWidgetItem)</dt> |
304 <dd> |
303 <dd> |
305 reference to the new current item (QTreeWidgetItem) |
304 reference to the new current item |
306 </dd> |
305 </dd> |
307 <dt><i>previous</i></dt> |
306 <dt><i>previous</i> (QTreeWidgetItem)</dt> |
308 <dd> |
307 <dd> |
309 reference to the old current item (QTreeWidgetItem) |
308 reference to the old current item |
310 </dd> |
309 </dd> |
311 </dl> |
310 </dl> |
312 <a NAME="HgShelveBrowserDialog.on_shelveList_customContextMenuRequested" ID="HgShelveBrowserDialog.on_shelveList_customContextMenuRequested"></a> |
311 <a NAME="HgShelveBrowserDialog.on_shelveList_customContextMenuRequested" ID="HgShelveBrowserDialog.on_shelveList_customContextMenuRequested"></a> |
313 <h4>HgShelveBrowserDialog.on_shelveList_customContextMenuRequested</h4> |
312 <h4>HgShelveBrowserDialog.on_shelveList_customContextMenuRequested</h4> |
314 <b>on_shelveList_customContextMenuRequested</b>(<i>pos</i>) |
313 <b>on_shelveList_customContextMenuRequested</b>(<i>pos</i>) |