[SwipeListItem] Use a real toolbutton to improve usability

Authored by ngraham on Feb 10 2019, 7:20 PM.

Description

[SwipeListItem] Use a real toolbutton to improve usability

Summary:
Use a real toolbutton instead of a custom icon + mouse area, which
provides hovered and clicked states automatically and simplifies
the code a bit.

BUG: 403641
FIXED-IN: 5.56

Test Plan:
Hovered state:


Pressed state:

Reviewers: mart, Kirigami

Reviewed By: mart, Kirigami

Subscribers: apol, plasma-devel

Tags: Kirigami

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

Details

Committed
ngrahamFeb 11 2019, 4:02 PM
Reviewer
Kirigami
Differential Revision
D18908: [SwipeListItem] Use a real toolbutton to improve usability
Parents
R169:023c6ea87366: support for optional alternating backgrounds
Branches
Unknown
Tags
Unknown