Hi, I want to drag a QTreeWidgetItem from my QTreeWidget to the QGraphicsPixmapItem.
Do I have to reimplement mouse events in the drag site.
I reimplemented them such asbut the program flow never falls into the mouse events in debug mode.Qt Code:
mouseReleaseEvent etc..To copy to clipboard, switch view to plain text mode
I have also performed setAcceptDrops(true) in my QGraphicsPixmapItem's constructor and reimplemented the dropEvent( QDropEvent *event ) but again the flow never falls inside it.
How will I be able to perform the drag & drop?
My aim is to send the currently dragged QTreeWidgetItem's text to the QGraphicsPixmapItem.
Best regards.
Bookmarks