Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Hooking form submission with QWebView?
Forum Updated to NodeBB v4.3 + New Features

Hooking form submission with QWebView?

Scheduled Pinned Locked Moved Qt WebKit
2 Posts 2 Posters 2.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nickmk
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      AcerExtensa
      wrote on last edited by
      #2

      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.

      God is Real unless explicitly declared as Integer.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved