Plasma applets inside QML applet

Dmitry dmitry.ashkadov at rosalab.ru
Sat Jun 23 20:33:15 UTC 2012


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!


More information about the Plasma-devel mailing list