Results 1 to 3 of 3

Thread: How to determine if the webpage's email or print icon has been clicked ?

  1. #1
    Join Date
    Oct 2010
    Posts
    21
    Thanks
    3
    Qt products
    Qt Jambi
    Platforms
    Unix/X11

    Default How to determine if the webpage's email or print icon has been clicked ?

    I am loading a page using QWebView. How can I found out if the webpage's email icon or the print icon has been clicked. The pageAction() function doesn't return any such constant ?

  2. #2
    Join Date
    Oct 2010
    Posts
    21
    Thanks
    3
    Qt products
    Qt Jambi
    Platforms
    Unix/X11

    Default Re: How to determine if the webpage's email or print icon has been clicked ?

    Whether a print icon has been clicked or not, can be found by the printRequested() signal, but I still can't find out if the email icon has been clicked. No linkCLicked signal is generated either, if I click on the print and email icons.

  3. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How to determine if the webpage's email or print icon has been clicked ?

    QWebPage::linkDelegationPolicy of any use?

Similar Threads

  1. How to send email and attachement via default email client
    By richardander in forum Qt Programming
    Replies: 3
    Last Post: 1st December 2009, 04:40
  2. Cancelling Long-running Print/Print Preview
    By ChrisW67 in forum Newbie
    Replies: 4
    Last Post: 16th June 2009, 23:05
  3. No paintEvent after window icon clicked
    By mdusz in forum Qt Programming
    Replies: 1
    Last Post: 1st February 2009, 15:04
  4. Replies: 7
    Last Post: 5th January 2009, 08:27
  5. Replies: 2
    Last Post: 12th October 2008, 14:42

Tags for this Thread

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.