PDA

View Full Version : dropEvent() is never called



kervich
10th September 2010, 12:36
Hi,

I have a custom subclass of a QLineEdit which is supposed to be able to receive drops from a TableView, that has DnD working on the model level. Dragging from TableView to another TableView works fine. However when I try to drag an item from the TableView to my QLineEdit subclass I get dragEnterEvent() and dragMoveEvent() called (I do event->acceptProposedAction() there), but dropEvent() is never called. Any clues? I’m using Qt-4.6.3 compiled in debug mode on a MacOS 10.6.

cheers

wysota
10th September 2010, 13:13
Please show your implementations of dragEnterEvent() and dragMoveEvent().