Plasma applets inside QML applet

Dmitry dmitry.ashkadov at rosalab.ru
Mon Jun 25 10:12:22 UTC 2012


25.06.2012 13:24, Marco Martin пишет:
> On Monday 25 June 2012, Dmitry Ashkadov wrote:
>> Hello!
>>
>> I'm trying to implement a system tray in QML. So, I have a trouble with
>> applets such as battery, notifier, notifications. They [applets] should be
>> mixed with icons of applications and tray must have an arrow to show popup
>> dialog.
>>
>> Thank you
> a qml based systray will be very useful indeed!
>
> however i think in this case will have to be mixed with c++, so reusing part
> of the code of the old one, for two things:
> * embedding applets (plasmoidtaskprotocol)
> * and for the legacy xembed based systray icons, that should continue to be
> supported while we are still on X11 (killing it with joy when we'll move to
> wayland ;)
>
> so i think you should basically take the current c++ systray, strip it from
> all the ui code, then start to embed a qml ui in it
>
> Cheers,
> Marco Martin
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
Hello!

I'm using C++ as a plugin for QML applet, not C++ applet with UI in QML. 
As for now it [systray applet] contains applets (but it isn't a good 
way) mixed with icons of other applications. I'm trying to find better 
way to place applets into tray.

Thank you, Martin, for your help.




More information about the Plasma-devel mailing list