support for user removing background and automatic shadow

Authored by mart on Nov 29 2019, 9:21 AM.

Description

support for user removing background and automatic shadow

Summary:
add the ability for the user to override the background hints anddecide
about applets having background or a shadow
A new handle button will be added to manually enable/disable background for
plasmoids that support it
if they don't, the ImmutableBackground flag is set in the hints.

PlasmaCore.ColorScope has been expanded to work more like Kirigami.Theme (which will be replaced by) even if it's oòld behavior still works. This makes the complementary colorscope in applets with shadow actually work (and at the same time gives a clearer porting path for kf6)

Test Plan: Tested the functionality and correct save/restore

Reviewers: Plasma, davidedmundson

Reviewed By: Plasma, davidedmundson

Subscribers: davidedmundson, ndavis, kde-frameworks-devel

Tags: Frameworks

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

Details

Committed
martNov 29 2019, 9:45 AM
Reviewer
Plasma
Differential Revision
D25590: support for user removing background and automatic shadow
Parents
R242:15e3d10ef872: support file selectors
Branches
Unknown
Tags
Unknown