You are not logged in.

chaotixx

Beginner

  • "chaotixx" is male
  • "chaotixx" started this thread

Posts: 1

Location: Germany

  • Send private message

1

Wednesday, December 19th 2007, 2:41pm

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.