class_docstr: Class responsible for drawing a single item in a LegendItem (sans label)
      
class_docstr_tok: ["Class","responsible","for","drawing","a","single","item","in","a","LegendItem","(","sans","label",")"]
code: def __init__(self, item):
      GraphicsWidget.__init__(self)
      self.item = item
  
imports: import math
  from ..None import functions
  from ..icons import invisibleEye
  from ..Point import Point
  from ..Qt import QtCore, QtGui, QtWidgets
  from .BarGraphItem import BarGraphItem
  from .GraphicsWidget import GraphicsWidget
  from .GraphicsWidgetAnchor import GraphicsWidgetAnchor
  from .LabelItem import LabelItem
  from .PlotDataItem import PlotDataItem
  from .ScatterPlotItem import ScatterPlotItem, drawSymbol
label_desc: Use image node_id 1 to create a new ItemSample object from inherited base classes: GraphicsWidget with example: obj = ItemSample(item)