blob: bafb2554533ad31afd2a834013716f1dfe068ec8 (
plain)
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
|
import QtQuick 2.0
import Label 2.0
Rectangle {
id:guide_menu
width: 401
height: 423
visible: false
color:"#00000000"
property int istatus:1
property string bigDist:""
property string middleDist:""
property string smallDist:""
property string bigDistType:""
property string middleDistType:""
property string smallDistType:""
onVisibleChanged: {
if(visible){
//Synchronous language environment
bigTextNodeDist.text = bigDist +bigDistType
middleTextNodeDist.text = middleDist+middleDistType
smallTextNodeDist.text = smallDist +smallDistType
}
}
Connections{
target:applinkControl
onSignal_GetBigRouteInfo:{
bigDist = qDist
bigDistType = qDistType
bigTextNodeDist.text = qDist+qDistType
bigTextNodeName.text = applinkControl.QML_cutStringForDisplay(qName, 9)
bigicon.source = applinkControl.strGetGuideDir(iPointKind,"48")
if(iGuideCount==1){
middleTextNodeName.text = ""
smallTextNodeName.text = ""
}
if(iGuideCount==2){
smallTextNodeName.text = ""
}
}
onSignal_GetMiddleRouteInfo:{
middleDist = qDist
middleDistType = qDistType
middleTextNodeDist.text = qDist+qDistType
middleTextNodeName.text = applinkControl.QML_cutStringForDisplay(qName, 9)
middleicon.source = applinkControl.strGetGuideDir(iPointKind,"48")
}
onSignal_GetSmallRouteInfo:{
smallDist = qDist
smallDistType = qDistType
smallTextNodeDist.text = qDist+qDistType
smallTextNodeName.text = applinkControl.QML_cutStringForDisplay(qName, 9)
smallicon.source = applinkControl.strGetGuideDir(iPointKind,"48")
}
onSignal_FlipUp:{
pageUp.enabled = bIsUpEnable
}
onSignal_FlipDown:{
pageDown.enabled = bIsDownEnable
}
}
MouseArea{
width: 401
height: 423
onClicked: {
}
}
Image{
id:back
x:0
y:0
source: imagePath_navi+"M8X_RouteGudie_BG1.png"
}
//===========================small List===========================//
Image{
id:smallList
x: 576-parent.x//16
y: 357-160-parent.y//98
visible: (smallTextNodeName.text == "")?false:true
source: imagePath_navi+"M8X_RouteGuide_BG.png"
Image{
id:smallicon
x:592-576
y:367-357
}
HMILabel{
id:smallTextNodeName
x:672-576
y:368-357
width:240
height:30
font.pixelSize:30
horizontalAlignment: Label.AlignLeft
elide:Text.ElideRight
}
HMILabel{
id:smallTextNodeDist
x:672-576
y:405-357
width:240
height:24
font.pixelSize:24
color:"#01D25E"
horizontalAlignment: Label.AlignLeft
}
}
//===========================middle List===========================//
Image{
id:middleList
x: 576-parent.x//16
y: 439-160-parent.y//98
visible: (middleTextNodeName.text == "")?false:true
source: imagePath_navi+"M8X_RouteGuide_BG.png"
Image{
id:middleicon
x:592-576
y:449-439
}
HMILabel{
id:middleTextNodeName
x:672-576
y:450-439
width:240
height:30
font.pixelSize:30
horizontalAlignment: Label.AlignLeft
elide:Text.ElideRight
}
HMILabel{
id:middleTextNodeDist
x:672-576
y:487-439
width:240
height:24
font.pixelSize:24
color:"#01D25E"
horizontalAlignment: Label.AlignLeft
}
}
//===========================big List===========================//
Image{
id:bigList
x: 576-parent.x//16
y: 521-160-parent.y//98
visible:(bigTextNodeName.text == "")?false:true
source:imagePath_navi+"M8X_RouteGuide_BG.png"
Image{
id:bigicon
x:592-576
y:531-521
}
HMILabel{
id:bigTextNodeName
x:672-576
y:532-521
width:240
height:30
font.pixelSize:30
horizontalAlignment: Label.AlignLeft
elide:Text.ElideRight
}
HMILabel{
id:bigTextNodeDist
x:672-576
y:569-521
width:240
height:24
font.pixelSize:24
color:"#01D25E"
horizontalAlignment: Label.AlignLeft
}
}
//===========================pageUp===========================//
HMIButton{
id: pageUp
anchors.horizontalCenter: parent.horizontalCenter
y:290-160-parent.y
width:68
height:52
btnImg:pageUp.enabled?(pageUp.pressed?imagePath_navi+"M8X_Zoomview_Arrow_ U_P.png":imagePath_navi+"M8X_Zoomview_Arrow_ U.png"):imagePath_navi+"M8X_Zoomview_Arrow_ U_D.png"
onClicked:{
applinkControl.QML_getGuideInfo(3);
}
}
//===========================pageDown===========================//
HMIButton{
id: pageDown
anchors.horizontalCenter: parent.horizontalCenter
y:618-160-parent.y
width:68
height:52
btnImg:pageDown.enabled?(pageDown.pressed?imagePath_navi+"M8X_Zoomview_Arrow_D_P.png":imagePath_navi+"M8X_Zoomview_Arrow_D.png"):imagePath_navi+"M8X_Zoomview_Arrow_D_D.png"
onClicked:{
applinkControl.QML_getGuideInfo(-3);
}
}
}
|