Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QTreeView drag/drop action change between in/out of view?



  • Hey

    A bit silly question... but if I want to configure my drag action during internal drag (rearanging items in treeView) as Qt::MoveAction and if I leave widget to drop on other widgets to be a Qt::CopyAction...

    Do I handle that in eeee... yeah where do I handle it ?

    TIA


    I've ended up reimplementing drop event in tree and deciding there based on source what drop action to take.


Log in to reply