PDA

View Full Version : disabling the streching of treewidget's header



thomasjoy
23rd August 2007, 06:36
hi all
i am using QT4.1 on Mac

the idea is to disable the streching of columns treewidget's

is it can be possible of disabling the streching of treewidget's header
i.e header should be of fixed width


thanks in advance

jpn
23rd August 2007, 10:10
See QHeaderView::setResizeMode() (http://doc.trolltech.com/4.1/qheaderview.html#setResizeMode). You can access the header view QTreeView::header() (http://doc.trolltech.com/4.1/qtreeview.html#header).