diff options
Diffstat (limited to 'tests/auto/quick/qquickrepeater/data/contextProperty.qml')
-rw-r--r-- | tests/auto/quick/qquickrepeater/data/contextProperty.qml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickrepeater/data/contextProperty.qml b/tests/auto/quick/qquickrepeater/data/contextProperty.qml new file mode 100644 index 0000000000..44e76f474f --- /dev/null +++ b/tests/auto/quick/qquickrepeater/data/contextProperty.qml @@ -0,0 +1,13 @@ +import QtQuick 2.14 + +Item { + Column { + Repeater { + model: ["apples", "oranges", "pears"] + Text { + id: txt + text: modelData + index + } + } + } +} |