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. Using Drag without MouseArea
Qt 6.11 is out! See what's new in the release blog

Using Drag without MouseArea

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 577 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.
  • F Offline
    F Offline
    frankiefrank
    wrote on last edited by
    #1

    I'm switching my QML application to a touch-only interface.

    I have a part in my code that is very similar to the Tiles QML example found here:
    http://doc.qt.io/qt-5/qtquick-draganddrop-example.html

    However, my issue is that I don't want use a MouseArea anymore but a MultiPointTouchAreas. Is it possible to achieve the same functionality without MouseAreas?

    "Roads? Where we're going, we don't need roads."

    R 1 Reply Last reply
    0
    • F frankiefrank

      I'm switching my QML application to a touch-only interface.

      I have a part in my code that is very similar to the Tiles QML example found here:
      http://doc.qt.io/qt-5/qtquick-draganddrop-example.html

      However, my issue is that I don't want use a MouseArea anymore but a MultiPointTouchAreas. Is it possible to achieve the same functionality without MouseAreas?

      R Offline
      R Offline
      Roumed
      wrote on last edited by Roumed
      #2

      @frankiefrank,
      Yes it is.
      But you will have to write and support a lot of logics.
      So you must have a strong reasons to go away from MouseArea with drag-n-drop task.

      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