src/eric7/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py

branch
eric7
changeset 10069
435cc5875135
parent 9653
e67609152c5e
child 10214
de0718b80010
equal deleted inserted replaced
10068:7febcdccb2a1 10069:435cc5875135
670 return col, color, edges 670 return col, color, edges
671 671
672 def __generateIcon( 672 def __generateIcon(
673 self, 673 self,
674 column, 674 column,
675 color,
676 bottomedges, 675 bottomedges,
677 topedges, 676 topedges,
678 dotColor, 677 dotColor,
679 currentRev, 678 currentRev,
680 closed, 679 closed,
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,

eric ide

mercurial