Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Engineer50 last edited by
I am have a UI that includes two QTreeWidget objects. I have them configured so that I can drag items from one and drop them into the other. For that, the QTreeWidget that receives the items is configured with dragDropMode set to DropOnly and defaultDropAction set to CopyAction. I would also like the ability to move items within the QTreeWidget that receives the items. As far as I can tell, that would require that I change the dragDropMode to DragDrop and the defaultDropAction to MoveAction. Is there any way to set one configuration for items dragged in from the other QTreeWidget and to set a second configuration for items dragged within the QTreeWidget?