PDA

View Full Version : input raw data



Marina K.
14th May 2011, 15:51
Hi,

please, can someone suggest me what Qt class implementations should I research to learn how get touched raw input data?
My intention is to paint all touched pixels on device screen. I've spent a lot of time in investigating this problem and didn't find solution. Is there any good literature, open source code which i can study to learn how do this?

Thank you for the answers :)

Marina

wysota
17th May 2011, 01:19
If you really want raw data then this is platform dependent and it's best to dig into the native API. If, on the other hand, you are just interested in access to touch data (not raw) then simply intercept all QTouchEvent objects in your app, for example by applying an event filter on the application object.

Marina K.
17th May 2011, 17:28
If you really want raw data then this is platform dependent and it's best to dig into the native API. If, on the other hand, you are just interested in access to touch data (not raw) then simply intercept all QTouchEvent objects in your app, for example by applying an event filter on the application object.

Thank you very much! I will dig into native API :)