Programming Keyboard Focus!
I have a tabbed interface and I can move between the tabs by using two push buttons named next and back. I want to control the keyboard focus to be on different buttons on different tabs.
How do I do this?
I don't know if this is what you want, but I have a tabbed interface and an add button in my pages, I can press "Ctrl" + "+" and only the active tab respond
connect(add, SIGNAL(triggered()), this, SLOT(slotAdd()));
Edit: I'm so sorry I misunderstand the question, you can set focus with
and a QTabWidget has a signal called @currentChanged@
so you just have to acess a child of your new Widget and set the focus to it..