PDA

View Full Version : disabling a default Alt-key behavior



roxton
4th June 2008, 16:15
I have found that pressing an Alt key (Linux, Qt 4.3) without any other key (i.e. not a shortcut like Alt-N, etc) moves keyboard focus to the menu bar. It there any method to disable such behaviour? For example, I have a QTextEdit focused. I'm pressing, for example. Alt-P (iassigned via QKeySequence/QAction). And I press Alt a few time before the "P" key. So the editor lost a focus and focus moves to the menu items.