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. General and Desktop
  4. Handle mouse swipe in SwipeDelegate of ListView
Qt 6.12 LTS is out! See what's new in the release blog

Handle mouse swipe in SwipeDelegate of ListView

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 268 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.
  • C Offline
    C Offline
    cristeab
    wrote on last edited by
    #1

    Hi

    I am trying to add gestures support to ListView items using QML on macOS with Qt 5.12.3. I am able to provide a right delete button for each item with SwipeDelegate, but in the default implementation the gesture is detected only when I press the mouse, then I drag to the left. I am expecting to be able to do a left swipe on the mouse (Apple mouse) in order to get the same effect (in the same way the messages can be deleted in the e-mail client). Could you tell me how to add support for mouse swipe ?

    thanks
    Bogdan

    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