aboutsummaryrefslogtreecommitdiffstats
path: root/RouteView.qml
blob: ee1ce8a1bb2c1e09ec7dc0e8995a2618ad35c395 (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
// SPDX-License-Identifier: GPL-3.0+
// Copyright (C) 2021 AISIN CORPORATION
// Copyright (C) 2024 Automotive Grade Linux

import QtQuick

Item {
    Rectangle {
        width: 800
        height: 60
        color: "#6e110e0c"
        border.width: 2
        radius: 10.0
        border.color: "#00000000"

        Text {
            x: 10
            y: 2
            width: 780
            height: 56
            color: "#f5f5f5"

            id: routeText
            verticalAlignment: Text.AlignVCenter
            horizontalAlignment: Text.AlignHCenter
            font.pixelSize: 24
        }
    }

    function setText(string) {
        routeText.text = string
    }
}