AlexSawczuk
18-08-2011 04:15:34
Hi,
I was wondering what the best way to add 'keyboard' shortcuts to buttons etc is. So that when I press this key it triggers the same delegate as the eventMouseButtonClick does. I see there's a eventKeyButtonPressed action, can I use this to do that? Or does that only work went the item has 'focus', I kinda want to press escape for exit, space for resume etc.
Cheers
I was wondering what the best way to add 'keyboard' shortcuts to buttons etc is. So that when I press this key it triggers the same delegate as the eventMouseButtonClick does. I see there's a eventKeyButtonPressed action, can I use this to do that? Or does that only work went the item has 'focus', I kinda want to press escape for exit, space for resume etc.
Cheers