blob: d9d951ef3b3b91af870ac06b988cf0cbb1048968 (
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
|
import QtQuick 2.0
import com.ford.sdlcore 1.0
import "../../Components"
import "../../Layouts"
LeftThirdSection {
header: "Select a source"
Grid {
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
spacing: 10
GraphicalButton {
text: "Radio"
image: "../../Assets/RadioIcon.png"
onPress: section.state = 'fm'
}
GraphicalButton {
text: "Pandora"
image: "../../Assets/PandoraIcon.png"
onPress: section.state = 'fm'
}
GraphicalButton {
text: "Sirius"
image: "../../Assets/SiriusIcon.png"
onPress: section.state = 'sirius'
}
GraphicalButton {
text: "Bluetooth"
image: "../../Assets/BluetoothIcon.png"
onPress: section.state = 'bluetooth'
}
GraphicalButton {
text: "USB"
image: "../../Assets/UsbIcon.png"
onPress: section.state = 'usb'
}
Repeater {
model: MediaApps
delegate: GraphicalButton {
text: modelData
image: "../../Assets/UsbIcon.png"
onPress: section.state = 'applink'
}
}
}
}
|