Hi,

I'm creating drag&drop in a QTreeWidget. I've reimplemented dragMoveEvent() so i can accept or reject certain drag&drop events. I test if an action is valid, and if it isn't, i set...

p_Event->setDropAction(Qt::IgnoreAction);
p_Event->accept();

But then what? I still want the drop indicator to show, so i guess i have to call the original QTreeWidget::dragMoveEvent(); from my own implementation so that the original function can perform drop indicator drawing. But that doesn't seem to work.

It does work for valid actions where i just call QTreeWidget::dragMoveEvent(); without chaning anything in p_Event.

Any ideas?

Kind Regards,

Daniel Dekkers