[DEMO] Enhance ToggleActionMenu with ImplicitDefaultAction mode.
Needs ReviewPublic

Authored by davidhurka on Fri, Jun 21, 7:08 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

(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.

@simgunz asked about a functionality somewhere near this in D21755#482896

Diff Detail

Repository
R223 Okular
Branch
create-configurable-toggleactionmenu
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 13103
Build 13121: arc lint + arc unit