D28314: Allow setting separate corner radii for ShadowedRectangle

Arjen Hiemstra noreply at phabricator.kde.org
Thu Mar 26 16:35:24 GMT 2020


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 "corners" grouped property that allows setting separate radii for
  the different corners of ShadowedRectangle. By default, these are ignored and
  instead the value of "radius" is used.

TEST PLAN
  The manual test has been updated, it should look like this:

REPOSITORY
  R169 Kirigami

BRANCH
  shadowedrect_separatecorners

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

AFFECTED FILES
  src/kirigamiplugin.cpp
  src/scenegraph/shadowedborderrectangle.frag
  src/scenegraph/shadowedborderrectangle_core.frag
  src/scenegraph/shadowedrectangle.frag
  src/scenegraph/shadowedrectangle_core.frag
  src/scenegraph/shadowedrectanglematerial.h
  src/scenegraph/shadowedrectanglenode.cpp
  src/scenegraph/shadowedrectanglenode.h
  src/shadowedrectangle.cpp
  src/shadowedrectangle.h
  tests/ShadowedRectangleTest.qml

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


More information about the Plasma-devel mailing list