PDA

View Full Version : QDragEnterEvent and acceptProposedAction on mac



ntp
14th July 2009, 21:41
I am doing drag and drop code on windows and mac. I get the dragEnterEvent on my dialog and I look at the mimedata in the QDragEnterEvent and if I want it, I call acceptProposedAction.

On Windows, this results in the great feedback. If I accept the item, then I get a + on the drag icon and if I don't I get the "do not drop" drag icon.

However, on Mac, the icon doesn't change regardless of whether I have accepted the item or not. I don't see any way that I can easily change the icon.

Is this a limitation? Or is there something else that I need to do?