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 Nested List View with separators

QML Nested List View with separators

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 1.4k Views 1 Watching
  • 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.
  • G Offline
    G Offline
    gsinekliev
    wrote on last edited by
    #1

    Hi:)

    I'm trying to implement a tree view that represent structure of buildings/floors/rooms. All rooms should be classified by floor and building ( thus header for each building and floor is required.

    First I implemented it with Repeater, Row and Grid elements. However I need a selection behaviour so i need to use ListView and GridView. I have problems displaying nested list views.

    Here's my code so far: http://pastie.org/private/3seqntgvskbyxnmnuluaua

    When using Repeater and Grid instead of GridView the result is:
    !https://docs.google.com/file/d/0B-mc4aKkzWlxczg2TzhuTFgwWjQ/edit?usp=sharing()!

    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