Results 1 to 10 of 10

Thread: QWebView linkclicked and form submit

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2009
    Posts
    21
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QWebView linkclicked and form submit

    I just tried quickly but seems it's not so easy to subclass QWebPage

  2. #2
    Join Date
    Jul 2009
    Posts
    21
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QWebView linkclicked and form submit

    Quote Originally Posted by maddog_fr View Post
    I just tried quickly but seems it's not so easy to subclass QWebPage
    Sublclassing QWebPage is not the problem in fact but it seems that the function acceptNavigationRequest is protected

  3. #3
    Join Date
    Jul 2009
    Posts
    139
    Thanks
    13
    Thanked 59 Times in 52 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: QWebView linkclicked and form submit

    I'm not a C++ guru, but I think protected member functions can be overridden in a subclass. Have you tried?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.