src/eric7/Documentation/Source/eric7.VCS.StatusWidget.html

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8752
3c1ea4dfb691
child 10479
856476537696
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.VCS.StatusWidget</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.VCS.StatusWidget</h1>
10
11 <p>
12 Module implementing a VCS Status widget for the sidebar/toolbar.
13 </p>
14 <h3>Global Attributes</h3>
15
16 <table>
17 <tr><td>None</td></tr>
18 </table>
19 <h3>Classes</h3>
20
21 <table>
22
23 <tr>
24 <td><a href="#StatusWidget">StatusWidget</a></td>
25 <td>Class implementing a VCS Status widget for the sidebar/toolbox.</td>
26 </tr>
27 </table>
28 <h3>Functions</h3>
29
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <hr />
34 <hr />
35 <a NAME="StatusWidget" ID="StatusWidget"></a>
36 <h2>StatusWidget</h2>
37
38 <p>
39 Class implementing a VCS Status widget for the sidebar/toolbox.
40 </p>
41 <h3>Derived from</h3>
42 QWidget
43 <h3>Class Attributes</h3>
44
45 <table>
46 <tr><td>StatusDataRole</td></tr>
47 </table>
48 <h3>Class Methods</h3>
49
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Methods</h3>
54
55 <table>
56
57 <tr>
58 <td><a href="#StatusWidget.__init__">StatusWidget</a></td>
59 <td>Constructor</td>
60 </tr>
61 <tr>
62 <td><a href="#StatusWidget.__addAllUntracked">__addAllUntracked</a></td>
63 <td>Private slot to handle the Add All action menu entry.</td>
64 </tr>
65 <tr>
66 <td><a href="#StatusWidget.__addUntracked">__addUntracked</a></td>
67 <td>Private slot to add the selected untracked entries.</td>
68 </tr>
69 <tr>
70 <td><a href="#StatusWidget.__clearCommitMessages">__clearCommitMessages</a></td>
71 <td>Private slot to clear the list of saved commit messages.</td>
72 </tr>
73 <tr>
74 <td><a href="#StatusWidget.__commit">__commit</a></td>
75 <td>Private slot to handle the commit button.</td>
76 </tr>
77 <tr>
78 <td><a href="#StatusWidget.__commitDeselectAll">__commitDeselectAll</a></td>
79 <td>Private slot to deselect all entries from commit.</td>
80 </tr>
81 <tr>
82 <td><a href="#StatusWidget.__commitSelectAll">__commitSelectAll</a></td>
83 <td>Private slot to select all entries for commit.</td>
84 </tr>
85 <tr>
86 <td><a href="#StatusWidget.__committed">__committed</a></td>
87 <td>Private slot called after the commit has been completed.</td>
88 </tr>
89 <tr>
90 <td><a href="#StatusWidget.__conflictResolved">__conflictResolved</a></td>
91 <td>Private slot to handle the Conflict Resolved action menu entry.</td>
92 </tr>
93 <tr>
94 <td><a href="#StatusWidget.__diff">__diff</a></td>
95 <td>Private slot to handle the Differences action menu entry.</td>
96 </tr>
97 <tr>
98 <td><a href="#StatusWidget.__diffAll">__diffAll</a></td>
99 <td>Private slot to handle the All Differences action menu entry.</td>
100 </tr>
101 <tr>
102 <td><a href="#StatusWidget.__editConflict">__editConflict</a></td>
103 <td>Private slot to handle the Edit Conflict action menu entry.</td>
104 </tr>
105 <tr>
106 <td><a href="#StatusWidget.__forgetMissing">__forgetMissing</a></td>
107 <td>Private slot to handle the Forget action menu entry.</td>
108 </tr>
109 <tr>
110 <td><a href="#StatusWidget.__getCommitableItems">__getCommitableItems</a></td>
111 <td>Private method to retrieve all entries the user wants to commit.</td>
112 </tr>
113 <tr>
114 <td><a href="#StatusWidget.__getCommitableUnselectedItems">__getCommitableUnselectedItems</a></td>
115 <td>Private method to retrieve all entries the user may commit but hasn't selected.</td>
116 </tr>
117 <tr>
118 <td><a href="#StatusWidget.__getMissingItems">__getMissingItems</a></td>
119 <td>Private method to retrieve all entries, that have a missing status.</td>
120 </tr>
121 <tr>
122 <td><a href="#StatusWidget.__getModifiedItems">__getModifiedItems</a></td>
123 <td>Private method to retrieve all entries, that have a modified status.</td>
124 </tr>
125 <tr>
126 <td><a href="#StatusWidget.__getSelectedConflictingItems">__getSelectedConflictingItems</a></td>
127 <td>Private method to retrieve all selected entries, that have a conflict status.</td>
128 </tr>
129 <tr>
130 <td><a href="#StatusWidget.__getSelectedModifiedItems">__getSelectedModifiedItems</a></td>
131 <td>Private method to retrieve all selected entries, that have a modified status.</td>
132 </tr>
133 <tr>
134 <td><a href="#StatusWidget.__getSelectedUnversionedItems">__getSelectedUnversionedItems</a></td>
135 <td>Private method to retrieve all selected entries, that have an unversioned status.</td>
136 </tr>
137 <tr>
138 <td><a href="#StatusWidget.__getUnversionedItems">__getUnversionedItems</a></td>
139 <td>Private method to retrieve all entries, that have an unversioned status.</td>
140 </tr>
141 <tr>
142 <td><a href="#StatusWidget.__initActionsMenu">__initActionsMenu</a></td>
143 <td>Private method to initialize the actions menu.</td>
144 </tr>
145 <tr>
146 <td><a href="#StatusWidget.__itemDoubleClicked">__itemDoubleClicked</a></td>
147 <td>Private slot to handle double clicking an item.</td>
148 </tr>
149 <tr>
150 <td><a href="#StatusWidget.__processStatusData">__processStatusData</a></td>
151 <td>Private slot to process the status data emitted by the project.</td>
152 </tr>
153 <tr>
154 <td><a href="#StatusWidget.__projectClosed">__projectClosed</a></td>
155 <td>Private slot to handle the closing of a project.</td>
156 </tr>
157 <tr>
158 <td><a href="#StatusWidget.__projectOpened">__projectOpened</a></td>
159 <td>Private slot to handle the opening of a project.</td>
160 </tr>
161 <tr>
162 <td><a href="#StatusWidget.__quickCommit">__quickCommit</a></td>
163 <td>Private slot to commit all marked entries with the entered commit message.</td>
164 </tr>
165 <tr>
166 <td><a href="#StatusWidget.__quickCommitEditTextChanged">__quickCommitEditTextChanged</a></td>
167 <td>Private slot to react upon changes of the quick commit text.</td>
168 </tr>
169 <tr>
170 <td><a href="#StatusWidget.__reload">__reload</a></td>
171 <td>Private slot to reload the status list.</td>
172 </tr>
173 <tr>
174 <td><a href="#StatusWidget.__reset">__reset</a></td>
175 <td>Private method to reset the widget to default.</td>
176 </tr>
177 <tr>
178 <td><a href="#StatusWidget.__restoreMissing">__restoreMissing</a></td>
179 <td>Private slot to handle the Restore Missing context menu entry.</td>
180 </tr>
181 <tr>
182 <td><a href="#StatusWidget.__revert">__revert</a></td>
183 <td>Private slot to handle the Revert action menu entry.</td>
184 </tr>
185 <tr>
186 <td><a href="#StatusWidget.__sbsDiff">__sbsDiff</a></td>
187 <td>Private slot to handle the Side-By-Side Differences action menu entry.</td>
188 </tr>
189 <tr>
190 <td><a href="#StatusWidget.__selectQuickCommitMessage">__selectQuickCommitMessage</a></td>
191 <td>Private slot to select a commit message from the list of saved messages.</td>
192 </tr>
193 <tr>
194 <td><a href="#StatusWidget.__setCheckMark">__setCheckMark</a></td>
195 <td>Private method to set or unset all check marks.</td>
196 </tr>
197 <tr>
198 <td><a href="#StatusWidget.__setInfoText">__setInfoText</a></td>
199 <td>Private slot to set the info label text.</td>
200 </tr>
201 <tr>
202 <td><a href="#StatusWidget.__setProjectSpellCheckData">__setProjectSpellCheckData</a></td>
203 <td>Private slot to set the spell check properties of the quick commit area.</td>
204 </tr>
205 <tr>
206 <td><a href="#StatusWidget.__showActionsMenu">__showActionsMenu</a></td>
207 <td>Private slot to prepare the actions button menu before it is shown.</td>
208 </tr>
209 <tr>
210 <td><a href="#StatusWidget.__toggleCheckMark">__toggleCheckMark</a></td>
211 <td>Private slot to toggle the check marks.</td>
212 </tr>
213 <tr>
214 <td><a href="#StatusWidget.__updateEnabledStates">__updateEnabledStates</a></td>
215 <td>Private method to set the enabled states depending on the list state.</td>
216 </tr>
217 <tr>
218 <td><a href="#StatusWidget.eventFilter">eventFilter</a></td>
219 <td>Public method to process some events for the Commit edit.</td>
220 </tr>
221 </table>
222 <h3>Static Methods</h3>
223
224 <table>
225 <tr><td>None</td></tr>
226 </table>
227
228 <a NAME="StatusWidget.__init__" ID="StatusWidget.__init__"></a>
229 <h4>StatusWidget (Constructor)</h4>
230 <b>StatusWidget</b>(<i>project, viewmanager, parent=None</i>)
231
232 <p>
233 Constructor
234 </p>
235 <dl>
236
237 <dt><i>project</i> (Project)</dt>
238 <dd>
239 reference to the project object
240 </dd>
241 <dt><i>viewmanager</i> (ViewManager)</dt>
242 <dd>
243 reference to the viewmanager object
244 </dd>
245 <dt><i>parent</i> (QWidget (optional))</dt>
246 <dd>
247 reference to the parent widget (defaults to None)
248 </dd>
249 </dl>
250 <a NAME="StatusWidget.__addAllUntracked" ID="StatusWidget.__addAllUntracked"></a>
251 <h4>StatusWidget.__addAllUntracked</h4>
252 <b>__addAllUntracked</b>(<i></i>)
253
254 <p>
255 Private slot to handle the Add All action menu entry.
256 </p>
257 <a NAME="StatusWidget.__addUntracked" ID="StatusWidget.__addUntracked"></a>
258 <h4>StatusWidget.__addUntracked</h4>
259 <b>__addUntracked</b>(<i>allItems=False</i>)
260
261 <p>
262 Private slot to add the selected untracked entries.
263 </p>
264 <dl>
265
266 <dt><i>allItems</i> (bool (optional))</dt>
267 <dd>
268 flag indicating to show the differences of all files
269 (defaults to False)
270 </dd>
271 </dl>
272 <a NAME="StatusWidget.__clearCommitMessages" ID="StatusWidget.__clearCommitMessages"></a>
273 <h4>StatusWidget.__clearCommitMessages</h4>
274 <b>__clearCommitMessages</b>(<i></i>)
275
276 <p>
277 Private slot to clear the list of saved commit messages.
278 </p>
279 <a NAME="StatusWidget.__commit" ID="StatusWidget.__commit"></a>
280 <h4>StatusWidget.__commit</h4>
281 <b>__commit</b>(<i></i>)
282
283 <p>
284 Private slot to handle the commit button.
285 </p>
286 <a NAME="StatusWidget.__commitDeselectAll" ID="StatusWidget.__commitDeselectAll"></a>
287 <h4>StatusWidget.__commitDeselectAll</h4>
288 <b>__commitDeselectAll</b>(<i></i>)
289
290 <p>
291 Private slot to deselect all entries from commit.
292 </p>
293 <a NAME="StatusWidget.__commitSelectAll" ID="StatusWidget.__commitSelectAll"></a>
294 <h4>StatusWidget.__commitSelectAll</h4>
295 <b>__commitSelectAll</b>(<i></i>)
296
297 <p>
298 Private slot to select all entries for commit.
299 </p>
300 <a NAME="StatusWidget.__committed" ID="StatusWidget.__committed"></a>
301 <h4>StatusWidget.__committed</h4>
302 <b>__committed</b>(<i></i>)
303
304 <p>
305 Private slot called after the commit has been completed.
306 </p>
307 <a NAME="StatusWidget.__conflictResolved" ID="StatusWidget.__conflictResolved"></a>
308 <h4>StatusWidget.__conflictResolved</h4>
309 <b>__conflictResolved</b>(<i></i>)
310
311 <p>
312 Private slot to handle the Conflict Resolved action menu entry.
313 </p>
314 <a NAME="StatusWidget.__diff" ID="StatusWidget.__diff"></a>
315 <h4>StatusWidget.__diff</h4>
316 <b>__diff</b>(<i>allItems=False</i>)
317
318 <p>
319 Private slot to handle the Differences action menu entry.
320 </p>
321 <dl>
322
323 <dt><i>allItems</i> (bool (optional))</dt>
324 <dd>
325 flag indicating to show the differences of all files
326 (defaults to False)
327 </dd>
328 </dl>
329 <a NAME="StatusWidget.__diffAll" ID="StatusWidget.__diffAll"></a>
330 <h4>StatusWidget.__diffAll</h4>
331 <b>__diffAll</b>(<i></i>)
332
333 <p>
334 Private slot to handle the All Differences action menu entry.
335 </p>
336 <a NAME="StatusWidget.__editConflict" ID="StatusWidget.__editConflict"></a>
337 <h4>StatusWidget.__editConflict</h4>
338 <b>__editConflict</b>(<i></i>)
339
340 <p>
341 Private slot to handle the Edit Conflict action menu entry.
342 </p>
343 <a NAME="StatusWidget.__forgetMissing" ID="StatusWidget.__forgetMissing"></a>
344 <h4>StatusWidget.__forgetMissing</h4>
345 <b>__forgetMissing</b>(<i></i>)
346
347 <p>
348 Private slot to handle the Forget action menu entry.
349 </p>
350 <a NAME="StatusWidget.__getCommitableItems" ID="StatusWidget.__getCommitableItems"></a>
351 <h4>StatusWidget.__getCommitableItems</h4>
352 <b>__getCommitableItems</b>(<i></i>)
353
354 <p>
355 Private method to retrieve all entries the user wants to commit.
356 </p>
357 <dl>
358 <dt>Return:</dt>
359 <dd>
360 list of all items, the user has checked
361 </dd>
362 </dl>
363 <dl>
364 <dt>Return Type:</dt>
365 <dd>
366 list of QListWidgetItem
367 </dd>
368 </dl>
369 <a NAME="StatusWidget.__getCommitableUnselectedItems" ID="StatusWidget.__getCommitableUnselectedItems"></a>
370 <h4>StatusWidget.__getCommitableUnselectedItems</h4>
371 <b>__getCommitableUnselectedItems</b>(<i></i>)
372
373 <p>
374 Private method to retrieve all entries the user may commit but hasn't
375 selected.
376 </p>
377 <dl>
378 <dt>Return:</dt>
379 <dd>
380 list of all items, the user has checked
381 </dd>
382 </dl>
383 <dl>
384 <dt>Return Type:</dt>
385 <dd>
386 list of QListWidgetItem
387 </dd>
388 </dl>
389 <a NAME="StatusWidget.__getMissingItems" ID="StatusWidget.__getMissingItems"></a>
390 <h4>StatusWidget.__getMissingItems</h4>
391 <b>__getMissingItems</b>(<i></i>)
392
393 <p>
394 Private method to retrieve all entries, that have a missing status.
395 </p>
396 <dl>
397 <dt>Return:</dt>
398 <dd>
399 list of all items with a missing status
400 </dd>
401 </dl>
402 <dl>
403 <dt>Return Type:</dt>
404 <dd>
405 list of QListWidgetItem
406 </dd>
407 </dl>
408 <a NAME="StatusWidget.__getModifiedItems" ID="StatusWidget.__getModifiedItems"></a>
409 <h4>StatusWidget.__getModifiedItems</h4>
410 <b>__getModifiedItems</b>(<i></i>)
411
412 <p>
413 Private method to retrieve all entries, that have a modified status.
414 </p>
415 <dl>
416 <dt>Return:</dt>
417 <dd>
418 list of all items with a modified status
419 </dd>
420 </dl>
421 <dl>
422 <dt>Return Type:</dt>
423 <dd>
424 list of QListWidgetItem
425 </dd>
426 </dl>
427 <a NAME="StatusWidget.__getSelectedConflictingItems" ID="StatusWidget.__getSelectedConflictingItems"></a>
428 <h4>StatusWidget.__getSelectedConflictingItems</h4>
429 <b>__getSelectedConflictingItems</b>(<i></i>)
430
431 <p>
432 Private method to retrieve all selected entries, that have a conflict
433 status.
434 </p>
435 <dl>
436 <dt>Return:</dt>
437 <dd>
438 list of all selected entries with a conflict status
439 </dd>
440 </dl>
441 <dl>
442 <dt>Return Type:</dt>
443 <dd>
444 list of QListWidgetItem
445 </dd>
446 </dl>
447 <a NAME="StatusWidget.__getSelectedModifiedItems" ID="StatusWidget.__getSelectedModifiedItems"></a>
448 <h4>StatusWidget.__getSelectedModifiedItems</h4>
449 <b>__getSelectedModifiedItems</b>(<i></i>)
450
451 <p>
452 Private method to retrieve all selected entries, that have a modified
453 status.
454 </p>
455 <dl>
456 <dt>Return:</dt>
457 <dd>
458 list of all selected entries with a modified status
459 </dd>
460 </dl>
461 <dl>
462 <dt>Return Type:</dt>
463 <dd>
464 list of QListWidgetItem
465 </dd>
466 </dl>
467 <a NAME="StatusWidget.__getSelectedUnversionedItems" ID="StatusWidget.__getSelectedUnversionedItems"></a>
468 <h4>StatusWidget.__getSelectedUnversionedItems</h4>
469 <b>__getSelectedUnversionedItems</b>(<i></i>)
470
471 <p>
472 Private method to retrieve all selected entries, that have an
473 unversioned status.
474 </p>
475 <dl>
476 <dt>Return:</dt>
477 <dd>
478 list of all items with an unversioned status
479 </dd>
480 </dl>
481 <dl>
482 <dt>Return Type:</dt>
483 <dd>
484 list of QListWidgetItem
485 </dd>
486 </dl>
487 <a NAME="StatusWidget.__getUnversionedItems" ID="StatusWidget.__getUnversionedItems"></a>
488 <h4>StatusWidget.__getUnversionedItems</h4>
489 <b>__getUnversionedItems</b>(<i></i>)
490
491 <p>
492 Private method to retrieve all entries, that have an unversioned
493 status.
494 </p>
495 <dl>
496 <dt>Return:</dt>
497 <dd>
498 list of all items with an unversioned status
499 </dd>
500 </dl>
501 <dl>
502 <dt>Return Type:</dt>
503 <dd>
504 list of QListWidgetItem
505 </dd>
506 </dl>
507 <a NAME="StatusWidget.__initActionsMenu" ID="StatusWidget.__initActionsMenu"></a>
508 <h4>StatusWidget.__initActionsMenu</h4>
509 <b>__initActionsMenu</b>(<i></i>)
510
511 <p>
512 Private method to initialize the actions menu.
513 </p>
514 <a NAME="StatusWidget.__itemDoubleClicked" ID="StatusWidget.__itemDoubleClicked"></a>
515 <h4>StatusWidget.__itemDoubleClicked</h4>
516 <b>__itemDoubleClicked</b>(<i>itm</i>)
517
518 <p>
519 Private slot to handle double clicking an item.
520 </p>
521 <dl>
522
523 <dt><i>itm</i> (QListWidgetItem)</dt>
524 <dd>
525 reference to the double clicked item
526 </dd>
527 </dl>
528 <a NAME="StatusWidget.__processStatusData" ID="StatusWidget.__processStatusData"></a>
529 <h4>StatusWidget.__processStatusData</h4>
530 <b>__processStatusData</b>(<i>data</i>)
531
532 <p>
533 Private slot to process the status data emitted by the project.
534 </p>
535 <p>
536 Each entry of the status data consists of a status flag and and the
537 path relative to the project directory starting with the third column.
538 The known status flags are:
539 <ul>
540 <li>"A" path was added but not yet committed</li>
541 <li>"M" path has local changes</li>
542 <li>"O" path was removed</li>
543 <li>"R" path was deleted and then re-added</li>
544 <li>"U" path needs an update</li>
545 <li>"Z" path contains a conflict</li>
546 <li>"?" path is not tracked</li>
547 <li>"!" path is missing</li>
548 <li>" " path is back at normal</li>
549 </ul>
550 </p>
551 <dl>
552
553 <dt><i>data</i> (dict)</dt>
554 <dd>
555 dictionary containing the status data
556 </dd>
557 </dl>
558 <a NAME="StatusWidget.__projectClosed" ID="StatusWidget.__projectClosed"></a>
559 <h4>StatusWidget.__projectClosed</h4>
560 <b>__projectClosed</b>(<i></i>)
561
562 <p>
563 Private slot to handle the closing of a project.
564 </p>
565 <a NAME="StatusWidget.__projectOpened" ID="StatusWidget.__projectOpened"></a>
566 <h4>StatusWidget.__projectOpened</h4>
567 <b>__projectOpened</b>(<i></i>)
568
569 <p>
570 Private slot to handle the opening of a project.
571 </p>
572 <a NAME="StatusWidget.__quickCommit" ID="StatusWidget.__quickCommit"></a>
573 <h4>StatusWidget.__quickCommit</h4>
574 <b>__quickCommit</b>(<i></i>)
575
576 <p>
577 Private slot to commit all marked entries with the entered
578 commit message.
579 </p>
580 <a NAME="StatusWidget.__quickCommitEditTextChanged" ID="StatusWidget.__quickCommitEditTextChanged"></a>
581 <h4>StatusWidget.__quickCommitEditTextChanged</h4>
582 <b>__quickCommitEditTextChanged</b>(<i></i>)
583
584 <p>
585 Private slot to react upon changes of the quick commit text.
586 </p>
587 <a NAME="StatusWidget.__reload" ID="StatusWidget.__reload"></a>
588 <h4>StatusWidget.__reload</h4>
589 <b>__reload</b>(<i></i>)
590
591 <p>
592 Private slot to reload the status list.
593 </p>
594 <a NAME="StatusWidget.__reset" ID="StatusWidget.__reset"></a>
595 <h4>StatusWidget.__reset</h4>
596 <b>__reset</b>(<i></i>)
597
598 <p>
599 Private method to reset the widget to default.
600 </p>
601 <a NAME="StatusWidget.__restoreMissing" ID="StatusWidget.__restoreMissing"></a>
602 <h4>StatusWidget.__restoreMissing</h4>
603 <b>__restoreMissing</b>(<i></i>)
604
605 <p>
606 Private slot to handle the Restore Missing context menu entry.
607 </p>
608 <a NAME="StatusWidget.__revert" ID="StatusWidget.__revert"></a>
609 <h4>StatusWidget.__revert</h4>
610 <b>__revert</b>(<i></i>)
611
612 <p>
613 Private slot to handle the Revert action menu entry.
614 </p>
615 <a NAME="StatusWidget.__sbsDiff" ID="StatusWidget.__sbsDiff"></a>
616 <h4>StatusWidget.__sbsDiff</h4>
617 <b>__sbsDiff</b>(<i></i>)
618
619 <p>
620 Private slot to handle the Side-By-Side Differences action menu entry.
621 </p>
622 <a NAME="StatusWidget.__selectQuickCommitMessage" ID="StatusWidget.__selectQuickCommitMessage"></a>
623 <h4>StatusWidget.__selectQuickCommitMessage</h4>
624 <b>__selectQuickCommitMessage</b>(<i></i>)
625
626 <p>
627 Private slot to select a commit message from the list of
628 saved messages.
629 </p>
630 <a NAME="StatusWidget.__setCheckMark" ID="StatusWidget.__setCheckMark"></a>
631 <h4>StatusWidget.__setCheckMark</h4>
632 <b>__setCheckMark</b>(<i>checked</i>)
633
634 <p>
635 Private method to set or unset all check marks.
636 </p>
637 <dl>
638
639 <dt><i>checked</i> (bool)</dt>
640 <dd>
641 check mark state to be set
642 </dd>
643 </dl>
644 <a NAME="StatusWidget.__setInfoText" ID="StatusWidget.__setInfoText"></a>
645 <h4>StatusWidget.__setInfoText</h4>
646 <b>__setInfoText</b>(<i>info</i>)
647
648 <p>
649 Private slot to set the info label text.
650 </p>
651 <dl>
652
653 <dt><i>info</i> (str)</dt>
654 <dd>
655 text to be shown
656 </dd>
657 </dl>
658 <a NAME="StatusWidget.__setProjectSpellCheckData" ID="StatusWidget.__setProjectSpellCheckData"></a>
659 <h4>StatusWidget.__setProjectSpellCheckData</h4>
660 <b>__setProjectSpellCheckData</b>(<i></i>)
661
662 <p>
663 Private slot to set the spell check properties of the
664 quick commit area.
665 </p>
666 <a NAME="StatusWidget.__showActionsMenu" ID="StatusWidget.__showActionsMenu"></a>
667 <h4>StatusWidget.__showActionsMenu</h4>
668 <b>__showActionsMenu</b>(<i></i>)
669
670 <p>
671 Private slot to prepare the actions button menu before it is shown.
672 </p>
673 <a NAME="StatusWidget.__toggleCheckMark" ID="StatusWidget.__toggleCheckMark"></a>
674 <h4>StatusWidget.__toggleCheckMark</h4>
675 <b>__toggleCheckMark</b>(<i></i>)
676
677 <p>
678 Private slot to toggle the check marks.
679 </p>
680 <a NAME="StatusWidget.__updateEnabledStates" ID="StatusWidget.__updateEnabledStates"></a>
681 <h4>StatusWidget.__updateEnabledStates</h4>
682 <b>__updateEnabledStates</b>(<i></i>)
683
684 <p>
685 Private method to set the enabled states depending on the list state.
686 </p>
687 <a NAME="StatusWidget.eventFilter" ID="StatusWidget.eventFilter"></a>
688 <h4>StatusWidget.eventFilter</h4>
689 <b>eventFilter</b>(<i>obj, evt</i>)
690
691 <p>
692 Public method to process some events for the Commit edit.
693 </p>
694 <dl>
695
696 <dt><i>obj</i> (QObject)</dt>
697 <dd>
698 reference to the object the event was meant for
699 </dd>
700 <dt><i>evt</i> (QEvent)</dt>
701 <dd>
702 reference to the event object
703 </dd>
704 </dl>
705 <dl>
706 <dt>Return:</dt>
707 <dd>
708 flag to indicate that the event was handled
709 </dd>
710 </dl>
711 <dl>
712 <dt>Return Type:</dt>
713 <dd>
714 bool
715 </dd>
716 </dl>
717 <div align="right"><a href="#top">Up</a></div>
718 <hr />
719 </body></html>

eric ide

mercurial