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 property can be used to indicate preferences on how to display the action to implementations using Action. It mimics some of the behaviour of QAction's priority property, but is more explicit and allows some behaviour the priority property would not. Additionally, this changes PrivateActionToolButton to make use of the displayHint property for its showText and showMenuArrow properties. TEST PLAN Tool buttons created through actions in Kirigami gallery still show their text and menu arrows. REPOSITORY R169 Kirigami BRANCH action_displayhint REVISION DETAIL https://phabricator.kde.org/D25176 AFFECTED FILES src/controls/Action.qml src/controls/private/PrivateActionToolButton.qml To: ahiemstra, #kirigami Cc: plasma-devel, fbampaloukas, GB_2, domson, dkardarakos, ngraham, apol, ahiemstra, davidedmundson, mart, hein