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. Top level drag items / Drop Areas across several windows
Qt 6.12 LTS is out! See what's new in the release blog

Top level drag items / Drop Areas across several windows

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 1.2k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hello guys!

    Just joined the forums, and i am pretty new to QML development, so please bear with me! :)

    I am currently trying out several things with QML, and so far everything is going really well (QML is super easy! yay) - But one issue i have run into is dragging and dropping items between windows. Is there something i am missing here or?

    When for example dragging a external item (desktop file or folder) onto a QtQuick Application, all applicable windows will react to both onEntered, onDropped and onExited, but my own drag-able items, seems to be "restricted" or locked to it's own original window.

    Is there a way currently to "detach" items in a way, and make them work pretty much like a external items?

    Thanks a lot and have a good day!
    Rune

    1 Reply Last reply
    0
    • J Offline
      J Offline
      Jens
      wrote on last edited by
      #2

      The bad news is that it is not available in Qt 5.1. The good news is that this functionality is planned to be a part of Qt 5.2.

      http://qt-project.org/wiki/New-Features-in-Qt-5.2

      You can perhaps try out the recently released Alpha release in order to try out the functionality and give feedback.

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        Thanks a lot for the Info Jens!

        That is indeed good news for me, and i will try and get a hold of the Alpha build to see how it works out! - would be glad to possibly give feedback

        Thanks again

        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