View Full Version : How to add a tool button to a qlistview header

31st July 2008, 09:31
Hi all,

I'd like to add a tool button to a section of the header of a qlistview, as shown in the image attached, but I do not know if it is possible and which is the best way to do it.

Does anybody has any idea? I'm using Qt 3.3.8.

Thanks in advance for your help.

31st July 2008, 10:47
am not sure about QLIstView...
but u may have a look at QTreeView::setHeader

31st July 2008, 11:13
Unfortunately I have to work with Qt 3.3.8 so I have no way to use the new Qt 4 functionalities