D15143: Allow creation of separator Actions

Dimitris Kardarakos noreply at phabricator.kde.org
Wed Aug 29 13:16:53 BST 2018


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

REVISION SUMMARY
  The QAction class allows an action to be considered a separator. In Kirigami Action the separator property and the isSeparator function have been added to serve the same purpose. A set of delegates have been changed to draw a separator in case that an Action with separator:true has been found in the model.

TEST PLAN
  Add contextual or global actions like this:
  
  Kirigami.Action {
  
    separator: true
  
  }

REPOSITORY
  R169 Kirigami

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

AFFECTED FILES
  src/controls/Action.qml
  src/controls/BasicListItem.qml
  src/controls/ContextDrawer.qml
  src/controls/GlobalDrawer.qml
  src/controls/private/ActionsMenu.qml
  src/controls/templates/AbstractListItem.qml

To: dkardarakos, mart
Cc: plasma-devel, apol, davidedmundson, mart, hein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180829/19272a88/attachment.html>


More information about the Plasma-devel mailing list