Bill, for example, you may have sorted rows. In this case all items are still up to date, but they are rearranged visually. So, the view may do some optimisations upon rendering this case, since the only thing it needs is to reposition old items without the need to re-read theirs data.
On Thu, Mar 24, 2016 at 2:44 AM Bill Crocker <[email protected]> wrote: > Gang: > > The doc for QAbstractItemModel::layoutAboutToBeChanged() says... > > This signal is emitted just before the layout of a model is changed. > Components connected to this signal use it to adapt to changes in the > model's layout. > > What is the "layout of a model" and how does that differ from > adding and removing rows and columns. > > Thanks. > > Bill > _______________________________________________ > Interest mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/interest >
_______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
