[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Plasma applets inside QML applet
From:       David Edmundson <david () davidedmundson ! co ! uk>
Date:       2012-06-24 12:11:46
Message-ID: CAGeFrHCU6Sv9C5OokX6TJc=TT_3i3VxkQ5tsinx_S26ahira4A () mail ! gmail ! com
[Download RAW message or body]

On Sun, Jun 24, 2012 at 11:05 AM, Marco Martin <notmart@gmail.com> wrote:
> On Saturday 23 June 2012, Dmitry wrote:
>> Hello!
>>
>> I'm developing an applet in QML. I need to load an external applet and
>> to place it into my applet like =A0containment 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?
>
> this is a case where one needs to take a step back and consider exactly w=
hat
> is the final needed result whitout assumptions on how to get there "ie ap=
plets
> in applets"
>
> putting applets inside other applets instead of directly in =A0a containm=
ent is
> generally not a good idea. the systray plasmoid does this mostly for
> functional requisites, but this is causing quite some problems there as w=
ell,
> 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?

>
> So is not something that is going to be supported in qml, i don't think
> (i would like also to think about an alternate way for the systray in pla=
sma2
> that wouldn't have those problems)
>
> if in the end what you need can be done with a classical containment, but=
 done
> in qml, there are several examples in the plasma-mobile repository.
> it's still a bit quirky because in plasma1 applets are qgraphicswidgets a=
nd
> this doesn't play extremely well with qml, but it works already.
>
> Cheers,
> Marco Martin
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel@kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic