Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved Recognizing swipe gestures

    QML and Qt Quick
    1
    1
    133
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      Pswin last edited by

      How I can recognize swipe gestures in QML?

      I searched and I found some solutions like:
      https://doc.qt.io/qt-5/qtcanvas3d-threejs-oneqt-swipearea-qml.html
      and
      https://gist.github.com/strezh/8113428
      https://github.com/GarageGames/Qt/blob/master/qt-5/qtcanvas3d/examples/canvas3d/canvas3d/threejs/oneqt/SwipeArea.qml

      but they do not act as natural as they should. What I mean is that they all are based on how much the user moved the pointer(mouse or finger) in a specific direction (how much the X and the Y axis of the pointer are changed). However, the user's movement could be very short but fast. What I mean is that they do not recognize the little but fast movements of the users.

      is there any solution in QML for this? or I have to write my own code?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post