PDA

View Full Version : How to add a footer (QHeaderView) to a QTreeView?



DigiDrag
23rd September 2008, 22:37
Hi

I just tried to somehow add a second QHeaderView to my QTreeView.
I want to display a footer with a summary of items selected.

But I found no functions in QTreeView, which I can override to create this.

I think cannot use a BoxLayout as the scroll bars of the QTreeView should scroll the second header.

Any ideas?

DigiDrag
24th September 2008, 00:38
I found a solution:
http://www.qtcentre.org/forum/f-qt-programming-2/t-advanced-qtableview-4904.html