mqt
31st July 2013, 12:46
I am using a QTreeView. I have three levels of nodes.
1) I want to restrict the user to select/edit only the last level of Nodes
2) When the user select a last level node, I want to highlight all its parents till root level
3) When the user select a last level node, I want to programattically get entire string path from root to selected item (last level)
Any sample code is appreciated. Thanks in advance
1) I want to restrict the user to select/edit only the last level of Nodes
2) When the user select a last level node, I want to highlight all its parents till root level
3) When the user select a last level node, I want to programattically get entire string path from root to selected item (last level)
Any sample code is appreciated. Thanks in advance