Review Request 122706: A KCModule base for QML based KCMs
Marco Martin
notmart at gmail.com
Wed Feb 25 15:19:38 UTC 2015
On Feb. 25, 2015, 12:07 p.m., Marco Martin wrote:
> > Also, would it maybe make sense to have a different library in KConfigWidgets for this? It seems quite disjoint from the rest...
it's a base kcmodule, so i don't think so
- Marco
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122706/#review76597
-----------------------------------------------------------
On Feb. 24, 2015, 10:39 a.m., Marco Martin wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/122706/
> -----------------------------------------------------------
>
> (Updated Feb. 24, 2015, 10:39 a.m.)
>
>
> Review request for KDE Frameworks.
>
>
> Repository: kconfigwidgets
>
>
> Description
> -------
>
> this adds a new class called KCModuleQml
> it loads a KPackage with the same plugin name as the kcm, then loads its mainscript qml file from it and puts it in a QQuickView used as main widget of the KCM.
>
> It supports two ways of loading the qml:
> one is in the showevent of the KCM qwidget, this is compatible with current Systemsettings and kcmshell.
> the other way is with the mainUi accessor/qproperty. This will make possible for a pure QML version of systemsettings (accessing directly mainUi without showing qwidgets)
>
>
> Diffs
> -----
>
> CMakeLists.txt f3aaf18
> src/CMakeLists.txt 10862c6
> src/kcmoduleqml.h PRE-CREATION
> src/kcmoduleqml.cpp PRE-CREATION
>
> Diff: https://git.reviewboard.kde.org/r/122706/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Marco Martin
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150225/fca9655d/attachment.html>
More information about the Kde-frameworks-devel
mailing list