PDA

View Full Version : setting QTreeWidget vertical labels



hyling
10th January 2007, 16:43
Hi,

How do I set the row labels for a QTreeWidget, the setHeaderLabels sets the column labels but I see nothing for the row labels?

Thanks
Hua-Ying

wysota
10th January 2007, 16:58
The tree widget doesn't have row labels. You'll have to use QTableWidget to use them.

gfunk
10th January 2007, 19:53
Or you could create some external QLabel's outside your tree widget. Might take a bit of work to get it to look good though, depends on what you're trying to do.