diff options
Diffstat (limited to 'benchmarks/auto/creation/quick/delegates_item_empty.qml')
-rw-r--r-- | benchmarks/auto/creation/quick/delegates_item_empty.qml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/benchmarks/auto/creation/quick/delegates_item_empty.qml b/benchmarks/auto/creation/quick/delegates_item_empty.qml new file mode 100644 index 0000000..f8d8607 --- /dev/null +++ b/benchmarks/auto/creation/quick/delegates_item_empty.qml @@ -0,0 +1,22 @@ +import QtQuick 2.0 + +Item { + id: root; + property int count: 50; + property int staticCount: 5000; + + property real t; + NumberAnimation on t { from: 0; to: 1; duration: 1000; loops: Animation.Infinite } + onTChanged: { + repeater.model = 0; + repeater.model = root.count + } + + Component.onCompleted: repeater.model = root.count + + Repeater { + id: repeater + Item { + } + } +} |