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

    @ 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

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.