开发者

Qt4: Print a SQL table to PDF

Qt 开发者_运维知识库has built-in PDF export support (QPrinter::PdfFormat).

What's the best way to print an SQL table to a PDF file? (a table from a database loaded with QSqlDatabase and linked to a QTableView)...


You use QWidget::render. See the documentation about Printing Widgets.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜