[Qt-interest] Toggle visibility of a QMainWindow's menu bar?

R. Reucher rene.reucher at batcom-it.net
Tue Jan 13 09:24:57 CET 2009


On Tue January 13 2009 09:16:59 Anthony Serdyukov wrote:
> Yes, actions on hidden menu and tool bars cannot be fired via shortcuts.
> But adding actions to some visible (it's important) widget (as if you
> want actions to be in widget's context menu) solves the problem.
> Just set contextPolicy of that widget to Qt::NoContextMenu, and
> everything should be fine.
Thanks for the info! I already found a different solution to that problem. See 
other post...

Regards, René
-- 
René Reucher
rene.reucher at batcom-it.net
http://www.batcom-it.net/

It seems like the less a statesman amounts to, the more he loves the
flag.




More information about the Qt-interest-old mailing list