I have two QTreeViews using the same model (this works just fine).
The TreeViews have a tree structure where nodes can be checked (clicked with a checkbox).
I want one view to allow the user to change which nodes are clicked, and the other to not allow them to change them. I can't figure out how to do this. Setting one TreeView to be disabled isn't what I want because then they can't traverse the tree (which I still want). I just want it so that the user can't deselect a node in one view. Is there some way I can intercept all user interaction on the TreeView and only allow node traversal, ignoring the check box clicks?
Thanks
Bookmarks