QTreeView paint grid
Unsolved
General and Desktop
-
Hi all, I wish make QTreeView looks exactly like QTableView. How can I achive that? Also draw grid without any paddings, margins, spaces and so on...
Thanks a lot.
-
@Alexey-Serebryakov
Well one display a tree and the other displays only flat rows, so they don't look identical. I think you'll have to show/explain what what bits you are wanting to alter how. -
@JonB Just imagine QTreeView with some columns. Branch rows has branch icon and looks like QTableView with grid lines. User can click branch icon and children rows are expanded but looks like ussual table rows. All datas in items are read only and not editable but user can select by row entire.