touchy settings UI architecture

Sebastian Kügler sebas at kde.org
Tue Oct 25 11:32:45 UTC 2011


On Tuesday, October 25, 2011 12:31:28 Aaron J. Seigo wrote:
> > * the settings module logic is a kde c++ plugin, that has all the
> > properties for config options, plus a property that says the path of the
> > root qml file extracted from the package
> 
> this could be in the .desktop file even? the plugin is the library (as
> usual)  and the QML UI could be an additional entry. then there is no need
> to load the C++ plugin at all until needed and it is easy to test
> different UI's or re-use a UI with different C++ plugins.

That's pretty much how it works right now, but the other way round. The 
Active/SettingsModule is in principle a QML package, which loads a X-KDE-
Library, but only if one's specified, otherwise you can do it in pure QML (if 
that provides all the functionality we need already).
-- 
sebas

http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9


More information about the Active mailing list