Plasma applets inside QML applet
Marco Martin
notmart at gmail.com
Sun Jun 24 12:38:54 UTC 2012
On Sunday 24 June 2012, David Edmundson wrote:
> > this is a case where one needs to take a step back and consider exactly
> > what is the final needed result whitout assumptions on how to get there
> > "ie applets in applets"
> >
> > putting applets inside other applets instead of directly in a
> > containment is generally not a good idea. the systray plasmoid does this
> > mostly for functional requisites, but this is causing quite some
> > problems there as well, since the applet base class codebase is designed
> > for having its lifecycle managed by a containment instance.
>
> What about the case of the calendar in the digital clock?
i think the calendar should be a qml component in plasmaextras.
all the machinery typical of the Applet class is not really needed for a
calendar, but i think there is a case for a reusable calendar.
then the calendar applet would just be an applet that has only that component
and that's it.
Cheers,
Marco Martin
More information about the Plasma-devel
mailing list