-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.qml
52 lines (44 loc) · 1.1 KB
/
main.qml
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import QtCore
import HeightReader 1.0
import QtPositioning
import "qrc:/"
Window {
id: root
width: 720
height: 1280
visible: true
property alias debug: settings.debug
Settings {
property alias useHardCodedPosition: settings.useHardCodedPosition
property alias hardcodedLongitude: settings.hardcodedLongitude
property alias hardcodedLatitude: settings.hardcodedLatitude
property alias selfHeight: settings.selfHeight
}
ARViewer {
id: mainView
debug: root.debug
useHardCodedPosition: settings.useHardCodedPosition
hardcodedLongitude: settings.hardcodedLongitude
hardcodedLatitude: settings.hardcodedLatitude
selfHeight: settings.selfHeight
}
SettingsView {
id: settings
}
StackView {
id: stack
initialItem: mainView
anchors.fill: parent
}
SettingsButton {
id: settingsButton
}
WelcomeScreen {
id: welcomeScreen
visible: true
anchors.fill: parent
}
}