add modal demo

This commit is contained in:
王劲鹏
2021-04-21 11:08:49 +08:00
committed by osborn
parent 7202bbfe67
commit e735beba1e
4 changed files with 13 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ ApplicationWindow {
ListView {
width: parent.width
model: 5
model: 6
delegate: Rectangle {
Column {
anchors.centerIn: parent
@@ -29,8 +29,10 @@ ApplicationWindow {
case 2:
return "LayoutDemo.js"
case 3:
return "SimpleDemo.js"
return "ModalDemo.js"
case 4:
return "SimpleDemo.js"
case 5:
return "Snake.js"
}
}