This function to be nicely used has to be used on this way :
1) Add Item in tree
2) After added call this function with the index where the item is added
Is it correct ?
But since the QTreeView allow to have acces to model, if an item is added without this function, that will not work.
But ... then it's an human error surely ...
At the end it's like setIndexWidget ?
I wait your answer to be sure.
--
EDIT: maybe QTreeView is not what I should use, QTableWidget is a better choice ?
Bookmarks