JediMaster
28th May 2013, 11:19
Hi friends,
Is there anybody know how to hide or disable the "Reload" button in the QWebView, I tried
setContextMenuPolicy(Qt::NoContextMenu);
and
page()->action(QWebPage::NavigationTypeReload)->setVisible(false);
But neither of two ways work in my Qt 4.7.1, so please help me, thanks a lot !
Is there anybody know how to hide or disable the "Reload" button in the QWebView, I tried
setContextMenuPolicy(Qt::NoContextMenu);
and
page()->action(QWebPage::NavigationTypeReload)->setVisible(false);
But neither of two ways work in my Qt 4.7.1, so please help me, thanks a lot !