(This is not a merge request.)
This allows to use ToggleActionMenu as nearly drop-in replacement for ToolAction,
without additional code statements.
ImplicitDefaultAction mode means that the default action of the toolbar buttons
is determined by the last triggered action,
or the first checked action in the menu.
This patch is not fully tested.