[Qt5-feedback] Item Views Next Gen

Stephen Kelly steveire at gmail.com
Sat May 21 07:53:15 CEST 2011


Ville M. Vainio wrote:

> On Sat, May 21, 2011 at 8:04 AM, Stephen Kelly <steveire at gmail.com> wrote:
> 
>> Ok. For dynamic data, ListModel doesn't really cut it for those of us who
>> need C++ and QML intergation, so I'll be interested in what happens with
>> other models and features later. I would like to see research which
>> doesn't
> 
> Why not make current QML ListModel a C++ class with a fully defined
> C++ API, and use that?
> 
> So far I have used
> 
> http://wiki.forum.nokia.com/index.php/Using_QStandardItemModel_in_QML
> 

I would suggest a MR to get a public API in QStandardItemModel for that and 
to make that class obsolete.

> But it's clumsier than just making a proper ListModel would be.
> 
> OTOH, QAIM is not something I would recommend to most people...

Right. But if you're making something complex (which maybe most people 
don't) I would recommend it.



More information about the Qt5-feedback mailing list