Qt event filtering test