Gesture event simulation
-
Hi, myself trying to simulate gesture events in qt.I have done the code in qt like this below and tested with the html page http://padilicious.com/code/touchevents/basicswipe.html.
@ QSwipeGesture *swip=new QSwipeGesture();
swip->horizontalDirection() == QSwipeGesture::Left;
QList<QGesture *> list=QList<QGesture *>()<<swip;
QGestureEvent *event_ges=new QGestureEvent(list);
QApplication::postEvent(view, event_ges);
@But it is not working..please explain