[SailfishDevel] Build a Model with "fixed" items + "dynamic" ones

François K. daitheflu at free.fr
Mon Apr 20 08:49:56 UTC 2015


Hi Michael, hi Lucien, hi devs,


> I support this idea:
> Why don't you build a model that is built in two step during
> creation, first, build the 6 entries, then build the rest ?

Do you suggest to do this in C++ (which is my idea n°1) or mix C++ and QML (see below) ?


> > Is'nt it possible to add the items in the QML-part?

I don't know... I just don't know how to do this with QML :/
With a SilicaListView, I guess Qt would overwrite the fixed items as soon as I set the model property on the SilicaListView, wouldn't it ?

Cheers,

-- 
François


More information about the Devel mailing list