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 ;/.
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 ;/.