What's the best and easiest way to make a table and print it on a printer?
1. I tried QTextEdit + QTextTable but it's a lot of work to move/set a cursor for each cell first and then add text to each cell
2. I also tried a QTableWidget but I don't understand how I can print it (couldn't find any examples)
3. I also tried rendering a QDialog itself but it looks aweful plus it shows the whole window, I just need the table
Does anyone know any examples? Thank you.