Contacts in qml
-
This post is deleted! -
Hello,
Beginner too.
Can this one help you ?
http://doc.qt.nokia.com/qt5/qml-qtquick2-gridview.html#properties
-
Thanks for help. I already read that, but my problem is how to give the possibility to user to add contacts in the grid.
-
Hello,
when your toolbarbutton is clicked. You can create dynamicly "Contact":http://doc.qt.nokia.com/qtmobility/qml-contact.html element, add name and phone and call "ContactModel::saveContact()":http://doc.qt.nokia.com/qtmobility/qml-contactmodel.html#saveContact-method . Your GridView will be automaticaly updated from the model.
-
Thank you very much. I'll try.
-
Yesm i have done it. But i don't understand how to give to user the possibility to edit the contact