323 <table> |
323 <table> |
324 <tr><td>None</td></tr> |
324 <tr><td>None</td></tr> |
325 </table> |
325 </table> |
326 <a NAME="HgLogBrowserDialog.__init__" ID="HgLogBrowserDialog.__init__"></a> |
326 <a NAME="HgLogBrowserDialog.__init__" ID="HgLogBrowserDialog.__init__"></a> |
327 <h4>HgLogBrowserDialog (Constructor)</h4> |
327 <h4>HgLogBrowserDialog (Constructor)</h4> |
328 <b>HgLogBrowserDialog</b>(<i>vcs, mode="log", parent=None</i>) |
328 <b>HgLogBrowserDialog</b>(<i>vcs, mode="", parent=None</i>) |
329 <p> |
329 <p> |
330 Constructor |
330 Constructor |
331 </p><dl> |
331 </p><dl> |
332 <dt><i>vcs</i></dt> |
332 <dt><i>vcs</i> (Hg)</dt> |
333 <dd> |
333 <dd> |
334 reference to the vcs object |
334 reference to the vcs object |
335 </dd><dt><i>mode</i></dt> |
335 </dd><dt><i>mode</i> (str (one of log, full_log, incoming, outgoing))</dt> |
336 <dd> |
336 <dd> |
337 mode of the dialog (string; one of log, incoming, outgoing) |
337 mode of the dialog |
338 </dd><dt><i>parent</i></dt> |
338 </dd><dt><i>parent</i> (QWidget)</dt> |
339 <dd> |
339 <dd> |
340 parent widget (QWidget) |
340 parent widget |
341 </dd> |
341 </dd> |
342 </dl><a NAME="HgLogBrowserDialog.__actionMode" ID="HgLogBrowserDialog.__actionMode"></a> |
342 </dl><a NAME="HgLogBrowserDialog.__actionMode" ID="HgLogBrowserDialog.__actionMode"></a> |
343 <h4>HgLogBrowserDialog.__actionMode</h4> |
343 <h4>HgLogBrowserDialog.__actionMode</h4> |
344 <b>__actionMode</b>(<i></i>) |
344 <b>__actionMode</b>(<i></i>) |
345 <p> |
345 <p> |
483 between the given node and its parents |
483 between the given node and its parents |
484 (integer, integer, [(integer, integer, integer), ...]) |
484 (integer, integer, [(integer, integer, integer), ...]) |
485 </dd> |
485 </dd> |
486 </dl><a NAME="HgLogBrowserDialog.__generateIcon" ID="HgLogBrowserDialog.__generateIcon"></a> |
486 </dl><a NAME="HgLogBrowserDialog.__generateIcon" ID="HgLogBrowserDialog.__generateIcon"></a> |
487 <h4>HgLogBrowserDialog.__generateIcon</h4> |
487 <h4>HgLogBrowserDialog.__generateIcon</h4> |
488 <b>__generateIcon</b>(<i>column, color, bottomedges, topedges, dotColor, currentRev, closed</i>) |
488 <b>__generateIcon</b>(<i>column, color, bottomedges, topedges, dotColor, currentRev, closed, isDraft</i>) |
489 <p> |
489 <p> |
490 Private method to generate an icon containing the revision tree for the |
490 Private method to generate an icon containing the revision tree for the |
491 given data. |
491 given data. |
492 </p><dl> |
492 </p><dl> |
493 <dt><i>column</i></dt> |
493 <dt><i>column</i> (int)</dt> |
494 <dd> |
494 <dd> |
495 column index of the revision (integer) |
495 column index of the revision |
496 </dd><dt><i>color</i></dt> |
496 </dd><dt><i>color</i> (int)</dt> |
497 <dd> |
497 <dd> |
498 color of the node (integer) |
498 color of the node |
499 </dd><dt><i>bottomedges</i></dt> |
499 </dd><dt><i>bottomedges</i> (list of tuples of (int, int, int))</dt> |
500 <dd> |
500 <dd> |
501 list of edges for the bottom of the node |
501 list of edges for the bottom of the node |
502 (list of tuples of three integers) |
502 </dd><dt><i>topedges</i> (list of tuples of (int, int, int))</dt> |
503 </dd><dt><i>topedges</i></dt> |
|
504 <dd> |
503 <dd> |
505 list of edges for the top of the node |
504 list of edges for the top of the node |
506 (list of tuples of three integers) |
505 </dd><dt><i>dotColor</i> (QColor)</dt> |
507 </dd><dt><i>dotColor</i></dt> |
506 <dd> |
508 <dd> |
507 color to be used for the dot |
509 color to be used for the dot (QColor) |
508 </dd><dt><i>currentRev</i> (bool)</dt> |
510 </dd><dt><i>currentRev</i></dt> |
|
511 <dd> |
509 <dd> |
512 flag indicating to draw the icon for the |
510 flag indicating to draw the icon for the |
513 current revision (boolean) |
511 current revision |
514 </dd><dt><i>closed</i></dt> |
512 </dd><dt><i>closed</i> (bool)</dt> |
515 <dd> |
513 <dd> |
516 flag indicating to draw an icon for a closed |
514 flag indicating to draw an icon for a closed |
517 branch (boolean) |
515 branch |
|
516 </dd><dt><i>isDraft</i> (bool)</dt> |
|
517 <dd> |
|
518 flag indicating an entry of phase 'draft' |
518 </dd> |
519 </dd> |
519 </dl><dl> |
520 </dl><dl> |
520 <dt>Returns:</dt> |
521 <dt>Returns:</dt> |
521 <dd> |
522 <dd> |
522 icon for the node (QIcon) |
523 icon for the node |
|
524 </dd> |
|
525 </dl><dl> |
|
526 <dt>Return Type:</dt> |
|
527 <dd> |
|
528 QIcon |
523 </dd> |
529 </dd> |
524 </dl><a NAME="HgLogBrowserDialog.__generateLogItem" ID="HgLogBrowserDialog.__generateLogItem"></a> |
530 </dl><a NAME="HgLogBrowserDialog.__generateLogItem" ID="HgLogBrowserDialog.__generateLogItem"></a> |
525 <h4>HgLogBrowserDialog.__generateLogItem</h4> |
531 <h4>HgLogBrowserDialog.__generateLogItem</h4> |
526 <b>__generateLogItem</b>(<i>author, date, message, revision, changedPaths, parents, branches, tags, phase, bookmarks, latestTag</i>) |
532 <b>__generateLogItem</b>(<i>author, date, message, revision, changedPaths, parents, branches, tags, phase, bookmarks, latestTag</i>) |
527 <p> |
533 <p> |
1033 <dd> |
1039 <dd> |
1034 flag indicating the status of the check box (boolean) |
1040 flag indicating the status of the check box (boolean) |
1035 </dd> |
1041 </dd> |
1036 </dl><a NAME="HgLogBrowserDialog.on_refreshButton_clicked" ID="HgLogBrowserDialog.on_refreshButton_clicked"></a> |
1042 </dl><a NAME="HgLogBrowserDialog.on_refreshButton_clicked" ID="HgLogBrowserDialog.on_refreshButton_clicked"></a> |
1037 <h4>HgLogBrowserDialog.on_refreshButton_clicked</h4> |
1043 <h4>HgLogBrowserDialog.on_refreshButton_clicked</h4> |
1038 <b>on_refreshButton_clicked</b>(<i></i>) |
1044 <b>on_refreshButton_clicked</b>(<i>addNext=False</i>) |
1039 <p> |
1045 <p> |
1040 Private slot to refresh the log. |
1046 Private slot to refresh the log. |
1041 </p><a NAME="HgLogBrowserDialog.on_rxEdit_returnPressed" ID="HgLogBrowserDialog.on_rxEdit_returnPressed"></a> |
1047 </p><dl> |
|
1048 <dt><i>addNext</i> (bool)</dt> |
|
1049 <dd> |
|
1050 flag indicating to get a second batch of log entries as |
|
1051 well |
|
1052 </dd> |
|
1053 </dl><a NAME="HgLogBrowserDialog.on_rxEdit_returnPressed" ID="HgLogBrowserDialog.on_rxEdit_returnPressed"></a> |
1042 <h4>HgLogBrowserDialog.on_rxEdit_returnPressed</h4> |
1054 <h4>HgLogBrowserDialog.on_rxEdit_returnPressed</h4> |
1043 <b>on_rxEdit_returnPressed</b>(<i></i>) |
1055 <b>on_rxEdit_returnPressed</b>(<i></i>) |
1044 <p> |
1056 <p> |
1045 Private slot handling a press of the Return key in the rxEdit input. |
1057 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> |
1058 </p><a NAME="HgLogBrowserDialog.on_rxEdit_textChanged" ID="HgLogBrowserDialog.on_rxEdit_textChanged"></a> |