diff --git a/doric-Qt/doric/demo/DoricDemoBridge.cpp b/doric-Qt/doric/demo/DoricDemoBridge.cpp index fe67f66b..618d5b49 100644 --- a/doric-Qt/doric/demo/DoricDemoBridge.cpp +++ b/doric-Qt/doric/demo/DoricDemoBridge.cpp @@ -30,12 +30,15 @@ void DoricDemoBridge::navigate(QVariant route) { name = "ModalDemo.js"; break; case 5: - name = "PopoverDemo.js"; + name = "NetworkDemo.js"; break; case 6: - name = "SimpleDemo.js"; + name = "PopoverDemo.js"; break; case 7: + name = "SimpleDemo.js"; + break; + case 8: name = "Snake.js"; break; } diff --git a/doric-Qt/doric/qml.qrc b/doric-Qt/doric/qml.qrc index 938b7e02..c4aed130 100644 --- a/doric-Qt/doric/qml.qrc +++ b/doric-Qt/doric/qml.qrc @@ -13,6 +13,7 @@ ../../doric-demo/bundle/src/ImageDemo.js ../../doric-demo/bundle/src/LayoutDemo.js ../../doric-demo/bundle/src/ModalDemo.js + ../../doric-demo/bundle/src/NetworkDemo.js ../../doric-demo/bundle/src/PopoverDemo.js ../../doric-demo/bundle/src/SimpleDemo.js ../../doric-demo/bundle/src/Snake.js diff --git a/doric-Qt/doric/resources/main.qml b/doric-Qt/doric/resources/main.qml index de946a61..181d3bb7 100644 --- a/doric-Qt/doric/resources/main.qml +++ b/doric-Qt/doric/resources/main.qml @@ -15,7 +15,7 @@ ApplicationWindow { ListView { width: parent.width - model: 8 + model: 9 delegate: Rectangle { Column { anchors.centerIn: parent @@ -33,10 +33,12 @@ ApplicationWindow { case 4: return "ModalDemo.js" case 5: - return "PopoverDemo.js" + return "NetworkDemo.js" case 6: - return "SimpleDemo.js" + return "PopoverDemo.js" case 7: + return "SimpleDemo.js" + case 8: return "Snake.js" } }