[Qt-interest] Set the column width for QTreewidget to fixed
Lars Amsel
lars.amsel at signalion.com
Tue Aug 11 17:19:46 CEST 2009
Nitish Jha wrote:
> I am using the QTreeWidget with pyQt binding. I am using the QTreeWidget
> as a list and i wanted to know if it is possible to set the columnwidth
> to be fixed
treeWidget->header()->setResizeMode(QHeaderView::Fixed);
> and to also not allow the user to move the columns.
treeWidget->header()->setMovable(false);
regards
Lars
More information about the Qt-interest-old
mailing list