PDA

View Full Version : Printing and QTableWidget



Garfeild
6th April 2008, 11:05
Hi all.
In my program i have table with information and grid. This table is member of QTableWidget. I need to print this table with grid. For it i used this solution (http://www.qtcentre.org/forum/f-qt-programming-2/t-qtableview-printing-3796.html#10). But after print i see black sheet with grid. What is wrong? My sources and printing example are attached.

Garfeild
9th April 2008, 18:49
Well, to see white sheet it's necessary to fill pixmap with "Qt:white" before printing. Thanks to blight_ from #qt in freenode.