1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
import QtQuick 2.0
import com.ford.navcore 1.0
import "../../Components"
import "../../Layouts"
Item {
BackButton { onPress: section.state = 'menu' }
NavController {
id: navController
}
Flickable {
height: 300
width: 400
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
clip: true
contentWidth: content.width
contentHeight: content.height
Column {
id: content
width: parent.width
spacing: 10
Button {
text: "Barry Church's home"
width: parent.width
onPress: {
navController.beginNavigation("USA", "MI", "Davison", "Victoria Sta", "3465");
section.state = 'map';
}
}
Button {
text: "Subway"
width: parent.width
onPress: {
navController.beginNavigation("USA", "MI", "Dearborn Heights", "Pelham St", "3929");
section.state = 'map';
}
}
Button {
text: "Ford World Headquarters"
width: parent.width
onPress: {
navController.beginNavigation("USA", "MI", "Dearborn", "American Rd", "1");
section.state = 'map';
}
}
Button {
text: "Qdoba"
width: parent.width
onPress: {
navController.beginNavigation("USA", "MI", "Allen Park", "Fairlane Dr", "48101");
section.state = 'map';
}
}
Button {
text: "Levagood Park"
width: parent.width
onPress: {
navController.beginNavigation("USA", "MI", "Dearborn", "Denwood St", "1100");
section.state = 'map';
}
}
}
}
}
|