Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Hooking form submission with QWebView?
nickmk last edited by
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.
AcerExtensa last edited by
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.