43 <h2>HgLogBrowserDialog</h2> |
43 <h2>HgLogBrowserDialog</h2> |
44 <p> |
44 <p> |
45 Class implementing a dialog to browse the log history. |
45 Class implementing a dialog to browse the log history. |
46 </p> |
46 </p> |
47 <h3>Derived from</h3> |
47 <h3>Derived from</h3> |
48 QDialog, Ui_HgLogBrowserDialog |
48 QWidget, Ui_HgLogBrowserDialog |
49 <h3>Class Attributes</h3> |
49 <h3>Class Attributes</h3> |
50 <table> |
50 <table> |
51 <tr><td>AuthorColumn</td></tr><tr><td>BranchColumn</td></tr><tr><td>DateColumn</td></tr><tr><td>IconColumn</td></tr><tr><td>MessageColumn</td></tr><tr><td>PhaseColumn</td></tr><tr><td>RevisionColumn</td></tr><tr><td>TagsColumn</td></tr> |
51 <tr><td>AuthorColumn</td></tr><tr><td>BranchColumn</td></tr><tr><td>DateColumn</td></tr><tr><td>IconColumn</td></tr><tr><td>MessageColumn</td></tr><tr><td>PhaseColumn</td></tr><tr><td>RevisionColumn</td></tr><tr><td>TagsColumn</td></tr> |
52 </table> |
52 </table> |
53 <h3>Class Methods</h3> |
53 <h3>Class Methods</h3> |
130 <td>Private method to resort the changed files tree.</td> |
130 <td>Private method to resort the changed files tree.</td> |
131 </tr><tr> |
131 </tr><tr> |
132 <td><a href="#HgLogBrowserDialog.__showError">__showError</a></td> |
132 <td><a href="#HgLogBrowserDialog.__showError">__showError</a></td> |
133 <td>Private slot to show some error.</td> |
133 <td>Private slot to show some error.</td> |
134 </tr><tr> |
134 </tr><tr> |
|
135 <td><a href="#HgLogBrowserDialog.__switchActTriggered">__switchActTriggered</a></td> |
|
136 <td>Private slot to switch the working directory to the selected revision.</td> |
|
137 </tr><tr> |
135 <td><a href="#HgLogBrowserDialog.__tagActTriggered">__tagActTriggered</a></td> |
138 <td><a href="#HgLogBrowserDialog.__tagActTriggered">__tagActTriggered</a></td> |
136 <td>Private slot to tag the selected revision.</td> |
139 <td>Private slot to tag the selected revision.</td> |
137 </tr><tr> |
140 </tr><tr> |
138 <td><a href="#HgLogBrowserDialog.__updateDiffButtons">__updateDiffButtons</a></td> |
141 <td><a href="#HgLogBrowserDialog.__updateDiffButtons">__updateDiffButtons</a></td> |
139 <td>Private slot to update the enabled status of the diff buttons.</td> |
142 <td>Private slot to update the enabled status of the diff buttons.</td> |
140 </tr><tr> |
143 </tr><tr> |
141 <td><a href="#HgLogBrowserDialog.__updateGraftAction">__updateGraftAction</a></td> |
|
142 <td>Private slot to update the status of the graft action.</td> |
|
143 </tr><tr> |
|
144 <td><a href="#HgLogBrowserDialog.__updateGui">__updateGui</a></td> |
144 <td><a href="#HgLogBrowserDialog.__updateGui">__updateGui</a></td> |
145 <td>Private slot to update GUI elements except the diff and phase buttons.</td> |
145 <td>Private slot to update GUI elements except tool menu actions.</td> |
146 </tr><tr> |
146 </tr><tr> |
147 <td><a href="#HgLogBrowserDialog.__updatePhaseAction">__updatePhaseAction</a></td> |
147 <td><a href="#HgLogBrowserDialog.__updateToolMenuActions">__updateToolMenuActions</a></td> |
148 <td>Private slot to update the status of the phase action.</td> |
148 <td>Private slot to update the status of the tool menu actions and the tool menu button.</td> |
149 </tr><tr> |
|
150 <td><a href="#HgLogBrowserDialog.__updateTagAction">__updateTagAction</a></td> |
|
151 <td>Private slot to update the status of the graft action.</td> |
|
152 </tr><tr> |
149 </tr><tr> |
153 <td><a href="#HgLogBrowserDialog.closeEvent">closeEvent</a></td> |
150 <td><a href="#HgLogBrowserDialog.closeEvent">closeEvent</a></td> |
154 <td>Private slot implementing a close event handler.</td> |
151 <td>Private slot implementing a close event handler.</td> |
155 </tr><tr> |
152 </tr><tr> |
156 <td><a href="#HgLogBrowserDialog.col2x">col2x</a></td> |
153 <td><a href="#HgLogBrowserDialog.col2x">col2x</a></td> |
524 </p><dl> |
521 </p><dl> |
525 <dt><i>out</i></dt> |
522 <dt><i>out</i></dt> |
526 <dd> |
523 <dd> |
527 error to be shown (string) |
524 error to be shown (string) |
528 </dd> |
525 </dd> |
529 </dl><a NAME="HgLogBrowserDialog.__tagActTriggered" ID="HgLogBrowserDialog.__tagActTriggered"></a> |
526 </dl><a NAME="HgLogBrowserDialog.__switchActTriggered" ID="HgLogBrowserDialog.__switchActTriggered"></a> |
|
527 <h4>HgLogBrowserDialog.__switchActTriggered</h4> |
|
528 <b>__switchActTriggered</b>(<i></i>) |
|
529 <p> |
|
530 Private slot to switch the working directory to the |
|
531 selected revision. |
|
532 </p><a NAME="HgLogBrowserDialog.__tagActTriggered" ID="HgLogBrowserDialog.__tagActTriggered"></a> |
530 <h4>HgLogBrowserDialog.__tagActTriggered</h4> |
533 <h4>HgLogBrowserDialog.__tagActTriggered</h4> |
531 <b>__tagActTriggered</b>(<i></i>) |
534 <b>__tagActTriggered</b>(<i></i>) |
532 <p> |
535 <p> |
533 Private slot to tag the selected revision. |
536 Private slot to tag the selected revision. |
534 </p><a NAME="HgLogBrowserDialog.__updateDiffButtons" ID="HgLogBrowserDialog.__updateDiffButtons"></a> |
537 </p><a NAME="HgLogBrowserDialog.__updateDiffButtons" ID="HgLogBrowserDialog.__updateDiffButtons"></a> |
535 <h4>HgLogBrowserDialog.__updateDiffButtons</h4> |
538 <h4>HgLogBrowserDialog.__updateDiffButtons</h4> |
536 <b>__updateDiffButtons</b>(<i></i>) |
539 <b>__updateDiffButtons</b>(<i></i>) |
537 <p> |
540 <p> |
538 Private slot to update the enabled status of the diff buttons. |
541 Private slot to update the enabled status of the diff buttons. |
539 </p><a NAME="HgLogBrowserDialog.__updateGraftAction" ID="HgLogBrowserDialog.__updateGraftAction"></a> |
|
540 <h4>HgLogBrowserDialog.__updateGraftAction</h4> |
|
541 <b>__updateGraftAction</b>(<i></i>) |
|
542 <p> |
|
543 Private slot to update the status of the graft action. |
|
544 </p><a NAME="HgLogBrowserDialog.__updateGui" ID="HgLogBrowserDialog.__updateGui"></a> |
542 </p><a NAME="HgLogBrowserDialog.__updateGui" ID="HgLogBrowserDialog.__updateGui"></a> |
545 <h4>HgLogBrowserDialog.__updateGui</h4> |
543 <h4>HgLogBrowserDialog.__updateGui</h4> |
546 <b>__updateGui</b>(<i>itm</i>) |
544 <b>__updateGui</b>(<i>itm</i>) |
547 <p> |
545 <p> |
548 Private slot to update GUI elements except the diff and phase buttons. |
546 Private slot to update GUI elements except tool menu actions. |
549 </p><dl> |
547 </p><dl> |
550 <dt><i>itm</i></dt> |
548 <dt><i>itm</i></dt> |
551 <dd> |
549 <dd> |
552 reference to the item the update should be based on |
550 reference to the item the update should be based on |
553 (QTreeWidgetItem) |
551 (QTreeWidgetItem) |
554 </dd> |
552 </dd> |
555 </dl><a NAME="HgLogBrowserDialog.__updatePhaseAction" ID="HgLogBrowserDialog.__updatePhaseAction"></a> |
553 </dl><a NAME="HgLogBrowserDialog.__updateToolMenuActions" ID="HgLogBrowserDialog.__updateToolMenuActions"></a> |
556 <h4>HgLogBrowserDialog.__updatePhaseAction</h4> |
554 <h4>HgLogBrowserDialog.__updateToolMenuActions</h4> |
557 <b>__updatePhaseAction</b>(<i></i>) |
555 <b>__updateToolMenuActions</b>(<i></i>) |
558 <p> |
556 <p> |
559 Private slot to update the status of the phase action. |
557 Private slot to update the status of the tool menu actions and |
560 </p><a NAME="HgLogBrowserDialog.__updateTagAction" ID="HgLogBrowserDialog.__updateTagAction"></a> |
558 the tool menu button. |
561 <h4>HgLogBrowserDialog.__updateTagAction</h4> |
|
562 <b>__updateTagAction</b>(<i></i>) |
|
563 <p> |
|
564 Private slot to update the status of the graft action. |
|
565 </p><a NAME="HgLogBrowserDialog.closeEvent" ID="HgLogBrowserDialog.closeEvent"></a> |
559 </p><a NAME="HgLogBrowserDialog.closeEvent" ID="HgLogBrowserDialog.closeEvent"></a> |
566 <h4>HgLogBrowserDialog.closeEvent</h4> |
560 <h4>HgLogBrowserDialog.closeEvent</h4> |
567 <b>closeEvent</b>(<i>e</i>) |
561 <b>closeEvent</b>(<i>e</i>) |
568 <p> |
562 <p> |
569 Private slot implementing a close event handler. |
563 Private slot implementing a close event handler. |