Thnks for your example talk2amulya, I get the picture.
Also I've been reading Qt4 book and the solution is easier than the event filter, I implemente the event function and compare the event type to WindowDeactivate event, like this:
Qt Code:
{ { if (TimerRotate != 0) { killTimer(TimerRotate); TimerRotate = 0; } } }To copy to clipboard, switch view to plain text mode
It Works !!!!!!!!!!!!!!!!!!!!![]()
Bookmarks