[Qt-qml] Property Bindings *within* Javascript?

Charley Bay charleyb123 at gmail.com
Tue Oct 26 02:44:46 CEST 2010


>charley spaketh:
>> However, I'm trying to figure out how to *set* such a binding
>> *within* javascript.  Can this be done?

Michael respondeth:
> There is currently no API for establishing a binding from within
> javascript (PropertyChanges is currently the only way to set
> a binding "after-the-fact"). Would you mind adding a suggestion
> for this via the task tracker (http://bugreports.qt.nokia.com)?

Thanks for the answer!  Yes, I'll add a suggestion.

As an aside, for my particular problem, I decided
I don't really want to set a binding *inside* the
Javascript.  (Maybe other designs might want it,
but I decided I don't for this problem.)

So, I'm still a-rockin-and-a-rollin.  ;-))

--charley




More information about the Qt-qml mailing list