[Interest] QListView and collapsing nodes

Jason Dictos jdictos at barracuda.com
Tue May 8 17:03:07 CEST 2012


So I have this QTreeView class, which I populate the underlying model with things at various times. I am struggling with an issue though that whenever I update a particular QModelIndex, that level of nodes is collapsed by the view.

The net effect is whenever a user refreshes an expanded node, that node is collapsed.

How exactly can I tell the view to not do that?

-Jason

'Like' us on Facebook for exclusive content and other resources on all Barracuda Networks solutions.
Visit http://barracudanetworks.com/facebook


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120508/e82c7b0a/attachment.html>


More information about the Interest mailing list