[SOLVED]where is the reference doucument of model.index and model.modelData
-
here is an example of a tutorial
@// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
import QtQuick 1.1ListView {
width: 150; height: 50
model: ["one", "two", "three", "four", "five"] // or just a number, e.g 10
delegate: Text { text: "Index: " + model.index + ", Data: " + model.modelData }
}
@I want to read the reference doucument of model.index and model.modelData,but I didn't find it.
-
Rre you looking for "this?":http://doc.qt.digia.com/qt/qdeclarativemodels.html