Пример #1
0
 def mouseReleaseEvent(self, e):
     QGraphicsPathItem.mouseReleaseEvent(self, e)
     if self._mode == ADD:
         self.set_mode()