[PyQt] PyQt5 Alternative to setHandlesChildEvents
annex12 at hotmail.com
Sat Jul 22 23:29:42 BST 2017
I have been porting a PyQt4 application to use PyQt5. Everything seems to work fine apart from one thing: setHandlesChildEvents is now obsolete with QGraphicsItemGroup meaning I can no longer pick up on click events on my items within a group.
What is the alternative approach with PyQt5? I have tried replacing it with self.MyGroup.setFiltersChildEvents(False) but this has no effect.
Thanks for any guidance,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt