[Qt-interest] QHeaderView height
Paul England
pengland at cmt-asia.com
Thu Apr 2 18:49:09 CEST 2009
Hey Gang
I'm resizing a QTableWidget. Since I don't know of a way to set the
height of the widget to match the sum of the height of the rows + the
height of the horizontalHeader(), I'm doing it manually.
Caveat: no idea on Earth how to get the height of hozirontalHeader().
horizontalHeader()->sectionSize() gives me the width, which I can easily
get from any one of the columns, so that's a bit useless. Am I doing
this the hard way? Missing something?
Heading to bed, so won't be able to give a proper thank you email for a bit.
Cheers
Paul
More information about the Qt-interest-old
mailing list