[Development] Toolability of mixing QML and JS
Thomas Hartmann
Thomas.Hartmann at digia.com
Wed Jun 26 15:17:30 CEST 2013
Hi,
>
> Isn't that what "when" is for?
>
> states: [
> State {
> name: "someState"
> when: mousearea.pressed
> …
>
> but that's a property change whereas you are talking about connecting to a signal I suppose? But a property change is notified by means of a signal anyway.
>
Yes we can use it, bit it has slightly different semantics (as you point
out). It would be nice also be able to react to signals in a purely
declarative way.
Kind Regards,
Thomas Hartmann
More information about the Development
mailing list