Results 1 to 2 of 2

Thread: button click in webview

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Location
    india->gujarat->bhavnagar
    Posts
    36
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Maemo/MeeGo
    Thanks
    7

    Question button click in webview

    hii
    Does anyone knows how to catch the button click within the Webview such as "Submit" button click? The webview will handle it automatically and I have no idea how to catch the button click within the webpage it renders.

  2. #2
    Join Date
    May 2009
    Posts
    133
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    10
    Thanked 4 Times in 3 Posts

    Default Re: button click in webview

    I think you might be able to tell QWebView you want be notifed when user clicks something by setting LinkDelegationPolicy property to QWebPage:elegateAllLinks. Take a look at void QWebPage::linkClicked ( const QUrl & url ) signal.

Similar Threads

  1. How to open any file on button click???
    By r3aktor in forum Newbie
    Replies: 5
    Last Post: 8th July 2009, 08:54
  2. QMdiSubWindow not delet when click the X button.
    By SamSong in forum Qt Programming
    Replies: 1
    Last Post: 20th May 2009, 08:21
  3. Replies: 2
    Last Post: 2nd April 2008, 17:28
  4. QPaintEvent on button click?
    By vishal.chauhan in forum Qt Programming
    Replies: 1
    Last Post: 5th June 2007, 08:44
  5. Push button double click
    By curtisw in forum Qt Programming
    Replies: 3
    Last Post: 15th February 2006, 16:40

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.