QTableWidget Printing Question
-
I have a QTableWidget based application with 45 columns and perhaps several hundred rows. I am using "this bit of code as a guidance":http://stackoverflow.com/questions/9769680/printing-qtableview-using-render-method on how to resize the content to fit a printed page. It does shrink down the content but some right most columns are clipped and not shown.
First of all I noticed hidden columns are not excluded from the resulting printed page. Is there some way to exclude hidden columns?
Next I need to perform page breaks for the several hundred rows. I haven't as yet found a good example on how to achieve this.
Any help is much appreciated.