Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML TreeView display nodes by levels or custom delegate
QtWS25 Last Chance

QML TreeView display nodes by levels or custom delegate

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 476 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • MikhailGM Offline
    MikhailGM Offline
    MikhailG
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved