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 <<

Reply via email to