Is there a way to access the QWebPage object from WebView‘s underlying QWebView object?
QWebView has:
QWebPage * QWebView::page () const
src: http://doc.qt.nokia.com/4.7-snapshot/qwebview.html#page
However it doesn’t seem to be exposed in QML
I haven’t tryed it, but …
In
qdeclarativewebview_p.hat line 59 there is defined as public:So you should be able to access this at least from C++ (but not directly from QML).
If you need it in QML, you can inherit the original
QDeclarativeWebViewand expose this property for access in QML.