second and third circle
This commit is contained in:
@@ -10,9 +10,9 @@ class SphereGraphicsItem(QGraphicsEllipseItem):
|
||||
super().__init__(self.SPHERE_WIDTH/2, self.SPHERE_WIDTH/2, self.SPHERE_WIDTH, self.SPHERE_WIDTH)
|
||||
print(f"sphere at {x_pos}:{y_pos}")
|
||||
self.setPos(x_pos, y_pos)
|
||||
brush = QBrush(Qt.GlobalColor.blue)
|
||||
brush = QBrush(Qt.GlobalColor.darkBlue)
|
||||
self.setBrush(brush)
|
||||
pen = QPen(Qt.GlobalColor.green)
|
||||
pen = QPen(Qt.GlobalColor.blue)
|
||||
pen.setWidth(3)
|
||||
self.setPen(pen)
|
||||
self.show()
|
||||
|
||||
Reference in New Issue
Block a user