587 <dd> |
587 <dd> |
588 list of parent revisions (list of integers) |
588 list of parent revisions (list of integers) |
589 </dd> |
589 </dd> |
590 </dl> |
590 </dl> |
591 <dl> |
591 <dl> |
592 <dt>Returns:</dt> |
592 <dt>Return:</dt> |
593 <dd> |
593 <dd> |
594 tuple containing the column and color index for |
594 tuple containing the column and color index for |
595 the given node and a list of tuples indicating the edges |
595 the given node and a list of tuples indicating the edges |
596 between the given node and its parents |
596 between the given node and its parents |
597 (integer, integer, [(integer, integer, integer), ...]) |
597 (integer, integer, [(integer, integer, integer), ...]) |
598 </dd> |
598 </dd> |
599 </dl> |
599 </dl> |
600 <a NAME="HgLogBrowserDialog.__generateIcon" ID="HgLogBrowserDialog.__generateIcon"></a> |
600 <a NAME="HgLogBrowserDialog.__generateIcon" ID="HgLogBrowserDialog.__generateIcon"></a> |
601 <h4>HgLogBrowserDialog.__generateIcon</h4> |
601 <h4>HgLogBrowserDialog.__generateIcon</h4> |
602 <b>__generateIcon</b>(<i>column, color, bottomedges, topedges, dotColor, currentRev, closed, isDraft</i>) |
602 <b>__generateIcon</b>(<i>column, color, bottomedges, topedges, dotColor, currentRev, closed, isPushableDraft</i>) |
603 |
603 |
604 <p> |
604 <p> |
605 Private method to generate an icon containing the revision tree for the |
605 Private method to generate an icon containing the revision tree for the |
606 given data. |
606 given data. |
607 </p> |
607 </p> |
654 QIcon |
655 QIcon |
655 </dd> |
656 </dd> |
656 </dl> |
657 </dl> |
657 <a NAME="HgLogBrowserDialog.__generateLogItem" ID="HgLogBrowserDialog.__generateLogItem"></a> |
658 <a NAME="HgLogBrowserDialog.__generateLogItem" ID="HgLogBrowserDialog.__generateLogItem"></a> |
658 <h4>HgLogBrowserDialog.__generateLogItem</h4> |
659 <h4>HgLogBrowserDialog.__generateLogItem</h4> |
659 <b>__generateLogItem</b>(<i>author, date, message, revision, changedPaths, parents, branches, tags, phase, bookmarks, latestTag</i>) |
660 <b>__generateLogItem</b>(<i>author, date, message, revision, changedPaths, parents, branches, tags, phase, bookmarks, latestTag, canPush=False</i>) |
660 |
661 |
661 <p> |
662 <p> |
662 Private method to generate a log tree entry. |
663 Private method to generate a log tree entry. |
663 </p> |
664 </p> |
664 <dl> |
665 <dl> |
665 |
666 |
666 <dt><i>author</i></dt> |
667 <dt><i>author</i> (str)</dt> |
667 <dd> |
668 <dd> |
668 author info (string) |
669 author info |
669 </dd> |
670 </dd> |
670 <dt><i>date</i></dt> |
671 <dt><i>date</i> (str)</dt> |
671 <dd> |
672 <dd> |
672 date info (string) |
673 date info |
673 </dd> |
674 </dd> |
674 <dt><i>message</i></dt> |
675 <dt><i>message</i> (list of str)</dt> |
675 <dd> |
676 <dd> |
676 text of the log message (list of strings) |
677 text of the log message |
677 </dd> |
678 </dd> |
678 <dt><i>revision</i></dt> |
679 <dt><i>revision</i> (str)</dt> |
679 <dd> |
680 <dd> |
680 revision info (string) |
681 revision info |
681 </dd> |
682 </dd> |
682 <dt><i>changedPaths</i></dt> |
683 <dt><i>changedPaths</i> (dict)</dt> |
683 <dd> |
684 <dd> |
684 list of dictionary objects containing |
685 list of dictionary objects containing |
685 info about the changed files/directories |
686 info about the changed files/directories |
686 </dd> |
687 </dd> |
687 <dt><i>parents</i></dt> |
688 <dt><i>parents</i> (list of int)</dt> |
688 <dd> |
689 <dd> |
689 list of parent revisions (list of integers) |
690 list of parent revisions |
690 </dd> |
691 </dd> |
691 <dt><i>branches</i></dt> |
692 <dt><i>branches</i> (list of str)</dt> |
692 <dd> |
693 <dd> |
693 list of branches (list of strings) |
694 list of branches |
694 </dd> |
695 </dd> |
695 <dt><i>tags</i></dt> |
696 <dt><i>tags</i> (str)</dt> |
696 <dd> |
697 <dd> |
697 list of tags (string) |
698 list of tags |
698 </dd> |
699 </dd> |
699 <dt><i>phase</i></dt> |
700 <dt><i>phase</i> (str)</dt> |
700 <dd> |
701 <dd> |
701 phase of the entry (string) |
702 phase of the entry |
702 </dd> |
703 </dd> |
703 <dt><i>bookmarks</i></dt> |
704 <dt><i>bookmarks</i> (str)</dt> |
704 <dd> |
705 <dd> |
705 list of bookmarks (string) |
706 list of bookmarks |
706 </dd> |
707 </dd> |
707 <dt><i>latestTag</i></dt> |
708 <dt><i>latestTag</i> (list of str)</dt> |
708 <dd> |
709 <dd> |
709 the latest tag(s) reachable from the changeset |
710 the latest tag(s) reachable from the changeset |
710 (list of strings) |
711 </dd> |
711 </dd> |
712 <dt><i>canPush</i> (bool)</dt> |
712 </dl> |
713 <dd> |
713 <dl> |
714 flag indicating that changesets can be pushed |
714 <dt>Returns:</dt> |
715 </dd> |
715 <dd> |
716 </dl> |
716 reference to the generated item (QTreeWidgetItem) |
717 <dl> |
|
718 <dt>Return:</dt> |
|
719 <dd> |
|
720 reference to the generated item |
|
721 </dd> |
|
722 </dl> |
|
723 <dl> |
|
724 <dt>Return Type:</dt> |
|
725 <dd> |
|
726 QTreeWidgetItem |
717 </dd> |
727 </dd> |
718 </dl> |
728 </dl> |
719 <a NAME="HgLogBrowserDialog.__generatorFinished" ID="HgLogBrowserDialog.__generatorFinished"></a> |
729 <a NAME="HgLogBrowserDialog.__generatorFinished" ID="HgLogBrowserDialog.__generatorFinished"></a> |
720 <h4>HgLogBrowserDialog.__generatorFinished</h4> |
730 <h4>HgLogBrowserDialog.__generatorFinished</h4> |
721 <b>__generatorFinished</b>(<i></i>) |
731 <b>__generatorFinished</b>(<i></i>) |
1402 <p> |
1412 <p> |
1403 Public slot to show the dialog. |
1413 Public slot to show the dialog. |
1404 </p> |
1414 </p> |
1405 <a NAME="HgLogBrowserDialog.start" ID="HgLogBrowserDialog.start"></a> |
1415 <a NAME="HgLogBrowserDialog.start" ID="HgLogBrowserDialog.start"></a> |
1406 <h4>HgLogBrowserDialog.start</h4> |
1416 <h4>HgLogBrowserDialog.start</h4> |
1407 <b>start</b>(<i>fn, bundle=None, isFile=False, noEntries=0</i>) |
1417 <b>start</b>(<i>name=None, bundle=None, isFile=False, noEntries=0</i>) |
1408 |
1418 |
1409 <p> |
1419 <p> |
1410 Public slot to start the hg log command. |
1420 Public slot to start the hg log command. |
1411 </p> |
1421 </p> |
1412 <dl> |
1422 <dl> |
1413 |
1423 |
1414 <dt><i>fn</i></dt> |
1424 <dt><i>name</i> (str)</dt> |
1415 <dd> |
1425 <dd> |
1416 filename to show the log for (string) |
1426 file/directory name to show the log for |
1417 </dd> |
1427 </dd> |
1418 <dt><i>bundle=</i></dt> |
1428 <dt><i>bundle</i> (str)</dt> |
1419 <dd> |
1429 <dd> |
1420 name of a bundle file (string) |
1430 name of a bundle file |
1421 </dd> |
1431 </dd> |
1422 <dt><i>isFile=</i></dt> |
1432 <dt><i>isFile</i> (bool)</dt> |
1423 <dd> |
1433 <dd> |
1424 flag indicating log for a file is to be shown |
1434 flag indicating log for a file is to be shown |
1425 (boolean) |
1435 </dd> |
1426 </dd> |
1436 <dt><i>noEntries</i> (int)</dt> |
1427 <dt><i>noEntries=</i></dt> |
1437 <dd> |
1428 <dd> |
1438 number of entries to get (0 = default) |
1429 number of entries to get (0 = default) (int) |
|
1430 </dd> |
1439 </dd> |
1431 </dl> |
1440 </dl> |
1432 <div align="right"><a href="#top">Up</a></div> |
1441 <div align="right"><a href="#top">Up</a></div> |
1433 <hr /> |
1442 <hr /> |
1434 </body></html> |
1443 </body></html> |