it still has some serious problems:
-animation not smooth
-the deformation is linear, the applet appears broken
-unfortunately the ShaderEffect must be a lot bigger thanthe thing it deforms because it looks clipped now
This patch changes the version numbers of the plugins to 2.0. This
includes the previously 0.1 plasmacomponents, extras and
qtextracomponents. DragandDrop, which was at 1.0 is now also at 2.0.
Also, all the QML code has been changed to import the 2.0 plugins.
As a side-effect, we now share a version number with QtQuick 2.0 now.
completely migrate to X-Plasma-ContainmentType from the desktop file, use it to set the containment type as soon as possible (in Containment::init())
in this way the desktop script can recognize panels as what they are immediately
This is just an experiment to show how we can use shaders for our
animations within the containment. It seems to work nicely.
The shader code has been borrowed from the shadereffects example in Qt's
declarative module.
use a component incubator to create objects whuile the event loop is running
load applets ui only when they get a view
it will have to be cleaned out a lot, by moving the loading logic into AppletInterface
applet remove animation
At the moment is possible only to animate the disappearance of the background, the applet is immediately deleted.
how could be possible to animate the applet as well? (the graphic object should get to live more than Applet* and AppletScript* themselves)