|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.VcsPlugins.vcsMercurial.HgStatusDialog</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.HgStatusDialog</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing a dialog to show the output of the hg status command |
|
13 process. |
|
14 </p> |
|
15 <h3>Global Attributes</h3> |
|
16 |
|
17 <table> |
|
18 <tr><td>None</td></tr> |
|
19 </table> |
|
20 <h3>Classes</h3> |
|
21 |
|
22 <table> |
|
23 |
|
24 <tr> |
|
25 <td><a href="#HgStatusDialog">HgStatusDialog</a></td> |
|
26 <td>Class implementing a dialog to show the output of the hg status command process.</td> |
|
27 </tr> |
|
28 </table> |
|
29 <h3>Functions</h3> |
|
30 |
|
31 <table> |
|
32 <tr><td>None</td></tr> |
|
33 </table> |
|
34 <hr /> |
|
35 <hr /> |
|
36 <a NAME="HgStatusDialog" ID="HgStatusDialog"></a> |
|
37 <h2>HgStatusDialog</h2> |
|
38 |
|
39 <p> |
|
40 Class implementing a dialog to show the output of the hg status command |
|
41 process. |
|
42 </p> |
|
43 <h3>Derived from</h3> |
|
44 QWidget, Ui_HgStatusDialog |
|
45 <h3>Class Attributes</h3> |
|
46 |
|
47 <table> |
|
48 <tr><td>None</td></tr> |
|
49 </table> |
|
50 <h3>Class Methods</h3> |
|
51 |
|
52 <table> |
|
53 <tr><td>None</td></tr> |
|
54 </table> |
|
55 <h3>Methods</h3> |
|
56 |
|
57 <table> |
|
58 |
|
59 <tr> |
|
60 <td><a href="#HgStatusDialog.__init__">HgStatusDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr> |
|
63 <tr> |
|
64 <td><a href="#HgStatusDialog.__abortMerge">__abortMerge</a></td> |
|
65 <td>Private slot used to abort an uncommitted merge.</td> |
|
66 </tr> |
|
67 <tr> |
|
68 <td><a href="#HgStatusDialog.__add">__add</a></td> |
|
69 <td>Private slot to handle the Add context menu entry.</td> |
|
70 </tr> |
|
71 <tr> |
|
72 <td><a href="#HgStatusDialog.__commit">__commit</a></td> |
|
73 <td>Private slot to handle the Commit context menu entry.</td> |
|
74 </tr> |
|
75 <tr> |
|
76 <td><a href="#HgStatusDialog.__commitDeselectAll">__commitDeselectAll</a></td> |
|
77 <td>Private slot to deselect all entries from commit.</td> |
|
78 </tr> |
|
79 <tr> |
|
80 <td><a href="#HgStatusDialog.__commitMerge">__commitMerge</a></td> |
|
81 <td>Private slot to handle the Commit Merge context menu entry.</td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td><a href="#HgStatusDialog.__commitSelect">__commitSelect</a></td> |
|
85 <td>Private slot to select or deselect all entries.</td> |
|
86 </tr> |
|
87 <tr> |
|
88 <td><a href="#HgStatusDialog.__commitSelectAll">__commitSelectAll</a></td> |
|
89 <td>Private slot to select all entries for commit.</td> |
|
90 </tr> |
|
91 <tr> |
|
92 <td><a href="#HgStatusDialog.__committed">__committed</a></td> |
|
93 <td>Private slot called after the commit has finished.</td> |
|
94 </tr> |
|
95 <tr> |
|
96 <td><a href="#HgStatusDialog.__diff">__diff</a></td> |
|
97 <td>Private slot to handle the Diff context menu entry.</td> |
|
98 </tr> |
|
99 <tr> |
|
100 <td><a href="#HgStatusDialog.__finish">__finish</a></td> |
|
101 <td>Private slot called when the process finished or the user pressed the button.</td> |
|
102 </tr> |
|
103 <tr> |
|
104 <td><a href="#HgStatusDialog.__forget">__forget</a></td> |
|
105 <td>Private slot to handle the Forget Missing context menu entry.</td> |
|
106 </tr> |
|
107 <tr> |
|
108 <td><a href="#HgStatusDialog.__generateDiffs">__generateDiffs</a></td> |
|
109 <td>Private slot to generate diff outputs for the selected item.</td> |
|
110 </tr> |
|
111 <tr> |
|
112 <td><a href="#HgStatusDialog.__generateItem">__generateItem</a></td> |
|
113 <td>Private method to generate a status item in the status list.</td> |
|
114 </tr> |
|
115 <tr> |
|
116 <td><a href="#HgStatusDialog.__generatorFinished">__generatorFinished</a></td> |
|
117 <td>Private slot connected to the finished signal of the diff generator.</td> |
|
118 </tr> |
|
119 <tr> |
|
120 <td><a href="#HgStatusDialog.__getCommitableItems">__getCommitableItems</a></td> |
|
121 <td>Private method to retrieve all entries the user wants to commit.</td> |
|
122 </tr> |
|
123 <tr> |
|
124 <td><a href="#HgStatusDialog.__getCommitableUnselectedItems">__getCommitableUnselectedItems</a></td> |
|
125 <td>Private method to retrieve all entries the user may commit but hasn't selected.</td> |
|
126 </tr> |
|
127 <tr> |
|
128 <td><a href="#HgStatusDialog.__getMissingItems">__getMissingItems</a></td> |
|
129 <td>Private method to retrieve all entries, that have a missing status.</td> |
|
130 </tr> |
|
131 <tr> |
|
132 <td><a href="#HgStatusDialog.__getModifiedItems">__getModifiedItems</a></td> |
|
133 <td>Private method to retrieve all entries, that have a modified status.</td> |
|
134 </tr> |
|
135 <tr> |
|
136 <td><a href="#HgStatusDialog.__getUnversionedItems">__getUnversionedItems</a></td> |
|
137 <td>Private method to retrieve all entries, that have an unversioned status.</td> |
|
138 </tr> |
|
139 <tr> |
|
140 <td><a href="#HgStatusDialog.__initActionsMenu">__initActionsMenu</a></td> |
|
141 <td>Private method to initialize the actions menu.</td> |
|
142 </tr> |
|
143 <tr> |
|
144 <td><a href="#HgStatusDialog.__lfAdd">__lfAdd</a></td> |
|
145 <td>Private slot to add a file to the repository.</td> |
|
146 </tr> |
|
147 <tr> |
|
148 <td><a href="#HgStatusDialog.__processOutputLine">__processOutputLine</a></td> |
|
149 <td>Private method to process the lines of output.</td> |
|
150 </tr> |
|
151 <tr> |
|
152 <td><a href="#HgStatusDialog.__refreshDiff">__refreshDiff</a></td> |
|
153 <td>Private method to refresh the diff output after a refresh.</td> |
|
154 </tr> |
|
155 <tr> |
|
156 <td><a href="#HgStatusDialog.__resizeColumns">__resizeColumns</a></td> |
|
157 <td>Private method to resize the list columns.</td> |
|
158 </tr> |
|
159 <tr> |
|
160 <td><a href="#HgStatusDialog.__resort">__resort</a></td> |
|
161 <td>Private method to resort the tree.</td> |
|
162 </tr> |
|
163 <tr> |
|
164 <td><a href="#HgStatusDialog.__restoreMissing">__restoreMissing</a></td> |
|
165 <td>Private slot to handle the Restore Missing context menu entry.</td> |
|
166 </tr> |
|
167 <tr> |
|
168 <td><a href="#HgStatusDialog.__revert">__revert</a></td> |
|
169 <td>Private slot to handle the Revert context menu entry.</td> |
|
170 </tr> |
|
171 <tr> |
|
172 <td><a href="#HgStatusDialog.__sbsDiff">__sbsDiff</a></td> |
|
173 <td>Private slot to handle the Side-By-Side Diff context menu entry.</td> |
|
174 </tr> |
|
175 <tr> |
|
176 <td><a href="#HgStatusDialog.__showActionsMenu">__showActionsMenu</a></td> |
|
177 <td>Private slot to prepare the actions button menu before it is shown.</td> |
|
178 </tr> |
|
179 <tr> |
|
180 <td><a href="#HgStatusDialog.__showError">__showError</a></td> |
|
181 <td>Private slot to show some error.</td> |
|
182 </tr> |
|
183 <tr> |
|
184 <td><a href="#HgStatusDialog.closeEvent">closeEvent</a></td> |
|
185 <td>Protected slot implementing a close event handler.</td> |
|
186 </tr> |
|
187 <tr> |
|
188 <td><a href="#HgStatusDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
189 <td>Private slot called by a button of the button box clicked.</td> |
|
190 </tr> |
|
191 <tr> |
|
192 <td><a href="#HgStatusDialog.on_refreshButton_clicked">on_refreshButton_clicked</a></td> |
|
193 <td>Private slot to refresh the status display.</td> |
|
194 </tr> |
|
195 <tr> |
|
196 <td><a href="#HgStatusDialog.on_statusFilterCombo_activated">on_statusFilterCombo_activated</a></td> |
|
197 <td>Private slot to react to the selection of a status filter.</td> |
|
198 </tr> |
|
199 <tr> |
|
200 <td><a href="#HgStatusDialog.on_statusList_itemSelectionChanged">on_statusList_itemSelectionChanged</a></td> |
|
201 <td>Private slot to act upon changes of selected items.</td> |
|
202 </tr> |
|
203 <tr> |
|
204 <td><a href="#HgStatusDialog.show">show</a></td> |
|
205 <td>Public slot to show the dialog.</td> |
|
206 </tr> |
|
207 <tr> |
|
208 <td><a href="#HgStatusDialog.start">start</a></td> |
|
209 <td>Public slot to start the hg status command.</td> |
|
210 </tr> |
|
211 </table> |
|
212 <h3>Static Methods</h3> |
|
213 |
|
214 <table> |
|
215 <tr><td>None</td></tr> |
|
216 </table> |
|
217 |
|
218 <a NAME="HgStatusDialog.__init__" ID="HgStatusDialog.__init__"></a> |
|
219 <h4>HgStatusDialog (Constructor)</h4> |
|
220 <b>HgStatusDialog</b>(<i>vcs, mq=False, parent=None</i>) |
|
221 |
|
222 <p> |
|
223 Constructor |
|
224 </p> |
|
225 <dl> |
|
226 |
|
227 <dt><i>vcs</i></dt> |
|
228 <dd> |
|
229 reference to the vcs object |
|
230 </dd> |
|
231 <dt><i>mq</i></dt> |
|
232 <dd> |
|
233 flag indicating to show a queue repo status (boolean) |
|
234 </dd> |
|
235 <dt><i>parent</i></dt> |
|
236 <dd> |
|
237 parent widget (QWidget) |
|
238 </dd> |
|
239 </dl> |
|
240 <a NAME="HgStatusDialog.__abortMerge" ID="HgStatusDialog.__abortMerge"></a> |
|
241 <h4>HgStatusDialog.__abortMerge</h4> |
|
242 <b>__abortMerge</b>(<i></i>) |
|
243 |
|
244 <p> |
|
245 Private slot used to abort an uncommitted merge. |
|
246 </p> |
|
247 <a NAME="HgStatusDialog.__add" ID="HgStatusDialog.__add"></a> |
|
248 <h4>HgStatusDialog.__add</h4> |
|
249 <b>__add</b>(<i></i>) |
|
250 |
|
251 <p> |
|
252 Private slot to handle the Add context menu entry. |
|
253 </p> |
|
254 <a NAME="HgStatusDialog.__commit" ID="HgStatusDialog.__commit"></a> |
|
255 <h4>HgStatusDialog.__commit</h4> |
|
256 <b>__commit</b>(<i></i>) |
|
257 |
|
258 <p> |
|
259 Private slot to handle the Commit context menu entry. |
|
260 </p> |
|
261 <a NAME="HgStatusDialog.__commitDeselectAll" ID="HgStatusDialog.__commitDeselectAll"></a> |
|
262 <h4>HgStatusDialog.__commitDeselectAll</h4> |
|
263 <b>__commitDeselectAll</b>(<i></i>) |
|
264 |
|
265 <p> |
|
266 Private slot to deselect all entries from commit. |
|
267 </p> |
|
268 <a NAME="HgStatusDialog.__commitMerge" ID="HgStatusDialog.__commitMerge"></a> |
|
269 <h4>HgStatusDialog.__commitMerge</h4> |
|
270 <b>__commitMerge</b>(<i></i>) |
|
271 |
|
272 <p> |
|
273 Private slot to handle the Commit Merge context menu entry. |
|
274 </p> |
|
275 <a NAME="HgStatusDialog.__commitSelect" ID="HgStatusDialog.__commitSelect"></a> |
|
276 <h4>HgStatusDialog.__commitSelect</h4> |
|
277 <b>__commitSelect</b>(<i>selected</i>) |
|
278 |
|
279 <p> |
|
280 Private slot to select or deselect all entries. |
|
281 </p> |
|
282 <dl> |
|
283 |
|
284 <dt><i>selected</i></dt> |
|
285 <dd> |
|
286 commit selection state to be set (boolean) |
|
287 </dd> |
|
288 </dl> |
|
289 <a NAME="HgStatusDialog.__commitSelectAll" ID="HgStatusDialog.__commitSelectAll"></a> |
|
290 <h4>HgStatusDialog.__commitSelectAll</h4> |
|
291 <b>__commitSelectAll</b>(<i></i>) |
|
292 |
|
293 <p> |
|
294 Private slot to select all entries for commit. |
|
295 </p> |
|
296 <a NAME="HgStatusDialog.__committed" ID="HgStatusDialog.__committed"></a> |
|
297 <h4>HgStatusDialog.__committed</h4> |
|
298 <b>__committed</b>(<i></i>) |
|
299 |
|
300 <p> |
|
301 Private slot called after the commit has finished. |
|
302 </p> |
|
303 <a NAME="HgStatusDialog.__diff" ID="HgStatusDialog.__diff"></a> |
|
304 <h4>HgStatusDialog.__diff</h4> |
|
305 <b>__diff</b>(<i></i>) |
|
306 |
|
307 <p> |
|
308 Private slot to handle the Diff context menu entry. |
|
309 </p> |
|
310 <a NAME="HgStatusDialog.__finish" ID="HgStatusDialog.__finish"></a> |
|
311 <h4>HgStatusDialog.__finish</h4> |
|
312 <b>__finish</b>(<i></i>) |
|
313 |
|
314 <p> |
|
315 Private slot called when the process finished or the user pressed |
|
316 the button. |
|
317 </p> |
|
318 <a NAME="HgStatusDialog.__forget" ID="HgStatusDialog.__forget"></a> |
|
319 <h4>HgStatusDialog.__forget</h4> |
|
320 <b>__forget</b>(<i></i>) |
|
321 |
|
322 <p> |
|
323 Private slot to handle the Forget Missing context menu entry. |
|
324 </p> |
|
325 <a NAME="HgStatusDialog.__generateDiffs" ID="HgStatusDialog.__generateDiffs"></a> |
|
326 <h4>HgStatusDialog.__generateDiffs</h4> |
|
327 <b>__generateDiffs</b>(<i></i>) |
|
328 |
|
329 <p> |
|
330 Private slot to generate diff outputs for the selected item. |
|
331 </p> |
|
332 <a NAME="HgStatusDialog.__generateItem" ID="HgStatusDialog.__generateItem"></a> |
|
333 <h4>HgStatusDialog.__generateItem</h4> |
|
334 <b>__generateItem</b>(<i>status, path</i>) |
|
335 |
|
336 <p> |
|
337 Private method to generate a status item in the status list. |
|
338 </p> |
|
339 <dl> |
|
340 |
|
341 <dt><i>status</i></dt> |
|
342 <dd> |
|
343 status indicator (string) |
|
344 </dd> |
|
345 <dt><i>path</i></dt> |
|
346 <dd> |
|
347 path of the file or directory (string) |
|
348 </dd> |
|
349 </dl> |
|
350 <a NAME="HgStatusDialog.__generatorFinished" ID="HgStatusDialog.__generatorFinished"></a> |
|
351 <h4>HgStatusDialog.__generatorFinished</h4> |
|
352 <b>__generatorFinished</b>(<i></i>) |
|
353 |
|
354 <p> |
|
355 Private slot connected to the finished signal of the diff generator. |
|
356 </p> |
|
357 <a NAME="HgStatusDialog.__getCommitableItems" ID="HgStatusDialog.__getCommitableItems"></a> |
|
358 <h4>HgStatusDialog.__getCommitableItems</h4> |
|
359 <b>__getCommitableItems</b>(<i></i>) |
|
360 |
|
361 <p> |
|
362 Private method to retrieve all entries the user wants to commit. |
|
363 </p> |
|
364 <dl> |
|
365 <dt>Return:</dt> |
|
366 <dd> |
|
367 list of all items, the user has checked |
|
368 </dd> |
|
369 </dl> |
|
370 <a NAME="HgStatusDialog.__getCommitableUnselectedItems" ID="HgStatusDialog.__getCommitableUnselectedItems"></a> |
|
371 <h4>HgStatusDialog.__getCommitableUnselectedItems</h4> |
|
372 <b>__getCommitableUnselectedItems</b>(<i></i>) |
|
373 |
|
374 <p> |
|
375 Private method to retrieve all entries the user may commit but hasn't |
|
376 selected. |
|
377 </p> |
|
378 <dl> |
|
379 <dt>Return:</dt> |
|
380 <dd> |
|
381 list of all items, the user has checked |
|
382 </dd> |
|
383 </dl> |
|
384 <a NAME="HgStatusDialog.__getMissingItems" ID="HgStatusDialog.__getMissingItems"></a> |
|
385 <h4>HgStatusDialog.__getMissingItems</h4> |
|
386 <b>__getMissingItems</b>(<i></i>) |
|
387 |
|
388 <p> |
|
389 Private method to retrieve all entries, that have a missing status. |
|
390 </p> |
|
391 <dl> |
|
392 <dt>Return:</dt> |
|
393 <dd> |
|
394 list of all items with a missing status |
|
395 </dd> |
|
396 </dl> |
|
397 <a NAME="HgStatusDialog.__getModifiedItems" ID="HgStatusDialog.__getModifiedItems"></a> |
|
398 <h4>HgStatusDialog.__getModifiedItems</h4> |
|
399 <b>__getModifiedItems</b>(<i></i>) |
|
400 |
|
401 <p> |
|
402 Private method to retrieve all entries, that have a modified status. |
|
403 </p> |
|
404 <dl> |
|
405 <dt>Return:</dt> |
|
406 <dd> |
|
407 list of all items with a modified status |
|
408 </dd> |
|
409 </dl> |
|
410 <a NAME="HgStatusDialog.__getUnversionedItems" ID="HgStatusDialog.__getUnversionedItems"></a> |
|
411 <h4>HgStatusDialog.__getUnversionedItems</h4> |
|
412 <b>__getUnversionedItems</b>(<i></i>) |
|
413 |
|
414 <p> |
|
415 Private method to retrieve all entries, that have an unversioned |
|
416 status. |
|
417 </p> |
|
418 <dl> |
|
419 <dt>Return:</dt> |
|
420 <dd> |
|
421 list of all items with an unversioned status |
|
422 </dd> |
|
423 </dl> |
|
424 <a NAME="HgStatusDialog.__initActionsMenu" ID="HgStatusDialog.__initActionsMenu"></a> |
|
425 <h4>HgStatusDialog.__initActionsMenu</h4> |
|
426 <b>__initActionsMenu</b>(<i></i>) |
|
427 |
|
428 <p> |
|
429 Private method to initialize the actions menu. |
|
430 </p> |
|
431 <a NAME="HgStatusDialog.__lfAdd" ID="HgStatusDialog.__lfAdd"></a> |
|
432 <h4>HgStatusDialog.__lfAdd</h4> |
|
433 <b>__lfAdd</b>(<i>mode</i>) |
|
434 |
|
435 <p> |
|
436 Private slot to add a file to the repository. |
|
437 </p> |
|
438 <dl> |
|
439 |
|
440 <dt><i>mode</i></dt> |
|
441 <dd> |
|
442 add mode (string one of 'normal' or 'large') |
|
443 </dd> |
|
444 </dl> |
|
445 <a NAME="HgStatusDialog.__processOutputLine" ID="HgStatusDialog.__processOutputLine"></a> |
|
446 <h4>HgStatusDialog.__processOutputLine</h4> |
|
447 <b>__processOutputLine</b>(<i>line</i>) |
|
448 |
|
449 <p> |
|
450 Private method to process the lines of output. |
|
451 </p> |
|
452 <dl> |
|
453 |
|
454 <dt><i>line</i></dt> |
|
455 <dd> |
|
456 output line to be processed (string) |
|
457 </dd> |
|
458 </dl> |
|
459 <a NAME="HgStatusDialog.__refreshDiff" ID="HgStatusDialog.__refreshDiff"></a> |
|
460 <h4>HgStatusDialog.__refreshDiff</h4> |
|
461 <b>__refreshDiff</b>(<i></i>) |
|
462 |
|
463 <p> |
|
464 Private method to refresh the diff output after a refresh. |
|
465 </p> |
|
466 <a NAME="HgStatusDialog.__resizeColumns" ID="HgStatusDialog.__resizeColumns"></a> |
|
467 <h4>HgStatusDialog.__resizeColumns</h4> |
|
468 <b>__resizeColumns</b>(<i></i>) |
|
469 |
|
470 <p> |
|
471 Private method to resize the list columns. |
|
472 </p> |
|
473 <a NAME="HgStatusDialog.__resort" ID="HgStatusDialog.__resort"></a> |
|
474 <h4>HgStatusDialog.__resort</h4> |
|
475 <b>__resort</b>(<i></i>) |
|
476 |
|
477 <p> |
|
478 Private method to resort the tree. |
|
479 </p> |
|
480 <a NAME="HgStatusDialog.__restoreMissing" ID="HgStatusDialog.__restoreMissing"></a> |
|
481 <h4>HgStatusDialog.__restoreMissing</h4> |
|
482 <b>__restoreMissing</b>(<i></i>) |
|
483 |
|
484 <p> |
|
485 Private slot to handle the Restore Missing context menu entry. |
|
486 </p> |
|
487 <a NAME="HgStatusDialog.__revert" ID="HgStatusDialog.__revert"></a> |
|
488 <h4>HgStatusDialog.__revert</h4> |
|
489 <b>__revert</b>(<i></i>) |
|
490 |
|
491 <p> |
|
492 Private slot to handle the Revert context menu entry. |
|
493 </p> |
|
494 <a NAME="HgStatusDialog.__sbsDiff" ID="HgStatusDialog.__sbsDiff"></a> |
|
495 <h4>HgStatusDialog.__sbsDiff</h4> |
|
496 <b>__sbsDiff</b>(<i></i>) |
|
497 |
|
498 <p> |
|
499 Private slot to handle the Side-By-Side Diff context menu entry. |
|
500 </p> |
|
501 <a NAME="HgStatusDialog.__showActionsMenu" ID="HgStatusDialog.__showActionsMenu"></a> |
|
502 <h4>HgStatusDialog.__showActionsMenu</h4> |
|
503 <b>__showActionsMenu</b>(<i></i>) |
|
504 |
|
505 <p> |
|
506 Private slot to prepare the actions button menu before it is shown. |
|
507 </p> |
|
508 <a NAME="HgStatusDialog.__showError" ID="HgStatusDialog.__showError"></a> |
|
509 <h4>HgStatusDialog.__showError</h4> |
|
510 <b>__showError</b>(<i>out</i>) |
|
511 |
|
512 <p> |
|
513 Private slot to show some error. |
|
514 </p> |
|
515 <dl> |
|
516 |
|
517 <dt><i>out</i></dt> |
|
518 <dd> |
|
519 error to be shown (string) |
|
520 </dd> |
|
521 </dl> |
|
522 <a NAME="HgStatusDialog.closeEvent" ID="HgStatusDialog.closeEvent"></a> |
|
523 <h4>HgStatusDialog.closeEvent</h4> |
|
524 <b>closeEvent</b>(<i>e</i>) |
|
525 |
|
526 <p> |
|
527 Protected slot implementing a close event handler. |
|
528 </p> |
|
529 <dl> |
|
530 |
|
531 <dt><i>e</i></dt> |
|
532 <dd> |
|
533 close event (QCloseEvent) |
|
534 </dd> |
|
535 </dl> |
|
536 <a NAME="HgStatusDialog.on_buttonBox_clicked" ID="HgStatusDialog.on_buttonBox_clicked"></a> |
|
537 <h4>HgStatusDialog.on_buttonBox_clicked</h4> |
|
538 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
539 |
|
540 <p> |
|
541 Private slot called by a button of the button box clicked. |
|
542 </p> |
|
543 <dl> |
|
544 |
|
545 <dt><i>button</i></dt> |
|
546 <dd> |
|
547 button that was clicked (QAbstractButton) |
|
548 </dd> |
|
549 </dl> |
|
550 <a NAME="HgStatusDialog.on_refreshButton_clicked" ID="HgStatusDialog.on_refreshButton_clicked"></a> |
|
551 <h4>HgStatusDialog.on_refreshButton_clicked</h4> |
|
552 <b>on_refreshButton_clicked</b>(<i></i>) |
|
553 |
|
554 <p> |
|
555 Private slot to refresh the status display. |
|
556 </p> |
|
557 <a NAME="HgStatusDialog.on_statusFilterCombo_activated" ID="HgStatusDialog.on_statusFilterCombo_activated"></a> |
|
558 <h4>HgStatusDialog.on_statusFilterCombo_activated</h4> |
|
559 <b>on_statusFilterCombo_activated</b>(<i>index</i>) |
|
560 |
|
561 <p> |
|
562 Private slot to react to the selection of a status filter. |
|
563 </p> |
|
564 <dl> |
|
565 |
|
566 <dt><i>index</i> (int)</dt> |
|
567 <dd> |
|
568 index of the selected entry |
|
569 </dd> |
|
570 </dl> |
|
571 <a NAME="HgStatusDialog.on_statusList_itemSelectionChanged" ID="HgStatusDialog.on_statusList_itemSelectionChanged"></a> |
|
572 <h4>HgStatusDialog.on_statusList_itemSelectionChanged</h4> |
|
573 <b>on_statusList_itemSelectionChanged</b>(<i></i>) |
|
574 |
|
575 <p> |
|
576 Private slot to act upon changes of selected items. |
|
577 </p> |
|
578 <a NAME="HgStatusDialog.show" ID="HgStatusDialog.show"></a> |
|
579 <h4>HgStatusDialog.show</h4> |
|
580 <b>show</b>(<i></i>) |
|
581 |
|
582 <p> |
|
583 Public slot to show the dialog. |
|
584 </p> |
|
585 <a NAME="HgStatusDialog.start" ID="HgStatusDialog.start"></a> |
|
586 <h4>HgStatusDialog.start</h4> |
|
587 <b>start</b>(<i>fn</i>) |
|
588 |
|
589 <p> |
|
590 Public slot to start the hg status command. |
|
591 </p> |
|
592 <dl> |
|
593 |
|
594 <dt><i>fn</i></dt> |
|
595 <dd> |
|
596 filename(s)/directoryname(s) to show the status of |
|
597 (string or list of strings) |
|
598 </dd> |
|
599 </dl> |
|
600 <div align="right"><a href="#top">Up</a></div> |
|
601 <hr /> |
|
602 </body></html> |