Results 1 to 2 of 2

Thread: Update data from QML when using QAbstractListModel

  1. #1
    Join Date
    Jan 2010
    Posts
    190
    Thanks
    18
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Update data from QML when using QAbstractListModel

    Hi! I'm using a C++ implementation of QAbstractListModel to provide data to a ListView in QML. I also need now to update data by changing values. May you please address me to the/a correct way to do this from QML?
    Thanks!

  2. #2
    Join Date
    May 2011
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows Symbian S60

    Default Re: Update data from QML when using QAbstractListModel

    Hi,
    You can find an example on how this can be done here:
    http://doc.qt.nokia.com/latest/qdecl...from-delegates
    Cheers,
    Bo

Similar Threads

  1. QSqlQueryModel data update
    By psi in forum Qt Programming
    Replies: 4
    Last Post: 20th July 2012, 04:59
  2. How to update GUI promptly with data sent from threads
    By Eos Pengwern in forum Qt Programming
    Replies: 3
    Last Post: 7th October 2010, 12:33
  3. Live Update data in table
    By abghosh in forum Qt Programming
    Replies: 8
    Last Post: 25th February 2010, 19:16
  4. Replies: 2
    Last Post: 21st October 2009, 09:13
  5. Not corect record pos in data table after update
    By zlatko in forum Qt Programming
    Replies: 3
    Last Post: 1st May 2006, 17:51

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.