Qt-interest Archive, April 2007
QTableWidget - Setting Label of the Header Corner
Message 1 in thread
I have a QTableWidget with both horizontal and vertical headers. At the
intersection of the horizontal and vertical headers is an item that does
not correspond to either header and when it is clicked, selects every
item in the table. How do I set the text of this item? Since it
doesn't correspond to either header, I can't find a way to label it.
Any help is greatly appreciated. Thanks,
Chris Portka
--
[ signature omitted ]
Message 2 in thread
> I have a QTableWidget with both horizontal and vertical headers. At the
> intersection of the horizontal and vertical headers is an item that does
> not correspond to either header and when it is clicked, selects every
> item in the table. How do I set the text of this item? Since it
> doesn't correspond to either header, I can't find a way to label it.
Hi
Unfortunately, there is no straightforward way to do that. One
solution can be found in here:
http://www.qtcentre.org/forum/f-qt-programming-2/t-qtablewidget-nw-corner-header-item-6252.html
--
[ signature omitted ]