Important: Please read the Qt Code of Conduct -

QML TreeView display nodes by levels or custom delegate

  • Hello! I have a tree model derived from a QAbstractItemModel. And I can display the data in a tree like way (not threeway).0_1514382883738_Screenshot_1.jpg
    What I want is to display teh data by the layers. To display only one level of a layer at a time AND put each layer on a stack and navigate backwards by poping the layer from the stack. 0_1514383719791_aaaa.gif
    I guess I have to implement a custom delegate? Any advice would be highly appreciated. Thank you.

Log in to reply