I have the drag and drop indicators working fine for internal moves within the same tree view (say TreeView1).
But, the indicators are not visible when dragging from an external tree view (TreeView2 -> TreeView1).
Any idea what is needed to show the drop indicators when dragging from an external tree view?
Here's my code for the tree view that is the drop target.
Qt Code:
{ // Call base class -- this shows the drop indicators if (event->mimeData()->hasFormat("text/plain") ) { event->acceptProposedAction(); event->accept(); } else { event->ignore(); } }To copy to clipboard, switch view to plain text mode
Bookmarks