Ok, Problem found : I had to start the event with a QDrag of course
Now, it works fine!
Hello,
I have a little problem with subclassing QGraphicsItem : everything works fine, bounding box, painting, etc, excepted that I cannot catch drag & drop events...
My Item is part of a QGraphicsScene, rendered with a QGraphicsView, nothing special really...
I have reimplemented the 3 protected functions for drag (dragEnter, dragMove, dropEvent..), but nothing happens.
It seems that events aren't dispatched by the scene...I followed the Qt Drag And Drop Robot Example, and it works perfectly there...Any idea ?
Thanks,
Guilugi.
Bookmarks