Hooking form submission with QWebView?
-
Is it possible to hook form submission when using a QWebView object? This would allow me to grab the data submitted if I'm using local HTML and then work with it.
-
No, using QWebView you can't catch requests, but you can do this with QWebPage if you override "acceptNavigationRequest":http://qt-project.org/doc/qt-5.0/qtwebkit/qwebpage.html#acceptNavigationRequest function or in "createRequest":http://qt-project.org/doc/qt-5.0/qtnetwork/qnetworkaccessmanager.html#createRequest function of subclassed QNAM.