projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Rewrite the canvas item's paint logic.
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
declarative
/
qdeclarativevisualdatamodel
/
data
/
visualdatamodel.qml
1
import QtQuick 1.0
2
3
VisualDataModel {
4
function setRoot() {
5
rootIndex = modelIndex(0);
6
}
7
function setRootToParent() {
8
rootIndex = parentModelIndex();
9
}
10
model: myModel
11
}