PDA

View Full Version : Changing the border of QTextTableCell to Round edged rectangle?



anupamgee
14th January 2010, 06:48
Hi

I am using a QTextTable of varying number of rows (user sends some data which is appended at the end in a new row) and one column.
I want to enclose the content of each cell in a rectangle with round corners (and also fill each cell with color gradient for which I am using QLinearGradient). I tried QTextFrameFormat but there are no format having round rectangles.

Do I need to overwrite some function by subclassing some class or is there some other way out ? I tried to look for the answer in qt documentation and gogle but was not successful :(