PDA

View Full Version : setHandlesChildEvents() obsolete?



SvenA
12th September 2016, 09:41
Hello!

I just saw that the setHandlesChildEvents() function is marked obsolete.

In the help texts the other obsolete functions have a hint what function I should use instead.
This information is missing here.

What function or programming style should I use instead?

Regards
Sven

wysota
12th September 2016, 16:29
I don't know if this is the recommended approach but you can install a scene event filter on child items to handle their events (QGraphicsItem::installSceneEventFilter()).