diff options
author | 2018-11-07 11:06:42 +0900 | |
---|---|---|
committer | 2018-11-07 11:06:42 +0900 | |
commit | 7550fadd26887ce59c6e0ca5320e6ec6fb61a72a (patch) | |
tree | 150eb9f7a729f1a90edea163590247ab3e2b2c76 /app/qml/Main.qml | |
parent | ae47635e56c4af4d816a76e5186e945768543679 (diff) |
add tbtnavi source
Diffstat (limited to 'app/qml/Main.qml')
-rw-r--r-- | app/qml/Main.qml | 32 |
1 files changed, 32 insertions, 0 deletions
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 + } + } +} |