code: def _get_brush(self, color):
          
          result = self._brushes.get(color)
          if result is None:
              qcolor = self._get_color(color)
              result = QtGui.QBrush(qcolor)
              self._brushes[color] = result
          return result
docs: Returns a brush for the color.