PDA

View Full Version : issue in detecting swipe events



psioka
26th July 2016, 16:10
hello,
I need help.!
my need is to be able to swipe a page in IOS/Android using only ONE finger (It seems that regular qt swipe recogniser only works with three fingers). to do this i have written my own recogniser. It works ok I can swipe my pages. But the issue I have is theat I cannot click on a button, or select a text field (have the virtual keyboard displayed) to write in it. The only way to click or select is to slightly swipe the touch(less than the treshold to not swipe the page).
How can I have the events which are not used as swippe being used for inheriting objects.
I think it has something to do with accepting or not the events depending on if it is recognised as a swipe or not, but I cannot see where is the issue
attached is my recogniser code which is very basic:

thanks for your help.