This is a common request. I also see it has no common answer. I'm using Qt 4.4 for a project and cannot update, though I doubt a newer version would help. We want to make the table header run at 45 degree angle. Yes, I have many ways to rotate it 90/-90. The problem is all of the drawing stuff seems to take a QRect which is a point + width + height. I'm trying to avoid a cheap hack which will look bad. I know that I can temporarily blank out the cell text, let the default paintSection() do its thing then draw the text rotated. What I really need to be able to do is specify a non-squared region by specifying all 4 points so I can shift the top two over half the width of the original QRect.

Has anybody found a way to do this? There are sooo many spreadsheets out there which can do this it seems odd we don't have the capability.

Thanks,