Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Drag qml element outside the application window
I would like to ask for advice. I'm developing a multi tab application and the user should be able to drag tab (from QML point of view, tab is a mix of Rectangles/Images/etc elements) outside the main application window, drop it and as a result a new window should be opened (similar to Chrome/Sublime text/etc) . Maybe someone can recommend how it's possible to implement such functionality in QML?
Thanks a lot.
webyte last edited by
Did anyone determine a solution for this? I'm also looking for this. Thanks.
Ladies & Gentlemen, maybe someone knows a way how to drag a QML object (or I can create a new type based on QQuickItem ) outside a window? By default such objects are just disappeared when you move it outside. Any ideas would be really appreciated. Thanks
Jens last edited by
Did you already check out the improved Drag and Drop functionality in Qt 5.2 ?
Yep, I've used it
Kniebou last edited by
Has anyone find a way to achieve this ?
I'd like to drag an Item outside of my application window, and perform an action on mouse release (in my case, if you release on file system, it would create a file at this location).
External drag-drop still doesn't work atleast on Ubuntu 14.04. See QTBUG-41133.