[Kde-games-devel] KGameIO (Was: Re: KGame/KPlayer API usability in kdegames)

Dmitry Suzdalev dimsuz at gmail.com
Thu Jul 13 20:43:25 CEST 2006


Hil!

Just got the solution to this nasty QGraphicsView+eventFilter() problem from 
Simon Hausmann:

> QGraphicsView is a QAbstractScrollArea, where the events are actually
> received by the viewport widget. So just installing the event filter on the
> viewport (m_myGraphicsView->viewport()->installEventFilter(...);) should
> make things work for you :)

:-) I should've guessed myself. I remember I experienced this problem in one 
of my Qt apps and managed to find this solution :).
Thanks to Simon! :)

I'll try that tomorrow - when I get to work.

Dmitry.


More information about the kde-games-devel mailing list