blob: 0d4d9e2e460ca26bc804edb4f4f71673d5618873 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import QtQuick 2.0
VisualDataModel {
function setRoot() {
rootIndex = modelIndex(0);
}
function setRootToParent() {
rootIndex = parentModelIndex();
}
model: myModel
delegate: Item {}
}
|