Important: Please read the Qt Code of Conduct -

Display items horizontally in QTreeView

  • Hi everyone.
    I'am using QTreeView with custom QItemDelegate to display hierarchical data (only 1 level of hierachy) in a vertical line (column).
    Problem is - I need to display this data in other QTreeView horizontally (the same way QLIstView does when you enable QListView::isWrapping with QListView::flow set to TopToBoottom), displaying hierarchy by vertical offset .
    What is the best way to do that?

Log in to reply