31 from python_qt_binding.QtGui
import QColor, QFont
32 from python_qt_binding.QtWidgets
import QGraphicsItemGroup
37 _COLOR_BLACK = QColor(0, 0, 0)
38 _COLOR_BLUE = QColor(0, 0, 204)
39 _COLOR_GREEN = QColor(0, 170, 0)
40 _COLOR_ORANGE = QColor(255, 165, 0)
41 _COLOR_RED = QColor(255, 0, 0)
42 _COLOR_TEAL = QColor(0, 170, 170)
44 _LABEL_FONT = QFont(
'sans', weight=QFont.Light)
46 def __init__(self, highlight_level, parent=None):
47 super(GraphItem, self).
__init__(parent)
50 GraphItem._LABEL_FONT.setPixelSize(11)