maston
6th May 2010, 10:12
Hi.
I'm trying to print QWebView mainframe content from javascript method 'window.print()'. I wrote line:
QObject::connect(ui->webView->page(), SIGNAL('printRequested()'), SLOT(print()));
And i have compilator info :
No such signal QWebPage::'printRequested()' .
i try diffrent constructions but always is info that no such signal...
Maybe someone has a solution?
Sorry for my english.
Regards
I'm trying to print QWebView mainframe content from javascript method 'window.print()'. I wrote line:
QObject::connect(ui->webView->page(), SIGNAL('printRequested()'), SLOT(print()));
And i have compilator info :
No such signal QWebPage::'printRequested()' .
i try diffrent constructions but always is info that no such signal...
Maybe someone has a solution?
Sorry for my english.
Regards