def METHOD_NAME(self, p, *args):
    p.setRenderHint(QtGui.QPainter.RenderHint.Antialiasing)
    super().METHOD_NAME(p, *args)
    #p.setPen(fn.mkPen('r'))
    #p.setBrush(fn.mkBrush(None))
    #p.drawRect(self.boundingRect())