summaryrefslogtreecommitdiff
path: root/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/menu.qml
blob: fdcae3f58e97a380424a657bdcf97fc3bfdc1979 (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
56
57
import QtQuick 2.0
import "../../Components"
import "../../Layouts"

EmptyLayout {
    back_button: true

    Grid {
        anchors.verticalCenter: parent.verticalCenter
        anchors.horizontalCenter: parent.horizontalCenter
        spacing: 10

        GraphicalButton {
            text: "Home"
            image: "../../Assets/HomeIcon.png"
            onPress: {
                section.state = 'map';
            }
        }
        GraphicalButton {
            text: "Work"
            image: "../../Assets/WorkIcon.png"
            onPress: {
                section.state = 'map';
            }
        }
        GraphicalButton {
            text: "Recent Destination"
            image: "../../Assets/RecentDestinationsIcon.png"
            onPress: section.state = 'recent_destinations'
        }
        GraphicalButton {
            text: "Keyboard"
            image: "../../Assets/KeyboardIcon.png"
            onPress: section.state = 'keyboard_search'
        }
        GraphicalButton {
            text: "Favorites"
            image: "../../Assets/FavoritesIcon.png"
            onPress: section.state = 'favorites'
        }
        GraphicalButton {
            text: "Point of Interest"
            image: "../../Assets/PoiIcon.png"
            onPress: section.state = 'poi'
        }
        GraphicalButton {
            text: "Scout"
            image: "../../Assets/ScoutIcon.png"
        }
        GraphicalButton {
            text: "SYNC Services"
            image: "../../Assets/ServicesIcon.png"
            onPress: section.state = "video_moving_map"
        }
    }
}