QTreeView track ended dragEvent outside application window?
-
wrote on 23 Nov 2023, 15:33 last edited by
Hello so I have a QTreeView and when i perform a dragevent and drag outside the application window i still see the dragged item till mouse release, but certainly how can i get the information when this drag was aborted/the mouse was released???
I need this information to repaint the QTreeView on mouse release/drag abort.
Thanks for the help. :)
-
Hello so I have a QTreeView and when i perform a dragevent and drag outside the application window i still see the dragged item till mouse release, but certainly how can i get the information when this drag was aborted/the mouse was released???
I need this information to repaint the QTreeView on mouse release/drag abort.
Thanks for the help. :)
wrote on 23 Nov 2023, 19:08 last edited by Pl45m4In this case you can try
This event occures when you drag and move over your area but dont drop it there and leave your widget instead (because the drag'n'drop belongs to some other window / app)
-
In this case you can try
This event occures when you drag and move over your area but dont drop it there and leave your widget instead (because the drag'n'drop belongs to some other window / app)
wrote on 26 Nov 2023, 11:42 last edited by@Pl45m4 Worked like a charm, thank you very much. :)
-
1/3