blob: 2ed7d8085dc29225851c5c61f2085bd1c9455d16 (
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
|
// import QtQuick 2.0 // to target S60 5th Edition or Maemo 5
import QtQuick 2.0
import com.ford.hmiframework 1.0
import "../Layouts"
import "../Animations"
import "../Widgets"
import ".."
FStateView {
priority: 2
//attachedViews: ["Chrome"]
view: FView {
id: v
layout: FMLayout {
id:home
albumInfoBtn.vis: false
albumInfoImg.visible: false
alertBtn.vis: false
browseBtn.vis: false
replayBtn.vis: false
preset1Btn.text: "WJR"
preset2Btn.text: "1130"
preset3Btn.text: "950"
preset4Btn.text: "WWJ"
preset5Btn.text: "WXYZ"
preset6Btn.text: "1330"
artistTxt.text: ""
stationTxt.text: ""
trackTxt.text: "950"
}
}
triggers: [
FTrgTouchArea { touchArea:home.sourceBtn; touchAction: TA.Out
FActViewShow { view: "SourceChange" }
},
FTrgTouchArea { touchArea:home.browseBtn; touchAction: TA.Out
FActViewShow { view: "Start" }
},
FTrgTouchArea { touchArea:home.albumInfoBtn; touchAction: TA.Out
FActViewShow { view: "Start" }
},
FTrgTouchArea { touchArea:home.preset1Btn; touchAction: TA.Out
FActViewShow { view: "Start" }
},
FTrgTouchArea { touchArea:home.preset2Btn; touchAction: TA.Out
FActViewShow { view: "Start" }
},
FTrgTouchArea { touchArea:home.preset3Btn; touchAction: TA.Out
FActViewShow { view: "Start" }
},
FTrgTouchArea { touchArea:home.preset4Btn; touchAction: TA.Out
FActViewShow { view: "Start" }
},
FTrgTouchArea { touchArea:home.preset5Btn; touchAction: TA.Out
FActViewShow { view: "Start" }
},
FTrgTouchArea { touchArea:home.preset6Btn; touchAction: TA.Out
FActViewShow { view: "Start" }
},
FTrgTouchArea { touchArea:home.replayBtn; touchAction: TA.Out
FActViewShow { view: "Start" }
},
FTrgTouchArea { touchArea:home.tuneBtn; touchAction: TA.Out
FActViewShow { view: "Start" }
},
FTrgTouchArea { touchArea:home.presetsBtn; touchAction: TA.Out
FActViewShow { view: "Start" }
},
FTrgEvent { event: closeNormalScreens
FActViewHide{}
}
]
}
|