Results 1 to 2 of 2

Thread: button click in webview

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

    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
    Thanks
    10
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    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, 09:54
  2. QMdiSubWindow not delet when click the X button.
    By SamSong in forum Qt Programming
    Replies: 1
    Last Post: 20th May 2009, 09:21
  3. Replies: 2
    Last Post: 2nd April 2008, 18:28
  4. QPaintEvent on button click?
    By vishal.chauhan in forum Qt Programming
    Replies: 1
    Last Post: 5th June 2007, 09:44
  5. Push button double click
    By curtisw in forum Qt Programming
    Replies: 3
    Last Post: 15th February 2006, 17: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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.