summaryrefslogtreecommitdiff
path: root/SDL_Core/src/components/qt_hmi/References/Look/Views/RadioEventHandlingPCA.qml
blob: 90bf0a801a73beb2b7de9e359a7ca29a0a2e7024 (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
// 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: 0

    view: FView {
        layout: BlankLayout {
            id:l
        }
    }

    triggers: [
        FTrgEntry {
            FGrdCondition{ condition: dataPool.currSource==="FM"
                FActViewShow{ view: "FMPCA"}
                FActViewHide{}
            }
            FGrdCondition{ condition: dataPool.currSource==="USB"
                FActViewShow{ view: "USBPCA"}
                FActViewHide{}
            }
            FGrdCondition{ condition: dataPool.currSource==="AM"
                FActViewShow{ view: "AMPCA"}
                FActViewHide{}
            }
            FGrdCondition{ condition: dataPool.currSource==="Sirius"
                FActViewShow{ view: "SiriusPCA"}
                FActViewHide{}
            }
            FGrdCondition{ condition: dataPool.currSource==="CD"
                FActViewShow{ view: "CDPCA"}
                FActViewHide{}
            }
            FGrdCondition{ condition: dataPool.currSource==="BT_Audio"
                FActViewShow{ view: "BT_AudioPCA"}
                FActViewHide{}
            }
            FGrdCondition{ condition: dataPool.currSource==="iPod"
                FActViewShow{ view: "iPodPCA"}
                FActViewHide{}
            }
            FGrdCondition{ condition: dataPool.currSource==="LineIn"
                FActViewShow{ view: "AuxPCA"}
                FActViewHide{}
            }
            FGrdCondition{ condition: dataPool.currSource==="SDL_Music"
                FActViewShow{ view: "SDL_MusicPCA"}
                FActViewHide{}
            }
        },
        FTrgEvent { event: closeNormalScreens
            FActViewHide{}
        }
    ]
}