add scroller demo
This commit is contained in:
parent
b49140201d
commit
0ad7cfb52e
@ -42,12 +42,15 @@ void DoricDemoBridge::navigate(QVariant route) {
|
||||
name = "PopoverDemo.js";
|
||||
break;
|
||||
case 9:
|
||||
name = "SimpleDemo.js";
|
||||
name = "ScrollerDemo.js";
|
||||
break;
|
||||
case 10:
|
||||
name = "Snake.js";
|
||||
name = "SimpleDemo.js";
|
||||
break;
|
||||
case 11:
|
||||
name = "Snake.js";
|
||||
break;
|
||||
case 12:
|
||||
name = "StorageDemo.js";
|
||||
break;
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ ApplicationWindow {
|
||||
|
||||
ListView {
|
||||
width: parent.width
|
||||
model: 12
|
||||
model: 13
|
||||
delegate: Rectangle {
|
||||
Column {
|
||||
anchors.centerIn: parent
|
||||
@ -41,10 +41,12 @@ ApplicationWindow {
|
||||
case 8:
|
||||
return "PopoverDemo.js"
|
||||
case 9:
|
||||
return "SimpleDemo.js"
|
||||
return "ScrollerDemo.js"
|
||||
case 10:
|
||||
return "Snake.js"
|
||||
return "SimpleDemo.js"
|
||||
case 11:
|
||||
return "Snake.js"
|
||||
case 12:
|
||||
return "StorageDemo.js"
|
||||
}
|
||||
}
|
||||
|
@ -15,6 +15,7 @@
|
||||
<file alias="NetworkDemo.js">../../../doric-demo/bundle/src/NetworkDemo.js</file>
|
||||
<file alias="PopoverDemo.js">../../../doric-demo/bundle/src/PopoverDemo.js</file>
|
||||
<file alias="SimpleDemo.js">../../../doric-demo/bundle/src/SimpleDemo.js</file>
|
||||
<file alias="ScrollerDemo.js">../../../doric-demo/bundle/src/ScrollerDemo.js</file>
|
||||
<file alias="Snake.js">../../../doric-demo/bundle/src/Snake.js</file>
|
||||
<file alias="StorageDemo.js">../../../doric-demo/bundle/src/StorageDemo.js</file>
|
||||
</qresource>
|
||||
|
Reference in New Issue
Block a user