[SOLVED]why can't my QGraphicsView accept Drag&Drop event?
-
Hi,
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 ?