D25940: Add support for custom display components to Action

Arjen Hiemstra noreply at phabricator.kde.org
Fri Dec 13 09:47:55 GMT 2019


ahiemstra created this revision.
ahiemstra added a reviewer: Kirigami.
Herald added a project: Kirigami.
Herald added a subscriber: plasma-devel.
ahiemstra requested review of this revision.

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

TEST PLAN
  ActionToolBar and ActionsMenu still work the same. The new Action Tool Bar page
  in Kirigami Gallery displays the custom components.

REPOSITORY
  R169 Kirigami

BRANCH
  action_displaycomponent

REVISION DETAIL
  https://phabricator.kde.org/D25940

AFFECTED FILES
  src/controls/Action.qml
  src/controls/ActionToolBar.qml
  src/controls/private/ActionToolBarLayoutDetails.qml
  src/controls/private/ActionsMenu.qml

To: ahiemstra, #kirigami
Cc: plasma-devel, fbampaloukas, GB_2, domson, dkardarakos, ngraham, apol, ahiemstra, davidedmundson, mart, hein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20191213/38657eb5/attachment.html>


More information about the Plasma-devel mailing list