summaryrefslogtreecommitdiff
path: root/SDL_Core/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/media.qml
blob: af33ddaffd8c1c91412b72d61c2e0c065a50ac27 (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
import QtQuick 2.0
import "../Components"
import "../Layouts"

Rectangle {
    anchors.fill: parent
    id: section

    gradient: Gradient {
        GradientStop { position: 0.8; color: "#000000" }
        GradientStop { position: 1.0; color: "#7C3232" }
    }

    states: [
        State {
            name: 'menu'
            PropertyChanges { target: page; source: "Media/menu.qml" }
        },
        State {
            name: 'fm'
            PropertyChanges { target: page; source: "Media/fm.qml" }
        },
        State {
            name: 'sirius'
            PropertyChanges { target: page; source: "Media/sirius.qml" }
        },
        State {
            name: 'usb'
            PropertyChanges { target: page; source: "Media/usb.qml" }
        },
        State {
            name: 'bluetooth'
            PropertyChanges { target: page; source: "Media/bluetooth.qml" }
        },
        State {
            name: 'applink'
            PropertyChanges { target: page; source: "Media/applink.qml" }
        }
    ]

    transitions: [
        Transition {
            to: "bluetooth"
        },
        Transition {
            to: "usb"
        }

    ]

    Section {
        id: page
        source: "Media/usb.qml"
    }
}