PDA

View Full Version : QToolbar on QMainWindow



paolom
18th October 2010, 10:39
Hi,

I want to disable the default right-click menu on a Toolbar that permit to show or hide all the toolbar on the QMainWindow.

Is it possible???

Thanks,

Paolo

wysota
18th October 2010, 10:54
If you intercept context menu request events and possibly mouse events then yes.

agathiyaa
18th October 2010, 14:31
http://www.qtcentre.org/threads/31498-QToolBar-How-do-you-suppress-the-right-click-menu-that-allows-hiding-the-toolbar?p=146871&highlight=#post146871