Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Handle mouse swipe in SwipeDelegate of ListView
Forum Updated to NodeBB v4.3 + New Features

Handle mouse swipe in SwipeDelegate of ListView

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 146 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 Extensions
    • Unsolved