This adds a "displayComponent" property to Action, which allows specifying a
component to use when displaying an Action. Support is added to ActionToolBar
and ActionsMenu for displaying these custom components.
Demo:
mart |
Kirigami |
This adds a "displayComponent" property to Action, which allows specifying a
component to use when displaying an Action. Support is added to ActionToolBar
and ActionsMenu for displaying these custom components.
Demo:
ActionToolBar and ActionsMenu still work the same. The new Action Tool Bar page
in Kirigami Gallery displays the custom components. (See D25941)
No Linters Available |
No Unit Test Coverage |
Buildable 19776 | |
Build 19794: arc lint + arc unit |
src/controls/Action.qml | ||
---|---|---|
151 ↗ | (On Diff #71415) | @since 2.12 |