[Plasma Style KCM] Add search filter

Authored by davidre on Dec 17 2019, 1:53 PM.

Description

[Plasma Style KCM] Add search filter

Summary:
Addsm the ability to filter themes by name by typing in the search line or
whether they use the current color scheme or if they are light or dark if they
do not. To enable this the model is extracted out into its own class and a
QSortFilterProxyModel is added for the Filtering. This is mostly based on the
same functionality of the Colors KCM and uses the same heuristic to decide if a
theme is light or dark.

Test Plan:

Reviewers: Plasma, VDG, broulik, ndavis, ngraham, ervin

Reviewed By: VDG, ndavis, ngraham, ervin

Subscribers: ervin, ndavis, crossi, plasma-devel

Tags: Plasma

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

Details

Committed
davidreMon, Dec 23, 5:28 PM
Reviewer
VDG
Differential Revision
D26039: [Plasma Style KCM] Add search filter
Parents
R119:c9eaa0d9ae73: [KCM/Component] Clean deprecated code, modernize code
Branches
Unknown
Tags
Unknown