PDA

View Full Version : QGraphicsView Handling Child Event



arjunasd
8th August 2007, 22:27
Hi

I want to handle some of the child events at the parent item level. Since I have many childs for a particular parent, I want to know the child which initially received the event.

I can get it from the event->pos() and checking which item lies in that spot.

I was just wondering if this is the best approach or there is some other way?

Thanks
Arjun

wysota
9th August 2007, 00:32
You might apply a sceneEventFilter on particular items and have that info given to you on a silver plater.