a8534bd967
Need to do some basic checks like bounds checking And make the images show back up
29 lines
573 B
QML
29 lines
573 B
QML
import QtQuick 2.4
|
|
|
|
ListModel {
|
|
id: nestedModel
|
|
objectName: "nestedModel"
|
|
function get1() {
|
|
console.log(get(0))
|
|
return get(0)
|
|
}
|
|
ListElement {
|
|
categoryName: "Cars"
|
|
collapsed: true
|
|
subItems: [
|
|
ListElement {
|
|
itemName: "tst"
|
|
},
|
|
ListElement {
|
|
itemName: "Tota"
|
|
},
|
|
ListElement {
|
|
itemName: "vy"
|
|
},
|
|
ListElement {
|
|
itemName: "Audio Adrenaline"
|
|
}
|
|
]
|
|
}
|
|
}
|