[Qt-qml] Tree View In QML

Stephen Kelly steveire at gmail.com
Mon Jan 24 20:08:58 CET 2011


Ravindra Mitke wrote:

> Hi guys,
> 
> I want to create Tree View in Pure QML. I don't want to use QT code into
> that.
> Can you please suggest me the best way about doing this.
> 
> Thanks in advance..:)
> 
> *Thanks & Regards*
> *Ravindra *

It's not possible. I tried creating one by nesting an Item recursively to 
the depth of the tree, but the QML runtime sees that and stops you, 
complaining about infinite recursion.

The options are 
- Write your own using c++
- Use VisualDataModel and its drill down features.




More information about the Qt-qml mailing list