Hi,
I have to save a QDialog : mainWindow (with all his children : QTextEdit, QTableView, ...) in a pdf file.
But when I do that :
Qt Code:
QPrinter prn; prn.setOutputFileName("out.pdf"); mainWindow.render(&prn);To copy to clipboard, switch view to plain text mode
Only mainWindow is printed
How can I print all children ?
Thanks





Reply With Quote
Bookmarks