Switch to using Kirigami's ShadowedRectangle

Authored by leinir on Mar 25 2020, 8:29 AM.

Description

Switch to using Kirigami's ShadowedRectangle

Summary:
This switches from using the QML DropShadow to using the
new, high efficiency ShadowedRectangle in Kirigami.

  • Modify (and equalise logic) in GridTileDelegate
  • Clean up EntryScreenshots, and use ShadowedRectangle
  • Also use ShadowedRectangle in the bigpreview and tile delegates

Test Plan:
No visible changes (as expected) from the switch
Minor visible change from the EntryScreenshots modifications (now correctly shows the shadows all the way around)

Screenshots component without changes:

Screenshots component with changes:

Reviewers: KNewStuff, Frameworks, Plasma, ahiemstra, broulik, mart, VDG

Reviewed By: Plasma, broulik

Subscribers: davidedmundson, ngraham, kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D28220

Details

Committed
leinirApr 2 2020, 8:54 AM
Reviewer
Plasma
Differential Revision
D28220: Switch to using Kirigami's ShadowedRectangle
Parents
R304:7d6db88117e5: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown