示例#1
0
 def setClusterRotation(o, rotation):
     o._clusterRotation = rotation
     angle_deg = rotation * (-360. / o.rotations)
     QGraphicsWidget.setRotation(o, angle_deg)
     for item in o.childItems():
         item.updateRotation(angle_deg)