Here's a working example:
http://code.google.com/p/qgvdial/source/browse/trunk/src/ContactsModel.cpp#16

It's my oft clichéd contacts model in which each contact has a model
containing phone entries.

Hope this helps

2011/3/24 wz <[email protected]>:
> I just tell you it is possible!
>
> At 2011-03-24 20:29:28,"Alexey Zaryanov" <[email protected]> wrote:
>
> If i have C++ model where each item have another model inside. How can id
> implement this?
> For example:
> Listview{
>    model: myCPPmodel
>    .............
>    ............
>    delegate: Item{
>      .............
>      ListView{
>           model: myModelFromCPPmodel
>            ....
>      {
>
>    }
> }
>
> It is possible ?
>
>
>
> _______________________________________________
> Qt-qml mailing list
> [email protected]
> http://lists.qt.nokia.com/mailman/listinfo/qt-qml
>
>
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to