I use QWebView component and I need use custom menu or disable context meny (menu with review link downloadn image, reload page and other).

I find function
bool swallowContextMenuEvent ( QContextMenuEvent * event )
but I not know how.