[Qt-interest] [Qt-qml] qml and real c++ application : QabstractItemModel ?
qt next
qtnext at gmail.com
Mon Dec 27 20:52:47 CET 2010
you can't display a tree with a treeview ... but you can use a complex tree
with visualdatamodel to set the root item.
2010/12/27 André Somers <andre at familiesomers.nl>
> QML can only deal with simple, one dimensional lists. Trees can not be
> presented with qml views, so better stick with simple list-type models.
>
> André
>
> Verstuurd vanaf mijn iPhone
>
> Op 27 dec. 2010 om 19:40 heeft qt next <qtnext at gmail.com> het volgende
> geschreven:
>
> > Hi,
> >
> > I am trying to create a new application that use qml for interface (to
> visualize and edit datas). I understand how to use qml with some simple
> model (list, ...) : but in the real life, is it better to use one complex
> QAbstractItemModel that acces all the data of my application (with complex
> tree ...) or to have a lot of qabstractitemmodel simpler (list, ...), or to
> not use at all qabstractItemModel ? is there any feedback from people that
> use now QML in the true life (not a simple contact list ,...) ?
> >
> >
> > _______________________________________________
> > Qt-qml mailing list
> > Qt-qml at qt.nokia.com
> > http://lists.qt.nokia.com/mailman/listinfo/qt-qml
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101227/e729ebe8/attachment.html
More information about the Qt-interest-old
mailing list