Port custom image mode to IconItem.

Authored by hein on Mar 23 2017, 9:23 PM.

Description

Port custom image mode to IconItem.

Summary:
Simplifies compact representation to always using IconItem, now
that IconItem supports displaying non-square image sources.

Fixes missing hover highlight effect for custom image launcher
buttons.
BUG:377652

Depends on D5160 in plasma-framework to work correctly, enabling
it to learn image source aspect ratio from the IconItem's implicit
size.

A good follow-up would be aligning Kickoff and Kicker compact
representation sizing behavior and config UI now.

Reviewers: Plasma, broulik

Subscribers: plasma-devel

Tags: Plasma

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

Details

Committed
heinMar 24 2017, 12:41 PM
Differential Revision
D5162: Port custom image mode to IconItem.
Parents
R119:c8181c9fe8eb: use new property plasmoid.editMode
Branches
Unknown
Tags
Unknown