diff --git a/gui/dialogs/gps.xml b/gui/dialogs/gps.xml new file mode 100644 index 000000000..a849c21d6 --- /dev/null +++ b/gui/dialogs/gps.xml @@ -0,0 +1,320 @@ + + + + + gps + 620 + 430 + false + + + 280 + 400 + + + + + 10 + 40 + + + 40 + 340 + + + + + wp0Type + 0 + 320 + 100 + 25 + + /instrumentation/gps/wp/wp[0]/waypoint-type + airport + nav + fix + + dialog-apply + wp0Type + + + + + wp0ID + 0 + 290 + 100 + 25 + + /instrumentation/gps/wp/wp[0]/ID + + dialog-apply + wp0ID + + + dialog-update + + + + + wp0Name + 0 + 260 + 200 + 25 + + /instrumentation/gps/wp/wp[0]/name + + dialog-apply + wp0Name + + + dialog-update + + + + + wp0-lat + 0 + 230 + 150 + 25 + + /instrumentation/gps/wp/wp[0]/latitude-deg + + dialog-apply + wp0-lat + + + dialog-update + + + + + wp0-lon + 0 + 200 + 150 + 25 + + /instrumentation/gps/wp/wp[0]/longitude-deg + + dialog-apply + wp0-lon + + + dialog-update + + + + + wp0-alt + 0 + 170 + 150 + 25 + + /instrumentation/gps/wp/wp[0]/altitude-ft + + dialog-apply + wp0-alt + + + dialog-update + + + + + wp0-course + 0 + 140 + 150 + 25 + + /instrumentation/gps/wp/wp[0]/desired-course-deg + 0 + 360 + + dialog-apply + wp0-course + + + + + + + + 320 + 40 + + + 40 + 340 + + + + + wp1Type + 0 + 320 + 100 + 25 + + /instrumentation/gps/wp/wp[1]/waypoint-type + airport + nav + fix + + dialog-apply + wp1Type + + + + + wp1ID + 0 + 290 + 100 + 25 + + /instrumentation/gps/wp/wp[1]/ID + + dialog-apply + wp1ID + + + dialog-update + + + + + wp1Name + 0 + 260 + 200 + 25 + + /instrumentation/gps/wp/wp[1]/name + + dialog-apply + wp1Name + + + dialog-update + + + + + wp1-lat + 0 + 230 + 150 + 25 + + /instrumentation/gps/wp/wp[1]/latitude-deg + + dialog-apply + wp1-lat + + + dialog-update + + + + + wp1-lon + 0 + 200 + 150 + 25 + + /instrumentation/gps/wp/wp[1]/longitude-deg + + dialog-apply + wp1-lon + + + dialog-update + + + + + wp1-alt + 0 + 170 + 150 + 25 + + /instrumentation/gps/wp/wp[1]/altitude-ft + + dialog-apply + wp1-alt + + + dialog-update + + + + + wp1-course + 0 + 140 + 150 + 25 + + /instrumentation/gps/wp/wp[1]/desired-course-deg + + dialog-apply + wp1-course + + + + + + + + + leg-course + 10 + 50 + 150 + 25 + + /instrumentation/gps/wp/leg-true-course-deg + + + + leg-distance + 10 + 80 + 150 + 25 + + /instrumentation/gps/wp/leg-distance-nm + + + + + \ No newline at end of file diff --git a/gui/menubar.xml b/gui/menubar.xml index 7720e943a..e864f2732 100644 --- a/gui/menubar.xml +++ b/gui/menubar.xml @@ -277,6 +277,14 @@ + + + + dialog-show + gps + + +