756 def col2x(col, radius): |
756 def col2x(col, radius): |
757 """ |
757 """ |
758 Local function to calculate a x-position for a column. |
758 Local function to calculate a x-position for a column. |
759 |
759 |
760 @param col column number |
760 @param col column number |
761 @type int |
761 @type int |
762 @param radius radius of the indicator circle |
762 @param radius radius of the indicator circle |
763 @type int |
763 @type int |
764 """ |
764 """ |
765 return int(1.2 * radius) * col + radius // 2 + 3 |
765 return int(1.2 * radius) * col + radius // 2 + 3 |
766 |
766 |
767 textColor = self.logTree.palette().color(QPalette.ColorRole.Text) |
767 textColor = self.logTree.palette().color(QPalette.ColorRole.Text) |
768 |
768 |