Qt Kinetic + Plasma Call For Ideas / Project Plan

Ivan Čukić ivan.cukic at gmail.com
Thu May 28 20:54:50 CEST 2009


> the question is how to expose this in the API.

Maybe it could be exposed via some kind of declarative syntax (as far as 
script languages are concerned)?

For an example 
Animator::animate(item, "
   fadeIn()
   parallel {
       blur(amount, time)
       serial {
           bounce(timesToBounce)
           flip()
       }
   }
   fadeOut()
");

The default is serial, so there is no need to specify it for the whole block.

OK, this wasn't really a declarative syntax, but you get what I meant.

Cheers


More information about the Plasma-devel mailing list