I would like to have the following behaviour on TreeItem derived element:
1- If the item is clicked and dragged, it starts a drag and drop operation
2- if the item is clicked and not dragged, it performs some other operation that I don’t want to happen if the item is dragged.
For the moment, I handle drag and drop by intercepting itemClicked() and forward the request to the owner. So I guess that to handle this properly I should leave the decision between click or drag to the TreeView but I haven’t found the proper way to do it.
Any tips ?