how can i export the contents of a tableView into pdf or .txt with Qt Creator 2.3
how can i export the contents of a tableView into pdf or .txt with Qt Creator 2.3
For a text file:
- Open file
- Read model index text
- Write text to file
- Repeat until all rows and columns processed.
- Close file
For a PDF file you are manipulating a QPrinter set to output PDF rather than a file.
Bookmarks