On 2013-03-06 09:41, Kevin Wright wrote:
> While developing one of the U1Db-Qt examples I came across a situation
> where I didn't necessarily want to use a ListView, because I only
> wanted to retrieve one known document.
Instead of a ListView I suggest directly using the TextField on its own
(incomplete snippet):
U1db.Document { id: aDocument
create: true
defaults: { "sound": "off", "music": "off" }
TextField { text: aDocument.contents.sound }
I think there may be a bug related to saving, so currently it probably
fails to update as you type. I'll investigate it.
ciao,
Christian
--
Mailing list: https://launchpad.net/~uonedb-qt
Post to : [email protected]
Unsubscribe : https://launchpad.net/~uonedb-qt
More help : https://help.launchpad.net/ListHelp