Delphi
17th June 2013, 20:54
hi,
because the subset of Qdocument is insufficient.
i am using a Qwebpage to render the html. But when i try to print it there is something wrong.
9165
What am i doing wrong?
any help is appreciated,
Delphi
ui->webView->load(QUrl("http://qwebpage.comuv.com/WebkitFile.html"));
QPrinter printer;
printer.setResolution(QPrinter::HighResolution);
QPrintDialog dialog(&printer);
dialog.setWindowTitle("Print Bestelling");
if (dialog.exec() == QDialog::Accepted) {
ui->webView->page()->mainFrame()->print(&printer);
// hoofddoc.mainFrame()->print(&printer);
}
because the subset of Qdocument is insufficient.
i am using a Qwebpage to render the html. But when i try to print it there is something wrong.
9165
What am i doing wrong?
any help is appreciated,
Delphi
ui->webView->load(QUrl("http://qwebpage.comuv.com/WebkitFile.html"));
QPrinter printer;
printer.setResolution(QPrinter::HighResolution);
QPrintDialog dialog(&printer);
dialog.setWindowTitle("Print Bestelling");
if (dialog.exec() == QDialog::Accepted) {
ui->webView->page()->mainFrame()->print(&printer);
// hoofddoc.mainFrame()->print(&printer);
}