D26039: [Plasma Style KCM] Add search filter

David Redondo noreply at phabricator.kde.org
Mon Dec 16 08:42:03 GMT 2019


davidre created this revision.
davidre added reviewers: Plasma, VDG, broulik.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
davidre requested review of this revision.

REVISION 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.

REPOSITORY
  R119 Plasma Desktop

BRANCH
  filtermodel

REVISION DETAIL
  https://phabricator.kde.org/D26039

AFFECTED FILES
  kcms/desktoptheme/CMakeLists.txt
  kcms/desktoptheme/filterproxymodel.cpp
  kcms/desktoptheme/filterproxymodel.h
  kcms/desktoptheme/kcm.cpp
  kcms/desktoptheme/kcm.h
  kcms/desktoptheme/package/contents/ui/ThemePreview.qml
  kcms/desktoptheme/package/contents/ui/main.qml
  kcms/desktoptheme/themesmodel.cpp
  kcms/desktoptheme/themesmodel.h

To: davidre, #plasma, #vdg, broulik
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20191216/07ba5a68/attachment.html>


More information about the Plasma-devel mailing list