[Qt-interest] begin/endInsertRows and underlying data structures
Emil Eriksson
shadewind at gmail.com
Sun May 10 01:53:26 CEST 2009
Hello!
In its current form, QAbstractItemModel requires beginInsertRows and
endInsertRows to be called before and after inserting rows. Insertion
and removal operations for rows and columns This is all fine in some
cases, but it's not always that the underlying data structure can
notify the model BEFORE changes. How does one go about implementing
the model in that case? It seems to me that the model/view system in
Qt is a bit overly complicated in some respects.
Grateful for answers,
Emil Eriksson
More information about the Qt-interest-old
mailing list