[PyQt] Re: Filter mouse move event

LF lucafasano at interfree.it
Mon Apr 6 09:31:17 BST 2009


> > > Hi list,
> > > I need to filter mouse moving event on a QGraphicsView. I created a
> > > filter and install it to a QGraphicsView instance, but desired event
> > > seems not to be captured.

>         self.graphicsview.installEventFilter(self.filter)


I try to answer to myself. Perhaps I have to install event filter to scene
instead of to view. In this way seeme to work.


Anyway thanks a lot Arnold.

Luca









More information about the PyQt mailing list