diff options
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 + } + } +} |