Skip to content
  • Arjen Hiemstra's avatar
    Add support for custom display components to Action · 22d31898
    Arjen Hiemstra authored
    Summary:
    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: {F7816226}
    
    Test Plan:
    ActionToolBar and ActionsMenu still work the same. The new Action Tool Bar page
    in Kirigami Gallery displays the custom components. (See D25941)
    
    Reviewers: #kirigami, mart
    
    Reviewed By: #kirigami, mart
    
    Subscribers: mart, plasma-devel
    
    Tags: #kirigami
    
    Differential Revision: https://phabricator.kde.org/D25940
    22d31898