Results 1 to 2 of 2

Thread: Hide "Reload" in QWebView

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2012
    Posts
    5
    Qt products
    Qt4

    Question Hide "Reload" in QWebView

    Hi friends,

    Is there anybody know how to hide or disable the "Reload" button in the QWebView, I tried
    Qt Code:
    1. setContextMenuPolicy(Qt::NoContextMenu);
    To copy to clipboard, switch view to plain text mode 
    and
    Qt Code:
    1. page()->action(QWebPage::NavigationTypeReload)->setVisible(false);
    To copy to clipboard, switch view to plain text mode 

    But neither of two ways work in my Qt 4.7.1, so please help me, thanks a lot !
    Last edited by JediMaster; 28th May 2013 at 10:43.

Similar Threads

  1. How to hide Close Button "X" on Widget ?
    By merry in forum Qt Programming
    Replies: 8
    Last Post: 25th January 2020, 08:03
  2. QWebView "Adobe Flash Player Settings" can't click
    By MLangley in forum Qt Programming
    Replies: 2
    Last Post: 9th December 2011, 23:10
  3. Replies: 4
    Last Post: 19th March 2008, 17:47
  4. Translation QFileDialog standart buttons ("Open"/"Save"/"Cancel")
    By victor.yacovlev in forum Qt Programming
    Replies: 4
    Last Post: 24th January 2008, 19:05
  5. How to "hide window when close button pressed"
    By iGoo in forum Qt Programming
    Replies: 4
    Last Post: 26th July 2006, 09:53

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
  •  
Qt is a trademark of The Qt Company.