[Qt-interest] QHeaderView related query

Soumen Ghosh soumen78 at gmail.com
Thu Mar 18 14:28:45 CET 2010


1. I want to hide only the horizontal header of table. But when I set
horizontalHeader()->hide() on my table view, both horizontal and vertical
header is getting hidden. Could this be some bug in my app or this is how
this should happen?

2. I've very long header text for some of the column. But data in those
column won't be very long. So I want to wrap the text in the header so that
column width is not dependent on header text. Also, if I resize the width of
column, the wrapping adjustment in the header should happen accordingly. How
to do this?

Thanks,
-- Soumen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100318/6f6b98ed/attachment.html 


More information about the Qt-interest-old mailing list