QGraphicsScene

Luca Bertolotti luca72.bertolotti at gmail.com
Thu May 6 21:24:52 BST 2021


i have as follow:
 self.scena = QGraphicsScene(QRectF(0, 0, 425, 325), self)
  self.scena.installEventFilter(self)

def eventFilter(self, object, event):
     if event.type()== 158 :  #  QEvent::GraphicsSceneMouseMove
            print(object.objectName())
     return 0


i never get the event what is wrong??
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20210506/a55626c6/attachment-0001.htm>


More information about the PyQt mailing list