summaryrefslogtreecommitdiff
path: root/navit/gui/qt5_qml/skins/modern/destination.qml
blob: affd6502622eed0736cf9dbda16a522ffb53ce53 (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
import QtQuick 2.0
import QtQuick.Layouts 1.0

GridLayout {
    id: gridLayout
    anchors.fill: parent
    columnSpacing: 4
    rowSpacing: 4
    rows: 4
    columns: 1

    MainButton {
        text: "Address lookup"
        Layout.fillHeight: true
        Layout.fillWidth: true
        icon: "icons/appbar.city.svg"
        onClicked: {
            menucontent.source = "destination_address.qml"
        }
    }

    MainButton {
        text: "Go Home"
        Layout.fillHeight: true
        Layout.fillWidth: true
    }

    MainButton {
        text: "Bookmarks"
        Layout.fillHeight: true
        Layout.fillWidth: true
        icon: "icons/appbar.location.svg"
    }

    MainButton {
        text: "Previous destinations"
        Layout.fillHeight: true
        Layout.fillWidth: true
        icon: "icons/appbar.timer.rewind.svg"
    }

}