I sent this to kde-devel: I worked on the context part, the motor is
almost done.
Then we'll have just to recreate the applets.
Cheers
Olivier
-------- Message transféré --------
Sujet : Re: Custom shell/container in plasma for applications
Date : Thu, 26 Nov 2015 22:09:03 +0100
De : Olivier Churlaud <oliv...@churlaud.com>
Répondre à : kde-de...@kde.org
Pour : kde-de...@kde.org
I forgot to say: if you want to try it, please use the branch of
plasma-framework mart/customShell
Cheers
Olivier
Le 26/11/2015 22:07, Olivier Churlaud a écrit :
Hi,
with the help of notmart, I created custom shell + container + corona,
that that could be used by applications to render applets. I pushed
all this on [1]. It's not pretty, the goal was just to test and play
around.
While doing this, I realized that the shell can only load applets
which are in plasma/applets, the container must be in
plasma/containment, and the shell in plasma/shell. All this is because
of the place where KPackage is searching
I think that i every application creates its own
containment/shell/applets, the packages should be put in places that
depend on the applet. Else, I think that it will be a mess. For
instance, I do this for Amarok: it would be unfortunate that the shell
tries to load an applet designed for Amarok.
I don't know if it can be useful for other projects, but when I'll
have a really basic app (it's almost there, I just want to remove some
parts of the code and put everything in a QDialog), I'll put the
example on the wiki. Maybe also in the example folder of
plasma-framework?
Well, it was more an information, but if you have feedback about the
code or about what we could do about it, please speak up :D
Cheers,
Olivier
[1] https://quickgit.kde.org/?p=scratch%2Fochurlaud%2Fplasma-skratch.git
Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
unsubscribe <<
Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
_______________________________________________
Amarok-devel mailing list
Amarok-devel@kde.org
https://mail.kde.org/mailman/listinfo/amarok-devel