View Full Version : export contents tableView
daly001
12th December 2011, 02:36
how can i export the contents of a tableView into pdf or .txt with Qt Creator 2.3
ChrisW67
12th December 2011, 04:09
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.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.