def METHOD_NAME(self, s=2):
    size = self.size
    self.circle = QtGui.QPainterPath()
    self.circle.addEllipse(QtCore.QRectF(-size, -size, size * s, size * s))
    self.square = QtGui.QPainterPath()
    self.square.addRect(QtCore.QRectF(-size, -size, size * s, size * s))
    self.setPath(self.square if self.hovering else self.circle)