Re: [Interest] Overhead for QObject based data models in QML

2013-12-28 Thread Jan Kundrát
On Saturday, 28 December 2013 03:44:07 CEST, Preet wrote: > I'm concerned about what kind of overhead this incurs when I have a > fairly large list (say 100's of elements). It seems like creating that > many QObjects probably isn't a good idea. Hundreds is not "that many". On the other hand, there

[Interest] Overhead for QObject based data models in QML

2013-12-27 Thread Preet
Hi, One of the ways to pass dynamic data to QML is by using a list QObjects. So if you had a QAbstractItemModel with QObject* elements, you could pass it to QML and have the corresponding QML view automatically update when the list changes and when an element in the list changes. I'm concerned ab