Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Recognizing swipe gestures
Forum Updated to NodeBB v4.3 + New Features

Recognizing swipe gestures

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 219 Views 1 Watching
  • 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 Offline
    P Offline
    Pswin
    wrote on last edited by
    #1

    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
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved