thank you for this reply.
T tried your code with QPainter's powerful redirecting mecanism.
but the probleme is that I get only the contents ( the viewport()) of the QTableWidget
without the horzontal and the vertical header and without any widget painted inside the content of the table. can you have any Idea ?
I linked to this post a screenshot of the table I want to print(table.jpg)
and the pixmap that I obtained with your code (PrintResult1.jpg)
Bookmarks