2 import QtQuick.Controls 2.0
11 anchors.top: parent.top
12 anchors.left: parent.left
13 anchors.right: parent.right
14 anchors.bottom: parent.bottom
17 wrapMode: Text.WordWrap
18 horizontalAlignment: Text.AlignHCenter
19 verticalAlignment: Text.AlignVCenter
21 text: "Only the video’s sound will be available while driving."
28 anchors.bottomMargin: 0
31 fillMode: Image.Stretch
32 source: 'images/black_normal.png'
38 PropertyChanges { target: backgroundImg; opacity: 0.25 }
42 PropertyChanges { target: backgroundImg; opacity: 0.75 }
48 from: "begin"; to: "end"
49 PropertyAnimation {target: backgroundImg; properties: "opacity"; duration: 2000}
54 function showImage(area) {
55 if (area === 'normal') {
56 backgroundImg.source = 'images/black_normal.png'
58 backgroundImg.source = 'images/black_split.png'
60 backgroundImg.state = "end"
64 function hideImage() {
65 backgroundImg.state = "begin"