[PyQt] Text orientation in a QTableView Header

Ben De Luca bdeluca at gmail.com
Thu Jun 18 11:55:46 BST 2009


Hi List,

         I was wondering if there was a simple way to change the
orientation of the text in a QTableViews QHeaderView? I would like to
be able to write the coloumn lables vertically rather than hoziontally
for a largenumber of coloumns that  contain large labels and single
diget numbers in the data fields.

         Is there a way to do this or am I looking at making a new
Header and changing the way it paints its text? If I have do this any
example code would be neat.


-bd


More information about the PyQt mailing list