Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML SwipeView two-finger swipe
Qt 6.12 LTS is out! See what's new in the release blog

QML SwipeView two-finger swipe

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 645 Views
  • 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.
  • W Offline
    W Offline
    waltonjb
    wrote on last edited by
    #1

    How can I achieve a gesture control with two fingers instead of only one finger in a SwipView.

    Rational: If the SwipeView has for example an included map page or a ListView with SwipeDelegate or any other Component that has the same single finger swipe gesture, then the gesture controls collide.

    In iOS swift the UIScrollView is kind of comparable to the SwipeView in QML. Here the trick is:

    myScrollView.panGestureRecognizer.minimumNumberOfTouches = 2;
    
    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
    • Unsolved