Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qmlvisual / qdeclarativepositioners / usingRepeater.qml
1 import QtQuick 1.0
2
3 Item{
4     width: 40; height: 320
5     Column{
6         Rectangle{color:"Red"; width:40; height:40;}
7         Repeater{
8             id: rep
9             model: 3
10             delegate: Component{Rectangle{color:"Green"; width:40; height:40; radius: 20;}}
11         }
12         Rectangle{color:"Blue"; width:40; height:40;}
13     }
14     Timer{ interval: 250; running: true; onTriggered: rep.model=6;}
15     Timer{ interval: 500; running: true; onTriggered: Qt.quit();}
16 }