[Qt-interest] QTreeWidget header labels
Richard Baron Penman
richardbp+qt at gmail.com
Mon Feb 9 06:14:46 CET 2009
one more thing - the same problem happens with the ListWidget
On Mon, Feb 9, 2009 at 3:46 PM, Richard Baron Penman
<richardbp+qt at gmail.com<richardbp%2Bqt at gmail.com>
> wrote:
> 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/97525ecf/attachment.html
More information about the Qt-interest-old
mailing list