2 import tst_qquickvisualdatamodel 1.0
7 model: VisualDataModel {
9 objectName: "visualModel"
12 VisualDataGroup { id: visibleItems; objectName: "visibleItems"; name: "visible"; includeByDefault: true },
13 VisualDataGroup { id: selectedItems; objectName: "selectedItems"; name: "selected" }
16 model: SingleRoleModel {}
21 objectName: "delegate"
24 property variant test1: index
25 property variant test2: model.index
26 property variant test3: name
27 property variant test4: model.name
28 property variant test5: modelData
29 property variant test6: model.modelData
32 function setTest3(arg) { name = arg }
33 function setTest4(arg) { model.name = arg }
34 function setTest5(arg) { modelData = arg }
35 function setTest6(arg) { model.modelData = arg }