View Full Version : Assigning QActions without a QMenuBar nor toolbars

14th October 2008, 12:58

I have this widget which needs a lot of actions, but I don't want to put those actions on a menu, but I still need those actions to have a valid shortcut.

Another problem I have is that when adding actions to a hidden menuBar, the shortcuts have no effect.

Any ideas how to workaround this issue?

14th October 2008, 19:35
See QWidget::addAction().