164c20ec76c13f626aac2d85632beaed0d19a013
[ptas] / zouba / qtquickui / qtquickui.qml
1 import Qt 4.7
2 import com.meego 1.0
3
4 Window {
5     id: window
6
7     Component {
8         id: journeysPageComponent
9
10         Page {
11             title: "Journeys"
12             ListView {
13                 anchors.fill: parent
14                 model: Journeys { }
15                 delegate: BasicListItem {
16                     title: journeys
17                     onClicked: {
18                         window.nextPage(Qt.createComponent(source));
19                     }
20                 }
21
22                 PositionIndicator { }
23             }
24         }
25     }
26
27     Component.onCompleted: {
28         window.nextPage(pageComponent)
29     }
30 }