summaryrefslogtreecommitdiff
path: root/SDL_Core/src/components/qt_hmi/References/Look/Views/BT_AudioPCA.qml
blob: 83a83147f04a42a0ecb870322a3db914578e0c74 (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: "BT Audio"
            sourceBtn.textWidth: 100
            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{}
        }

    ]
}