Hi friends!

I'm doing a level editor (similar to corel draw, with a QToolBar with different tools like hand, cursor, rectangle...). I'd like that pressing C key, cursor is selected, no problem if I rewrite keyPressedEvent, but I want to select my 'hand' tool when pressing SPACE, it seems QToolBar grabs this key.

Any suggestion?

BTW, I'm using QActionGroup in order to have one and only one tool selected.

Thanks a lot for your help.