PDA

View Full Version : cancle right click context menu in qtwebkit



umen
6th August 2009, 14:48
Hello all
i just started to learn about qtwebkit ( and qt in general )
i build simple application that load html page via rc file
all works fine , the only thing i need now is to cancel the right click menu ( that contains the back and reload functions )
how can i do it ?
Thanks

iridium
6th August 2009, 22:06
this->setContextMenuPolicy(Qt::NoContextMenu);
where this is ur webview instance should disable the menu.