PDA

View Full Version : Altering touchevent coordinates and re-determening the reciever obj.



Lurven
1st August 2010, 08:20
Hey all

Because of clipping on the display of my toucharea I need to manipulate all the touchevent's that arrivesto the application. Touch events are generated by TUIO-signals sent from the board to win 7. Basically alter the coordinates by an offset.
I wondered if it was possible to intercept the touchevents and alter their pos. But also since I'm going to alter the position I need to re-determine which obj. is the reciever.
I've been looking up on re-implementing qApp:notify() & eventfilters ect. but it already seems the reciever is determined. Is it possible to grab the event before it get's an reciever?

I'm at a loss on how I should solve this the best way.