summaryrefslogtreecommitdiff
path: root/SDL_Core/src/components/qt_hmi/References/Look/Views/On.qml
blob: 6e0953430971cf48de8ce3bfa28df71b74a840d6 (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
// 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: 1

    view: FView {
        layout: OffLayout {
           id:l
           offTouch.enabled: false
        }
    }

    triggers: [
        FTrgEntry {
            FActViewShow { view: "RadioEventHandlingPCA" }
        },
        FTrgEvent { event: closeNormalScreens
            FActViewShow { view: "Off" }
        },
        FTrgHardwareKey { hardkeys: hk_OnOff; keyAction: HK.In
            //FActViewShow { view: "Off" }
            FActEventFire{ event: closeNormalScreens }
        },
        FTrgHardwareKey { hardkeys: buttonUp; keyAction: HK.In
            FActViewShow { view: "ControlMirror" }
        },
        FTrgHardwareKey { hardkeys: buttonDown; keyAction: HK.In
            FActViewShow { view: "ControlMirror" }
        }

    ]
}