[PyQt] asking for operation confirmation in dropMimeData

Lev Shamardin shamardin at gmail.com
Thu Jan 29 21:52:11 GMT 2009


Hi all,

What is the correct method of asking for a user confirmation for the
drag-drop operation in the model? Consider a user is dropping
something into the model, and I want to ask him if he is sure about
this drop. Is it allowed to pop up a message box from the dropMimeData
method? How should I find the parent window for the message box from
the model?

-- 
Lev.


More information about the PyQt mailing list