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

Rectangle {
    id: section
    anchors.fill: parent

    gradient: Gradient {
        GradientStop { position: 0.0; color: "#3C7855" }
        GradientStop { position: 0.4; color: "#000000" }
    }

    Section {
        id: page
        source: "Navigation/map.qml"
    }

    states: [
        State {
            name: ''
            PropertyChanges { target: page; source: "Navigation/map.qml" }
        },
        State {
            name: 'menu'
            PropertyChanges { target: page; source: "Navigation/menu.qml" }
        },
        State {
            name: 'keyboard_search'
            PropertyChanges { target: page; source: "Navigation/keyboard_search.qml" }
        },
        State {
            name: 'favorites'
            PropertyChanges { target: page; source: "Navigation/favorites.qml" }
        },
        State {
            name: 'recent_destinations'
            PropertyChanges { target: page; source: "Navigation/recent_destinations.qml" }
        },
        State {
            name: 'poi'
            PropertyChanges { target: page; source: "Navigation/poi.qml" }
        },
        State {
            name: 'video_moving_map'
            PropertyChanges { target: page; source: "Navigation/video_moving_map.qml" }
        }
    ]
}