aboutsummaryrefslogtreecommitdiff
path: root/src/SettingsPage.qml
diff options
context:
space:
mode:
authorArseniy Movshev <dodoradio@outlook.com>2022-11-27 20:25:43 +0000
committerArseniy Movshev <dodoradio@outlook.com>2023-01-07 15:46:45 +0000
commit452a1a4d5784cfc191485f4e77133ef3090ee693 (patch)
tree98cc099e6000848b034a58a2cedbdf86af6379bd /src/SettingsPage.qml
parentde2b3d293d97eb85dc920e6facec684e79c69d43 (diff)
changes to compass, overlays and waypoints
a very messy commit: - add waypoints to show up on the map - fix compass to work correctly - fix centering of buttons on flat tyre watches
Diffstat (limited to '')
-rw-r--r--src/SettingsPage.qml12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/SettingsPage.qml b/src/SettingsPage.qml
index 6ff5da3..5c2e12f 100644
--- a/src/SettingsPage.qml
+++ b/src/SettingsPage.qml
@@ -5,11 +5,6 @@ import QtLocation 5.15
Item {
id: root
- // FlatMesh {
- // centerColor: "#003ee9"
- // outerColor: "#00bc1b"
- // anchors.fill: parent
- // }
PageHeader {
text: "Map settings"
}
@@ -35,6 +30,13 @@ Item {
height: width*0.2
text: "center on GPS"
}
+ LabeledSwitch {
+ width: parent.width
+ height: width*0.2
+ text: "enable compass"
+ Component.onCompleted: checked = enableCompass.value
+ onCheckedChanged: enableCompass.value = checked
+ }
Row {
width: parent.width
height: width*0.2