Qt-interest Archive, May 2007
activate QMenuBar programatically
Message 1 in thread
Hello,
I would like to set focus to QMenuBar programatically but I didn't find
any way how to do it. I'm catching key events and when I catch Alt key I
would like to activate menu bar. I tried to set active action in menu
bar or set focus to it but it doesn't help me.
I'm catching keys in some subwindow in QMainWindow (platform dependent
code) and alt key there doesn't activate menu bar itself. So is there
any method for it I didn't find?
Thanks for help.
--
[ signature omitted ]