PDA

View Full Version : Tool Button keyboard focus?



ts230
6th April 2010, 04:08
I have a borderless window with 12 large tool buttons, and I want to let all of them have keyboard focus so they can be choosen by hitting TAB and activated by pressing Space. I am using ToolButtons instead of PushButtons because ToolButtons let me put the image above the text. Is there any way to do that with a PushButton?

aamer4yu
6th April 2010, 05:31
I want to let all of them have keyboard focus so they can be choosen by hitting TAB and activated by pressing Space.
I guess thats how they work :rolleyes:

Just tried the following - added about 6 tool buttons in designer and set them in gridlayout.. then it works with TAB and space as intended.
Have you done something else in your code ?