[Qt-interest] QTreeWidget header labels
Richard Baron Penman
richardbp+qt at gmail.com
Mon Feb 9 05:46:40 CET 2009
hello,
I'm using Qt Designer 4.4.2 on Windows.
I have a problem with the TreeWidget in Qt Designer. Whenever I open my ui
file in Designer it adds a default column label with the text '1' to my tree
widget. I don't want this so every time I have to delete this.
Is there a reason it always wants to add this default column label?
The reason I don't want this default column label is the function
setHeaderLabels() doesn't remove existing labels but appends to them.
http://doc.trolltech.com/4.4/qtreewidget.html#setHeaderLabels
Is there a way to remove existing header labels?
thanks,
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090209/79745661/attachment.html
More information about the Qt-interest-old
mailing list