[Qt-qml] WebView printing
Girish Ramakrishnan
girish at forwardbias.in
Wed Dec 22 08:09:58 CET 2010
On Wednesday 22 December 2010 12:36 PM, Girish Ramakrishnan wrote:
> On Wednesday 22 December 2010 12:46 AM, Michael wrote:
>> Hallo,
>>
>> How do i Print from qml WebView ? There is no Print() Funktion like in
>> QWebView of QTWebkit.
>>
>
Replying to myself. Errata.
> There's no way to do this using WebView.
>
> WebView uses QGraphicsWebView internally and the QGraphicsView is a
Oops, I meant QGraphicsWebView and not QGraphicsView.
> child of the WebView item. If you are fine with relying on this
> implementation detail, then use qFindChildren in C++ to get hold of the
> Webpage.
>
> The other way is to write your own wrapper on QWebView. For that, I
I meant QGraphicsWebView and not QWebView.
Girish
More information about the Qt-qml
mailing list