Settings for pure QML applet

Aaron J. Seigo aseigo at kde.org
Wed May 1 10:38:45 UTC 2013


On Wednesday, May 1, 2013 11:30:37 David Edmundson wrote:
> Another possible solution is to create a new QWidget in C++ that has a
> Q_PROPERTY with "USER true" so that it can be read in/out with
> KConfigXT. Add this via QDesignerCustomWidgetInterface so that it can
> be created by QUILoader. Then add your custom widget to your plasma
> config .ui file as a promoted widget.

This is almost certainly the cleanest solution for plasma1, as it won't break 
consistency anywhere. Very nice and inventive, too :)

-- 
Aaron J. Seigo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20130501/3b0f13dc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20130501/3b0f13dc/attachment.sig>


More information about the Plasma-devel mailing list