[Qt-interest] Model/View speed of Models with many many items and item changes
Arnold Krille
arnold at arnoldarts.de
Sat Jun 13 13:18:10 CEST 2009
Hi,
On Saturday 13 June 2009 12:29:42 Heiko Steindl wrote:
> But I'll create a custom model for this.
> Is it ok, to emit the dataChanged() signal just one time after all
> data is changed or should it be emitted more times (e.g all 1000
> changes)?
I do emit it every 1/10 of a second (as far as I remember) if something
changed. That way the gui is responsive and up-to-date but there aren't
changes eaten because the next 1000 is filled yet.
Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090613/183416ac/attachment.bin
More information about the Qt-interest-old
mailing list