diff options
Diffstat (limited to 'tests/auto/qml/qmllint/data/delegateContextProperties.qml')
-rw-r--r-- | tests/auto/qml/qmllint/data/delegateContextProperties.qml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/delegateContextProperties.qml b/tests/auto/qml/qmllint/data/delegateContextProperties.qml new file mode 100644 index 0000000000..4e133a38de --- /dev/null +++ b/tests/auto/qml/qmllint/data/delegateContextProperties.qml @@ -0,0 +1,9 @@ +import QtQuick + +ListView { + model: ListModel {} + delegate: Text { + text: model.text + color: index % 2 ? "red" : "blue" + } +} |