blob: bc6e6ab2fd24c6435a308c811541dcbea0746d6b (
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
|
// 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: USBLayoutPCA {
id:home
sourceBtn.text: "CD"
sourceBtn.textWidth: 40
playing: true
}
}
triggers: [
FTrgTouchArea { touchArea:home.sourceBtn.touchBtn; touchAction: TA.Out
FActViewShow { view: "SourceChangePCA" }
},
FTrgTouchArea { touchArea:home.play; touchAction: TA.Out
FActScriptCall { onScript: home.playing = false }
},
FTrgTouchArea { touchArea:home.pause; touchAction: TA.Out
FActScriptCall { onScript: home.playing = true }
},
FTrgEvent { event: closeNormalScreens
FActViewHide{}
}
]
}
|