Plasma applets inside QML applet

Djuro Drljaca djurodrljaca at gmail.com
Sat Jun 23 21:48:30 UTC 2012


Hello,

it would probably useful if you also provided an example where you want to
use this. I don't know enough about what this, but you will probably get
better information or even another way to do what you want to achieve if
there is more information on the background of the problem.

Regards,
Djuro Drljaca

On Sat, Jun 23, 2012 at 10:33 PM, Dmitry <dmitry.ashkadov at rosalab.ru> wrote:

> Hello!
>
> I'm developing an applet in QML. I need to load an external applet and to
> place it into my applet like  containment applet, like panel or system
> tray. But at the same time my applet isn't a pure containment applet [it
> doesn't contain only applets]. Do You know how I can do it or it's not
> possible?
>
> I'd like to do like next:
>
> Applet { // like Svg
>    id: battery_applet
>    name: "battery" // name of applet to be loaded (like argument of
> function Plasma::Applet::load(name, ...) )
> }
>
> AppletItem { // like SvgItem
>    applet: battery_applet
>    width: 20
>    height: width
>    ...
> }
>
> Thank you!
> ______________________________**_________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/**listinfo/plasma-devel<https://mail.kde.org/mailman/listinfo/plasma-devel>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20120623/71f47473/attachment.html>


More information about the Plasma-devel mailing list