1
0
Fork 0
fgdata/gui/dialogs/location-in-air.xml

143 lines
3 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<name>location-in-air</name>
<layout>vbox</layout>
<text>
<label>Set New Location</label>
</text>
<group>
<layout>table</layout>
<text>
<row>0</row><col>0</col>
<halign>right</halign>
<label>Airport</label>
</text>
<input>
<row>0</row><col>1</col>
<property>/sim/presets/airport-id</property>
</input>
<text>
<row>1</row><col>0</col>
<halign>right</halign>
<label>Runway</label>
</text>
<input>
<row>1</row><col>1</col>
<property>/sim/presets/runway</property>
</input>
<text>
<row>2</row><col>0</col>
<halign>right</halign>
<label>VOR</label>
</text>
<input>
<row>2</row><col>1</col>
<property>/sim/presets/vor-id</property>
</input>
<text>
<row>3</row><col>0</col>
<halign>right</halign>
<label>NDB</label>
</text>
<input>
<row>3</row><col>1</col>
<property>/sim/presets/ndb-id</property>
</input>
<text>
<row>4</row><col>0</col>
<halign>right</halign>
<label>Fix</label>
</text>
<input>
<row>4</row><col>1</col>
<property>/sim/presets/fix</property>
</input>
<text>
<row>0</row><col>2</col>
<halign>right</halign>
<label>Distance (mi)</label>
</text>
<input>
<row>0</row><col>3</col>
<property>/sim/presets/offset-distance</property>
</input>
<text>
<row>1</row><col>2</col>
<halign>right</halign>
<label>Altitude (ft)</label>
</text>
<input>
<row>1</row><col>3</col>
<property>/sim/presets/altitude-ft</property>
</input>
<text>
<row>2</row><col>2</col>
<halign>right</halign>
<label>Glidepath (deg)</label>
</text>
<input>
<row>2</row><col>3</col>
<property>/sim/presets/glidescope-deg</property>
</input>
<text>
<row>3</row><col>2</col>
<halign>right</halign>
<label>Airspeed (kt)</label>
</text>
<input>
<row>3</row><col>3</col>
<property>/sim/presets/airspeed-kt</property>
</input>
</group>
<group>
<layout>hbox</layout>
<default-padding>10</default-padding>
<button>
<legend>OK</legend>
<default>true</default>
<equal>true</equal>
<binding>
<command>property-assign</command>
<property>/sim/presets/longitude-deg</property>
<value type="double">-9999</value>
</binding>
<binding>
<command>property-assign</command>
<property>/sim/presets/latitude-deg</property>
<value type="double">-9999</value>
</binding>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>presets-commit</command>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button>
<button>
<legend>Cancel</legend>
<equal>true</equal>
<key>Esc</key>
<binding>
<command>dialog-close</command>
</binding>
</button>
</group>
</PropertyList>