equal
deleted
inserted
replaced
37 ** $QT_END_LICENSE$ |
37 ** $QT_END_LICENSE$ |
38 ** |
38 ** |
39 ****************************************************************************/ |
39 ****************************************************************************/ |
40 |
40 |
41 import Qt 4.7 |
41 import Qt 4.7 |
42 import "../../toys/clocks/content" |
42 import "../../toys/clocks/content" // for loading the Clock element |
43 import "qml" |
43 import "qml" |
44 |
44 |
45 Rectangle { |
45 Rectangle { |
46 id: root |
|
47 |
|
48 width: 320; height: 480 |
46 width: 320; height: 480 |
49 |
47 |
50 ParallaxView { |
48 ParallaxView { |
51 id: parallax |
49 id: parallax |
52 anchors.fill: parent |
50 anchors.fill: parent |
71 Loader { |
69 Loader { |
72 anchors { top: parent.top; topMargin: 10; horizontalCenter: parent.horizontalCenter } |
70 anchors { top: parent.top; topMargin: 10; horizontalCenter: parent.horizontalCenter } |
73 width: 300; height: 400 |
71 width: 300; height: 400 |
74 clip: true; |
72 clip: true; |
75 source: "../../../../demos/declarative/samegame/samegame.qml" |
73 source: "../../../../demos/declarative/samegame/samegame.qml" |
|
74 Component.onCompleted: item.inAnotherDemo = true; |
76 } |
75 } |
77 } |
76 } |
78 |
|
79 currentIndex: root.currentIndex |
|
80 } |
77 } |
81 } |
78 } |