79 <td>Private method to calculate a color for a given branch name.</td> |
79 <td>Private method to calculate a color for a given branch name.</td> |
80 </tr><tr> |
80 </tr><tr> |
81 <td><a href="#HgLogBrowserDialog.__bundleActTriggered">__bundleActTriggered</a></td> |
81 <td><a href="#HgLogBrowserDialog.__bundleActTriggered">__bundleActTriggered</a></td> |
82 <td>Private slot to create a changegroup file.</td> |
82 <td>Private slot to create a changegroup file.</td> |
83 </tr><tr> |
83 </tr><tr> |
|
84 <td><a href="#HgLogBrowserDialog.__closeHeadsActTriggered">__closeHeadsActTriggered</a></td> |
|
85 <td>Private slot to close the selected head revisions.</td> |
|
86 </tr><tr> |
84 <td><a href="#HgLogBrowserDialog.__fetchActTriggered">__fetchActTriggered</a></td> |
87 <td><a href="#HgLogBrowserDialog.__fetchActTriggered">__fetchActTriggered</a></td> |
85 <td>Private slot to fetch changes from a remote repository.</td> |
88 <td>Private slot to fetch changes from a remote repository.</td> |
86 </tr><tr> |
89 </tr><tr> |
87 <td><a href="#HgLogBrowserDialog.__filterLogs">__filterLogs</a></td> |
90 <td><a href="#HgLogBrowserDialog.__filterLogs">__filterLogs</a></td> |
88 <td>Private method to filter the log entries.</td> |
91 <td>Private method to filter the log entries.</td> |
114 <td><a href="#HgLogBrowserDialog.__getClosedBranches">__getClosedBranches</a></td> |
117 <td><a href="#HgLogBrowserDialog.__getClosedBranches">__getClosedBranches</a></td> |
115 <td>Private method to get the list of closed branches.</td> |
118 <td>Private method to get the list of closed branches.</td> |
116 </tr><tr> |
119 </tr><tr> |
117 <td><a href="#HgLogBrowserDialog.__getColor">__getColor</a></td> |
120 <td><a href="#HgLogBrowserDialog.__getColor">__getColor</a></td> |
118 <td>Private method to get the (rotating) name of the color given an index.</td> |
121 <td>Private method to get the (rotating) name of the color given an index.</td> |
|
122 </tr><tr> |
|
123 <td><a href="#HgLogBrowserDialog.__getHeads">__getHeads</a></td> |
|
124 <td>Private method to get the list of all heads.</td> |
119 </tr><tr> |
125 </tr><tr> |
120 <td><a href="#HgLogBrowserDialog.__getLogEntries">__getLogEntries</a></td> |
126 <td><a href="#HgLogBrowserDialog.__getLogEntries">__getLogEntries</a></td> |
121 <td>Private method to retrieve log entries from the repository.</td> |
127 <td>Private method to retrieve log entries from the repository.</td> |
122 </tr><tr> |
128 </tr><tr> |
123 <td><a href="#HgLogBrowserDialog.__getParents">__getParents</a></td> |
129 <td><a href="#HgLogBrowserDialog.__getParents">__getParents</a></td> |
323 <table> |
329 <table> |
324 <tr><td>None</td></tr> |
330 <tr><td>None</td></tr> |
325 </table> |
331 </table> |
326 <a NAME="HgLogBrowserDialog.__init__" ID="HgLogBrowserDialog.__init__"></a> |
332 <a NAME="HgLogBrowserDialog.__init__" ID="HgLogBrowserDialog.__init__"></a> |
327 <h4>HgLogBrowserDialog (Constructor)</h4> |
333 <h4>HgLogBrowserDialog (Constructor)</h4> |
328 <b>HgLogBrowserDialog</b>(<i>vcs, mode="log", parent=None</i>) |
334 <b>HgLogBrowserDialog</b>(<i>vcs, mode="", parent=None</i>) |
329 <p> |
335 <p> |
330 Constructor |
336 Constructor |
331 </p><dl> |
337 </p><dl> |
332 <dt><i>vcs</i></dt> |
338 <dt><i>vcs</i> (Hg)</dt> |
333 <dd> |
339 <dd> |
334 reference to the vcs object |
340 reference to the vcs object |
335 </dd><dt><i>mode</i></dt> |
341 </dd><dt><i>mode</i> (str (one of log, full_log, incoming, outgoing))</dt> |
336 <dd> |
342 <dd> |
337 mode of the dialog (string; one of log, incoming, outgoing) |
343 mode of the dialog |
338 </dd><dt><i>parent</i></dt> |
344 </dd><dt><i>parent</i> (QWidget)</dt> |
339 <dd> |
345 <dd> |
340 parent widget (QWidget) |
346 parent widget |
341 </dd> |
347 </dd> |
342 </dl><a NAME="HgLogBrowserDialog.__actionMode" ID="HgLogBrowserDialog.__actionMode"></a> |
348 </dl><a NAME="HgLogBrowserDialog.__actionMode" ID="HgLogBrowserDialog.__actionMode"></a> |
343 <h4>HgLogBrowserDialog.__actionMode</h4> |
349 <h4>HgLogBrowserDialog.__actionMode</h4> |
344 <b>__actionMode</b>(<i></i>) |
350 <b>__actionMode</b>(<i></i>) |
345 <p> |
351 <p> |
400 </dl><a NAME="HgLogBrowserDialog.__bundleActTriggered" ID="HgLogBrowserDialog.__bundleActTriggered"></a> |
406 </dl><a NAME="HgLogBrowserDialog.__bundleActTriggered" ID="HgLogBrowserDialog.__bundleActTriggered"></a> |
401 <h4>HgLogBrowserDialog.__bundleActTriggered</h4> |
407 <h4>HgLogBrowserDialog.__bundleActTriggered</h4> |
402 <b>__bundleActTriggered</b>(<i></i>) |
408 <b>__bundleActTriggered</b>(<i></i>) |
403 <p> |
409 <p> |
404 Private slot to create a changegroup file. |
410 Private slot to create a changegroup file. |
|
411 </p><a NAME="HgLogBrowserDialog.__closeHeadsActTriggered" ID="HgLogBrowserDialog.__closeHeadsActTriggered"></a> |
|
412 <h4>HgLogBrowserDialog.__closeHeadsActTriggered</h4> |
|
413 <b>__closeHeadsActTriggered</b>(<i></i>) |
|
414 <p> |
|
415 Private slot to close the selected head revisions. |
405 </p><a NAME="HgLogBrowserDialog.__fetchActTriggered" ID="HgLogBrowserDialog.__fetchActTriggered"></a> |
416 </p><a NAME="HgLogBrowserDialog.__fetchActTriggered" ID="HgLogBrowserDialog.__fetchActTriggered"></a> |
406 <h4>HgLogBrowserDialog.__fetchActTriggered</h4> |
417 <h4>HgLogBrowserDialog.__fetchActTriggered</h4> |
407 <b>__fetchActTriggered</b>(<i></i>) |
418 <b>__fetchActTriggered</b>(<i></i>) |
408 <p> |
419 <p> |
409 Private slot to fetch changes from a remote repository. |
420 Private slot to fetch changes from a remote repository. |
483 between the given node and its parents |
494 between the given node and its parents |
484 (integer, integer, [(integer, integer, integer), ...]) |
495 (integer, integer, [(integer, integer, integer), ...]) |
485 </dd> |
496 </dd> |
486 </dl><a NAME="HgLogBrowserDialog.__generateIcon" ID="HgLogBrowserDialog.__generateIcon"></a> |
497 </dl><a NAME="HgLogBrowserDialog.__generateIcon" ID="HgLogBrowserDialog.__generateIcon"></a> |
487 <h4>HgLogBrowserDialog.__generateIcon</h4> |
498 <h4>HgLogBrowserDialog.__generateIcon</h4> |
488 <b>__generateIcon</b>(<i>column, color, bottomedges, topedges, dotColor, currentRev, closed</i>) |
499 <b>__generateIcon</b>(<i>column, color, bottomedges, topedges, dotColor, currentRev, closed, isDraft</i>) |
489 <p> |
500 <p> |
490 Private method to generate an icon containing the revision tree for the |
501 Private method to generate an icon containing the revision tree for the |
491 given data. |
502 given data. |
492 </p><dl> |
503 </p><dl> |
493 <dt><i>column</i></dt> |
504 <dt><i>column</i> (int)</dt> |
494 <dd> |
505 <dd> |
495 column index of the revision (integer) |
506 column index of the revision |
496 </dd><dt><i>color</i></dt> |
507 </dd><dt><i>color</i> (int)</dt> |
497 <dd> |
508 <dd> |
498 color of the node (integer) |
509 color of the node |
499 </dd><dt><i>bottomedges</i></dt> |
510 </dd><dt><i>bottomedges</i> (list of tuples of (int, int, int))</dt> |
500 <dd> |
511 <dd> |
501 list of edges for the bottom of the node |
512 list of edges for the bottom of the node |
502 (list of tuples of three integers) |
513 </dd><dt><i>topedges</i> (list of tuples of (int, int, int))</dt> |
503 </dd><dt><i>topedges</i></dt> |
|
504 <dd> |
514 <dd> |
505 list of edges for the top of the node |
515 list of edges for the top of the node |
506 (list of tuples of three integers) |
516 </dd><dt><i>dotColor</i> (QColor)</dt> |
507 </dd><dt><i>dotColor</i></dt> |
517 <dd> |
508 <dd> |
518 color to be used for the dot |
509 color to be used for the dot (QColor) |
519 </dd><dt><i>currentRev</i> (bool)</dt> |
510 </dd><dt><i>currentRev</i></dt> |
|
511 <dd> |
520 <dd> |
512 flag indicating to draw the icon for the |
521 flag indicating to draw the icon for the |
513 current revision (boolean) |
522 current revision |
514 </dd><dt><i>closed</i></dt> |
523 </dd><dt><i>closed</i> (bool)</dt> |
515 <dd> |
524 <dd> |
516 flag indicating to draw an icon for a closed |
525 flag indicating to draw an icon for a closed |
517 branch (boolean) |
526 branch |
|
527 </dd><dt><i>isDraft</i> (bool)</dt> |
|
528 <dd> |
|
529 flag indicating an entry of phase 'draft' |
518 </dd> |
530 </dd> |
519 </dl><dl> |
531 </dl><dl> |
520 <dt>Returns:</dt> |
532 <dt>Returns:</dt> |
521 <dd> |
533 <dd> |
522 icon for the node (QIcon) |
534 icon for the node |
|
535 </dd> |
|
536 </dl><dl> |
|
537 <dt>Return Type:</dt> |
|
538 <dd> |
|
539 QIcon |
523 </dd> |
540 </dd> |
524 </dl><a NAME="HgLogBrowserDialog.__generateLogItem" ID="HgLogBrowserDialog.__generateLogItem"></a> |
541 </dl><a NAME="HgLogBrowserDialog.__generateLogItem" ID="HgLogBrowserDialog.__generateLogItem"></a> |
525 <h4>HgLogBrowserDialog.__generateLogItem</h4> |
542 <h4>HgLogBrowserDialog.__generateLogItem</h4> |
526 <b>__generateLogItem</b>(<i>author, date, message, revision, changedPaths, parents, branches, tags, phase, bookmarks, latestTag</i>) |
543 <b>__generateLogItem</b>(<i>author, date, message, revision, changedPaths, parents, branches, tags, phase, bookmarks, latestTag</i>) |
527 <p> |
544 <p> |
1033 <dd> |
1055 <dd> |
1034 flag indicating the status of the check box (boolean) |
1056 flag indicating the status of the check box (boolean) |
1035 </dd> |
1057 </dd> |
1036 </dl><a NAME="HgLogBrowserDialog.on_refreshButton_clicked" ID="HgLogBrowserDialog.on_refreshButton_clicked"></a> |
1058 </dl><a NAME="HgLogBrowserDialog.on_refreshButton_clicked" ID="HgLogBrowserDialog.on_refreshButton_clicked"></a> |
1037 <h4>HgLogBrowserDialog.on_refreshButton_clicked</h4> |
1059 <h4>HgLogBrowserDialog.on_refreshButton_clicked</h4> |
1038 <b>on_refreshButton_clicked</b>(<i></i>) |
1060 <b>on_refreshButton_clicked</b>(<i>addNext=False</i>) |
1039 <p> |
1061 <p> |
1040 Private slot to refresh the log. |
1062 Private slot to refresh the log. |
1041 </p><a NAME="HgLogBrowserDialog.on_rxEdit_returnPressed" ID="HgLogBrowserDialog.on_rxEdit_returnPressed"></a> |
1063 </p><dl> |
|
1064 <dt><i>addNext</i> (bool)</dt> |
|
1065 <dd> |
|
1066 flag indicating to get a second batch of log entries as |
|
1067 well |
|
1068 </dd> |
|
1069 </dl><a NAME="HgLogBrowserDialog.on_rxEdit_returnPressed" ID="HgLogBrowserDialog.on_rxEdit_returnPressed"></a> |
1042 <h4>HgLogBrowserDialog.on_rxEdit_returnPressed</h4> |
1070 <h4>HgLogBrowserDialog.on_rxEdit_returnPressed</h4> |
1043 <b>on_rxEdit_returnPressed</b>(<i></i>) |
1071 <b>on_rxEdit_returnPressed</b>(<i></i>) |
1044 <p> |
1072 <p> |
1045 Private slot handling a press of the Return key in the rxEdit input. |
1073 Private slot handling a press of the Return key in the rxEdit input. |
1046 </p><a NAME="HgLogBrowserDialog.on_rxEdit_textChanged" ID="HgLogBrowserDialog.on_rxEdit_textChanged"></a> |
1074 </p><a NAME="HgLogBrowserDialog.on_rxEdit_textChanged" ID="HgLogBrowserDialog.on_rxEdit_textChanged"></a> |