7da6d3a41e
This brings back the configuration for decoration plugins. As a change to the old variant the configure button is moved into the list view together with the preview. It is enabled/disabled depending on data provided by the DecorationModel. For a plugin the DecorationModel queries for a boolean "kcmodule" key in the metadata. For a theme it invokes the slot hasConfiguration with the theme name which returns whether the theme provides configuration. The actual opening of the configuration is triggered from the PreviewBridge, which uses the existing KPluginFactory to load the KCModule. The decoration plugin must provide the keyword "kcmodule" for it. So far Aurorae is adjusted and provides configuration for the Plastik decoration. The interaction with the configuration module works, but the configuration itself for Plastik seems to be currently broken. |
||
---|---|---|
.. | ||
declarative-plugin | ||
qml | ||
auroraeconfig.ui | ||
buttons.cpp | ||
buttons.h | ||
buttons.ui | ||
buttonsconfigdialog.cpp | ||
buttonsconfigdialog.h | ||
CMakeLists.txt | ||
config.ui | ||
configdialog.cpp | ||
configdialog.h | ||
decoration.ui | ||
decorationmodel.cpp | ||
decorationmodel.h | ||
kcm.cpp | ||
kcm.h | ||
kcm.ui | ||
kwindecoration.desktop | ||
Messages.sh | ||
pixmaps.h |