Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946
xcround last edited by
Is it possible to have a QListView to expand/collapse if that node contains a child? (i.e, only show parents at first, but if clicks on that node and it contains a child, then display a child?)
I have implemented a QTreeView with collapse/expand but I haven't seem anything for expanding/collapsing on listview since earlier versions.
giesbert last edited by
That's by design. A Listview is a plain list, not a tree. And a list has noch child elements. It's a table with only one column.
If you want to exapnd collaps child elements, you need a treeview.