Hi all,

New prototype, completely different direction :)  (and that's one i
actually like)

mart/AppletAttached branch.
the root item of an applet can still be whatever item one wants, just as
current master,
but plasmoid becomes an attached property, so it would be possible to do
things like
Item {
    Plasmoid.title: i18n("stuff")
    Plasmoid.onFormFactorChanged: {...}
}

besides not having a weird Applet component that may be instantiable from
anywhere, another advantage is that the porting can be scriptable,since
Property Item compactRepresentation: can be replaced with
Plasmoid.compactRepresentation
property int minimumWidth with Layout.minimumWidth and so on.

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.

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

Cheers,
Marco Martin
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to