From 7550fadd26887ce59c6e0ca5320e6ec6fb61a72a Mon Sep 17 00:00:00 2001 From: zheng_wenlong Date: Wed, 7 Nov 2018 11:06:42 +0900 Subject: add tbtnavi source --- app/qml/Main.qml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 app/qml/Main.qml (limited to 'app/qml/Main.qml') diff --git a/app/qml/Main.qml b/app/qml/Main.qml new file mode 100644 index 0000000..dcad4ba --- /dev/null +++ b/app/qml/Main.qml @@ -0,0 +1,32 @@ +import QtGraphicalEffects 1.0 +import QtQuick 2.0 +import QtQuick.Controls 2.2 +import QtQuick.Layouts 1.0 +import QtWebSockets 1.0 + +import "qrc:/qml" + +ApplicationWindow { + id: window + + title: "QT MapboxGL Turn By Turn Navigation Demo" + height: 720 + width: 640 + visible: true + + function startDemo(visible) { + console.log("startDemo") + mapwindow.do_autostart() + } + + Item { + anchors.centerIn: parent + width: parent.width + height: parent.height + + MapWindow { + id:mapwindow + anchors.fill: parent + } + } +} -- cgit 1.2.3-korg