On 03/06/2013 01:50 PM, Christian Dywan wrote:


For bi-directional changes, it should be something like this:

aDocument { …
onContentsChanged: soundSetting.text = contents.sound
… }
TextField { id: soundSetting; onAccepted: {var foo = aDocument.contents;
foo.sound = text; aDocument.contents=foo } }


As of revision 35 this approach appears to work very nicely.

There is area in u1db-qt-example-3 where I have just applied it and it worked as described.

Thanks.

Kevin



--
Mailing list: https://launchpad.net/~uonedb-qt
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~uonedb-qt
More help   : https://help.launchpad.net/ListHelp

Reply via email to