683 """ |
682 """ |
684 Private method to generate an icon containing the revision tree for the |
683 Private method to generate an icon containing the revision tree for the |
685 given data. |
684 given data. |
686 |
685 |
687 @param column column index of the revision |
686 @param column column index of the revision |
688 @type int |
|
689 @param color color of the node |
|
690 @type int |
687 @type int |
691 @param bottomedges list of edges for the bottom of the node |
688 @param bottomedges list of edges for the bottom of the node |
692 @type list of tuples of (int, int, int) |
689 @type list of tuples of (int, int, int) |
693 @param topedges list of edges for the top of the node |
690 @param topedges list of edges for the top of the node |
694 @type list of tuples of (int, int, int) |
691 @type list of tuples of (int, int, int) |
1030 else None |
1027 else None |
1031 ) |
1028 ) |
1032 |
1029 |
1033 icon = self.__generateIcon( |
1030 icon = self.__generateIcon( |
1034 column, |
1031 column, |
1035 color, |
|
1036 edges, |
1032 edges, |
1037 topedges, |
1033 topedges, |
1038 QColor(self.__branchColor(branches[0])), |
1034 QColor(self.__branchColor(branches[0])), |
1039 rev in self.__projectWorkingDirParents, |
1035 rev in self.__projectWorkingDirParents, |
1040 rev in self.__closedBranchesRevs, |
1036 rev in self.__closedBranchesRevs, |