Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. using QLIstView to show different levels of tree model
Qt 6.12 LTS is out! See what's new in the release blog

using QLIstView to show different levels of tree model

Scheduled Pinned Locked Moved Unsolved Qt for Python
2 Posts 2 Posters 541 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.
  • F Offline
    F Offline
    frueter
    wrote on last edited by
    #1

    Hi,

    I am wanting to write my own simple version of a columnn view because QColumnView is just to narrow in scope for what I am after.
    So I thought I'd use three list views instead, each one showing a certain level in my hierarchical data based on the selection in the previous list.
    Now I am wondering how to make it all work like the column view.

    I guess the lazy way would be to flatten my original model and use proxy models to filter the data for each view, but then I won't be able to switch to tree view easily if we ever want to do that in the future.

    Feels like this is something others may have done before so I wanted to check here for advise.

    Cheers,
    frank

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Do you mean something like the Finder view in macOS ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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
      • Unsolved