aboutsummaryrefslogtreecommitdiffstats
path: root/RouteView.qml
diff options
context:
space:
mode:
authorNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2021-08-02 13:20:06 +0000
committerNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2021-08-02 13:20:57 +0000
commit4c9b4d61b97b60ce1ec24a4db203199ae54936d8 (patch)
tree85758532d23a310cd117297c6144905e9adce5c5 /RouteView.qml
Initial commit for mominavi
mominavi is a example navigation app based on Qt example. Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Diffstat (limited to 'RouteView.qml')
-rw-r--r--RouteView.qml37
1 files changed, 37 insertions, 0 deletions
diff --git a/RouteView.qml b/RouteView.qml
new file mode 100644
index 0000000..c8dcbc4
--- /dev/null
+++ b/RouteView.qml
@@ -0,0 +1,37 @@
+// SPDX-License-Identifier: GPL-3.0+
+// Copyright (C) 2021 AISIN CORPORATION
+import QtQuick 2.0
+
+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
+ }
+}
+
+/*##^##
+Designer {
+ D{i:0;autoSize:true;height:480;width:640}
+}
+##^##*/