summaryrefslogtreecommitdiff
path: root/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/map.qml
blob: 8b48efe78091d7040fa9d591d255d9709802ba06 (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
58
59
60
61
62
63
import QtQuick 2.0
import "../../Components"

Item {
    Column {
        anchors.left: parent.left;
        anchors.verticalCenter: parent.verticalCenter
        spacing: 10

        Button {
            text: "Zoom in"
        }

        Button {
            text: "Zoom out"
        }

        Button {
            text: "3D"
        }

        Button {
            text: "2D"
        }

        Button {
            text: "North up"
        }
    }

    Rectangle {
        width: next_turn.width + 20
        height: 30
        anchors.top: parent.top
        anchors.topMargin: 65
        anchors.horizontalCenter: parent.horizontalCenter
        color: "black"
        opacity: 0.6

    }

    Rectangle {
        width: current_street.width + 20
        height: 30
        anchors.bottom: parent.bottom
        anchors.bottomMargin: 65
        anchors.horizontalCenter: parent.horizontalCenter
        color: "black"
        opacity: 0.6
        visible: navController.current_street.length > 0

    }


    Button {
        text: "Go"
        anchors.top: parent.top
        anchors.topMargin: 3
        anchors.right: parent.right
        anchors.rightMargin: 20
        onPress: section.state = 'menu'
    }
}