Dear visitor, welcome to QtForum.org.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
How to print a QTableWidget ?
I created a QTableWidget with 6 rows and 12 columns. I tried to print it, but I think it is not possible to put it directly on a painter. My suggestion is:
The only way to print it is:
1. grab it and print it as an image
2. use setHtml to create a html-table and fill it
3. paint the table per hand and fill it with text
Is that right?
I hope that there is a more comfortable way to print the table.