Add edit button to desktop theme

Authored by davidedmundson on Nov 21 2017, 12:05 PM.

Description

Add edit button to desktop theme

Summary:
This option is only visible in plasmathemeexplorer is installed. This
makes it easy to edit themes, without cluttering the UI of normal users.

Edit button is made similar to the action buttons in the wallpaper
delegate. (though this is copying an existing bug of of using
plasmacomponents where they shouldn't be)

MouseArea got collapsed into the parent Item in the delegate as it makes
for more readable implicit z-ordering to have the button on top.

Test Plan:
Clicked on one, explorer for that theme appeared.
Faked not having theme explorer by temporarily putting a typo in the service name. No buttons showed

Reviewers: Plasma, apol

Reviewed By: apol

Subscribers: jensreuterberg, apol, abetts, ngraham, plasma-devel

Tags: Plasma

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

Details

Committed
davidedmundsonNov 21 2017, 12:05 PM
Reviewer
apol
Differential Revision
D8006: Add edit button to desktop theme
Parents
R119:26720403c737: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown