<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Hi all,</div><div><br></div><div>New prototype, completely different direction :)  (and that's one i actually like)</div><div><br></div><div>mart/AppletAttached branch.<br>
</div><div>the root item of an applet can still be whatever item one wants, just as current master,</div><div>but plasmoid becomes an attached property, so it would be possible to do things like<br></div><div>Item {</div>
<div>    Plasmoid.title: i18n("stuff")</div><div>    Plasmoid.onFormFactorChanged: {...}</div><div>}</div><div><br></div><div>besides not having a weird Applet component that may be instantiable from anywhere, another advantage is that the porting can be scriptable,since</div>
<div>Property Item compactRepresentation: can be replaced with Plasmoid.compactRepresentation</div><div>property int minimumWidth with Layout.minimumWidth and so on.</div><div><br></div><div>I would make a fullRepresentation property available as well, but to fallback to consider the root object the full representation if not provided. this way less porting is needed and containments' main.qml won't look completely stupid.</div>
<div><br></div><div>in any case both if this one or the other one is chosen, the systray will have to be quite refactored, but i *may* have an idea to remove completely appletinterface from the systray implementation</div>
<div><br></div><div>Cheers,</div><div>Marco Martin</div></div><br></div></div>