PDA

View Full Version : Stop / interrupt drag and drop operation



Talei
9th November 2012, 12:07
Hello,
I have 2 QListQWidget's. One accepts only drops other one accepts also drag.
Everything works fine except, that I can't stop moving data from one list widget into another.

In drop event I reject drop event but data is inserted into other list widget.

So question, how to stop / terminate drag and drop operation that is currently in progress? (or what code is behind pressing ESC in dnd progress?).

Thanks for reply - sorry for messy description - 12h coding ;/.

Talei
10th November 2012, 13:07
I solved this problem with setting my custom mime type. It's not exactly what I was looking for but ..