I think I've finally got it. For dragging and dropping....
Case 1 No Item underneath.
Scene dragMoveEvent does nothing
Scene dragEnterEvent accept event, calls base method
Scene dropEvent (adds a new Item to the scene), calls base method
Case 2 Item underneath mouse
Scene dragMoveEvent, sees there is an item and does ignore() and base method
Scene dragEnterEvent, sees there is an item and does ignore() and base method
Scene dropEvent, sees there is an item and does ignore() and base method
Item dragMoveEvent, calls accept()
Item dragEnterEvent, calls accept and base method
Item dropEvent, calls base method.
I now see the event in the item! wow! amazing! yay!
Thank you for your help, now I can get on with some code logic!
DB
Bookmarks