Revision 752203

Go back to digest for 30th December 2007

Other in KDE Base

Will Stephenson committed changes in /trunk/KDE/kdebase/workspace/systemsettings:

Port System Settings to Interview using a copy of Dolphin's KCategorizedView. This improves item layouting now and will allow more appropriate sorts, as well as alternate views (KControl emulation mode anyone?).

This replaces the attractive desaturate effect for search misses with the standard behaviour that only hits are shown by the proxy model. This is arguably less attractive but more familiar and accessible.

The KCategor* classes are COPIED from Dolphin but will be synced and removed when they move to kdelibs in 4.1.

TODO: figure out why KCategorizedSortFilterProxyModel doesn't emit layoutChanged() when the model is filtered - this prevents us updating the number of search hits at present.
TODO: get ereslibre to remove the omnipresent rubberband from KCategorizedView
TODO: add weights to the categories and sort the model according to them
TODO: add a custom KCategoryDrawer to draw the category icon in the view

TODO: add a custom delegate?

File Changes

Added 9 files
  • /trunk/KDE/kdebase/workspace/systemsettings
  •   /kcategorizedview.cpp
  •   /kcategorizedview.h
  •   /kcategorizedview_p.h
  •   /kcategorydrawer.cpp
  •   /kcategorydrawer.h
  •   /kcmodulemodel.cpp
  •   /kcmodulemodel.h
  •   /menuitem.cpp
  •   /menuitem.h
Deleted 2 files
  • /trunk/KDE/kdebase/workspace/systemsettings
  •   /kcmodulemenu.cpp
  •   /kcmodulemenu.h
Modified 3 files
  • /trunk/KDE/kdebase/workspace/systemsettings
  •   /CMakeLists.txt
  •   /mainwindow.cpp
  •   /mainwindow.h
14 files changed in total