Exemple #1
0
 def painterPath(self):
     p = QPainterPath()
     a = self.boundingRect()
     a.moveTo(self.state['pos'])
     p.addEllipse(a)
     return p
Exemple #2
0
 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
Exemple #3
0
 def painterPath(self):
     p = QPainterPath()
     a = self.boundingRect()
     a.moveTo(self.state['pos'])
     p.addEllipse(a)
     return p
Exemple #4
0
 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