is there any why to add item to QDeclarativeListProperty from qml file at run time?
in a loop, for example.
Qt Code:
  1. var i;
  2. for(i = 0 ; i < listOfItems.length ; ++i)
  3. {
  4. listOfItems.append(MyItem {
  5. text:"list"+i
  6. })
  7. }
To copy to clipboard, switch view to plain text mode 

and listOfItems is the QDeclarativeListProperty list...
i dont want to do it like this:
Qt Code:
  1. listOfItems:
  2. [
  3. MyItem
  4. {
  5. text:"list val1"
  6. },
  7. MyItem
  8. {
  9. text:"list val2"
  10. }
  11. ......
To copy to clipboard, switch view to plain text mode