[Qt-interest] Model/View speed of Models with many many items and item changes

Arnold Krille arnold at arnoldarts.de
Sat Jun 13 11:51:34 CEST 2009


On Saturday 13 June 2009 11:08:58 Sean Harmer wrote:
> On Saturday 13 Jun 2009 09:47:21 Arnold Krille wrote:
> > On Saturday 13 June 2009 01:09:04 RZ wrote:
> > > But the block signals effect was quite overwhelming and sufficient - so
> > > I stopped optimizing everything else ;-)
> > As far as I know this means all the update signals are then send
> > afterwards. Which mean after changing 10.000 data points, instead of a
> > continuous stream of 10.000 dataChanged(index) signals, you will get them
> > all after the signals are unblocked again.
> I don't think that this is true. Blocked signals just never get emitted
> (except for the destroyed() signal).

Then its even _really_ bad to block signals upon changing data, because then 
the gui doesn't get a single signal that the values changed...

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/bcd74626/attachment.bin 


More information about the Qt-interest-old mailing list