[PyQt] possible to change the execute drag type?

danny shevitz at lanl.gov
Wed Oct 27 17:52:27 BST 2010


I found my own answer.

It turns out that dropMimeData is called within dropEvent, so the solution
was to override dropEvent and call event.setDropAction(Qt.MoveAction) after
the base class implementation. 

D







More information about the PyQt mailing list