[Qt-interest] QTreeView expand delay
Deepak Chandran
dchandran1 at tinkercell.com
Sun Feb 1 06:57:27 CET 2009
In my application, I use a tree view to summarize a model. The model can
change due to various things, so I generate a new model every time there is
a change. When I assign the new model to the tree view, I make store the
original nodes that were expanded and try to reproduce the same structure
after updating the model. However, the expand has no effect when it is done
immediately after the model update. I read in a previous post that there is
a delay between updating the model and being able to expand/collapse nodes.So,
if I want to constantly update the model and adjust which nodes are expanded
at the same time, where would be the best place to do this (i.e. which
signal/slot)?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090131/39dee691/attachment.html
More information about the Qt-interest-old
mailing list