Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Mouse drag/swipe event in qt
sarahjohn last edited by
I need to know a mouse event drag can be detected in qt.I need to give swipe events in qwebview.I tried mouseDragEnter and leave event ,but its gets called only if I selected an item and drag. I simply need to drag mouse like drag to see photos in a slideshow . I am using QApplication::postEvent() method to post events to qwebview. I have the mouse start position ,end position and the velocity .How it is possible to give such a drag/swipe event to my widget.