Commit a079df6a authored by Marco Martin's avatar Marco Martin

support for multilevel kcms

Make the title a toolbutton, and when there are multiple levels, make
a breadcrumb out of buttons.
clicking on buttons will navigate the levels(keyboard shortcuts work too)

a similar modification will be needed to be done to KCMShell
depends from D14580

Test Plan:
Added a level to a kcm, works as intended
This latest version works correctly on both the sidebar and icongrid systemsettings mode

Reviewers: #plasma, #vdg, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: davidedmundson, abetts, plasma-devel

Tags: #plasma

Differential Revision:
parent 05c4409a
......@@ -219,6 +219,10 @@ void ModuleView::updatePageIconHeader( KPageWidgetItem * page, bool light )
page->setHeader( moduleInfo->comment() );
page->setIcon( QIcon::fromTheme( moduleInfo->icon() ) );
//HACK: not much other ways to detect is a qml kcm
if (moduleProxy->realModule()->inherits("KCModuleQml")) {
if( light ) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment