[SOLVED]why can't my QGraphicsView accept Drag&Drop event?
i want to drag a TreeItem to a QGraphicsView, i setAcceptDrops(true), and while i debug i can debug into TreeWidget::startDrag(), but i can't go into the QGraphicsView's dragEnterEvent, dragLeaveEvent, dragMoveEvent, dropEvent...
Did you call setAcceptDrops(true) on your QGraphicsView ?
i called...and the QWidget which is the parent of the QGraphicsView, i also tried to set its setAcceptDrops(true)
but bot worked....
is startDrag enough for the QTreeWidget?
btw. is there any different between QGraphicsView and QWidget as they can acceptDrops?
Did you also implement the dragEnterEvent and dropEvent ?
yeh, i missed it, that's my problem.