Hi,
I'm still experimenting Drag&Drop. I have experience in Qt since 2002 but
this is the first time I am trying drag & drop...
In my main widget, I have a dragDropZone widget which is the active
dropping zone.
In the main widget constructor, I call:
ui->dragDropZone->setAcceptDrops(true);
ui->dragDropZone->installEventFilter(this);
Then in the event filter:
if(event->type()==QEvent::DragEnter){ info("Enter!"); return
true;}else if(event->type()==QEvent::DragLeave){ info("Leave!"); return
true;}
But I get only "Enter!" messages.
Does another event take precedence over dragleave if accepted?
Thanks!
Etienne
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest