QDrag - return status of action?
When I process QDrop event, at the end of my functions I would like to set the status of QDrop event to either well... successful or failed so that the initial class that sends the event can then properly manage itself in case of true/false.
How can I properly execute the drag.exec() event to get a result out of it?
Or its something like
I don't see anything like that in QDrag /QMime so I wonder if I should subclass drag and add it... mhmm?
Did you check the return value of
How can I set the drag.exec return value?
You don't set it. The
execmethod has a return value.