custom widget browsers, Add Applet dialog

Dong Tiger idlecat511 at gmail.com
Tue Oct 14 06:58:52 CEST 2008


Cool! Thanks Aaron.
--
Tiger

2008/10/14 Aaron J. Seigo <aseigo at kde.org>

> hi all..
>
> i've made it possible to add a custom widget browser to the Add Applet
> dialog
> via a PackageStructure plugin. this should allow things to happen like the
> Google Gadgets to launch the browser dialog for the GG store or whatever.
>
> How It Works
> ------------------
> In the package structure's .desktop file, put an entry like this:
>
>        X-Plasma-ProvidesWidgetBrowser=true
>
> In the PackageStructure, reimplement:
>
>         void createNewWidgetBrowser(QWidget *parent = 0);
>
> and emit:
>         newWidgetBrowserFinished()
>
> when it is finished.
>
> that's it.
>
> --
> Aaron J. Seigo
> humru othro a kohnu se
> GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43
>
> KDE core developer sponsored by Qt Software
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20081014/2bf91939/attachment.htm 


More information about the Plasma-devel mailing list