[PyQt] How to create a tree view without a header?

Phil Thompson phil at riverbankcomputing.com
Sun Apr 27 19:15:16 BST 2008


On Sunday 27 April 2008, Noam Raphael wrote:
> Hello,
>
> I want to create a tree view without a header line -- since it only
> has one column, there isn't much point in a header. Is it possible?

Just hide it...

tree_view.header().hide()

Phil


More information about the PyQt mailing list