def painterPath(self): p = QPainterPath() a = self.boundingRect() a.moveTo(self.state['pos']) p.addEllipse(a) return p
def painterPath(self): p = self.state['pos'] s = self.state['size'] path = QPainterPath() path.addEllipse(QtCore.QRectF(p[0], p[1], s[0], s[1])) return path
def painterPath(self): p = QPainterPath() a = self.boundingRect() a.moveTo(self.state['pos']) p.addEllipse(a) return p
def painterPath(self): p = self.state['pos'] s = self.state['size'] path = QPainterPath() path.addEllipse(QtCore.QRectF(p[0], p[1], s[0], s[1])) return path