Hi friends,
Is there anybody know how to hide or disable the "Reload" button in the QWebView, I tried
setContextMenuPolicy(Qt::NoContextMenu);
setContextMenuPolicy(Qt::NoContextMenu);
To copy to clipboard, switch view to plain text mode
and
page()->action(QWebPage::NavigationTypeReload)->setVisible(false);
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 !
Bookmarks