1
0
Fork 0
fgdata/gui/dialogs/autopilot.xml
andy f49f0d18c7 Yank the duplicate target-speed input fields, and use a single one
that spans both rows.  It works well, but might be a little ugly...
2004-05-12 17:06:14 +00:00

312 lines
7 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<name>autopilot</name>
<layout>vbox</layout>
<!--
/autopilot/locks/altitude
/autopilot/locks/heading
/autopilot/locks/speed
/autopilot/settings/heading-bug-deg
/autopilot/settings/target-agl-ft
/autopilot/settings/target-altitude-ft
/autopilot/settings/target-aoa-deg
/autopilot/settings/target-pitch-deg
/autopilot/settings/target-speed-kt
/autopilot/settings/true-heading-deg
/autopilot/settings/vertical-speed-fpm
-->
<text><label>Autopilot Settings</label></text>
<group>
<layout>hbox</layout>
<group> <!-- Pitch/Altitude -->
<layout>vbox</layout>
<group>
<layout>hbox</layout>
<text><label>Heading Control:</label></text>
<empty><stretch>true</stretch></empty>
<checkbox>
<label>Active</label>
<property>/autopilot/gui/hdg-active</property>
<binding>
<command>nasal</command>
<script>autopilot.update()</script>
</binding>
</checkbox>
</group>
<group>
<layout>table</layout>
<text>
<label>Wings Level</label>
<halign>right</halign>
<row>0</row><col>0</col>
</text>
<radio>
<row>0</row><col>1</col>
<property>/autopilot/gui/hdg-wing</property>
<binding>
<command>nasal</command>
<script>autopilot.update("hdg-wing")</script>
</binding>
</radio>
<text>
<label>Heading Bug</label>
<halign>right</halign>
<row>1</row><col>0</col>
</text>
<radio>
<row>1</row><col>1</col>
<property>/autopilot/gui/hdg-bug</property>
<binding>
<command>nasal</command>
<script>autopilot.update("hdg-bug")</script>
</binding>
</radio>
<input>
<row>1</row><col>2</col>
<name>hdg-bug</name>
<property>/autopilot/settings/heading-bug-deg</property>
</input>
<text>
<label>True Heading</label>
<halign>right</halign>
<row>2</row><col>0</col>
</text>
<radio>
<row>2</row><col>1</col>
<property>/autopilot/gui/hdg-true</property>
<binding>
<command>nasal</command>
<script>autopilot.update("hdg-true")</script>
</binding>
</radio>
<input>
<row>2</row><col>2</col>
<name>hdg-true</name>
<property>/autopilot/settings/true-heading-deg</property>
</input>
<text>
<label>NAV1 CDI Course</label>
<halign>right</halign>
<row>3</row><col>0</col>
</text>
<radio>
<row>3</row><col>1</col>
<property>/autopilot/gui/hdg-nav</property>
<binding>
<command>nasal</command>
<script>autopilot.update("hdg-nav")</script>
</binding>
</radio>
</group>
<empty>
<stretch>true</stretch>
<pref-height>28</pref-height>
</empty>
<group>
<layout>hbox</layout>
<text><label>Velocity Control:</label></text>
<empty><stretch>true</stretch></empty>
<checkbox>
<label>Active</label>
<property>/autopilot/gui/vel-active</property>
<binding>
<command>nasal</command>
<script>autopilot.update()</script>
</binding>
</checkbox>
</group>
<group>
<layout>table</layout>
<text>
<label>Speed with Throttle</label>
<halign>right</halign>
<row>0</row><col>0</col>
</text>
<radio>
<row>0</row><col>1</col>
<property>/autopilot/gui/vel-throttle</property>
<binding>
<command>nasal</command>
<script>autopilot.update("vel-throttle")</script>
</binding>
</radio>
<input>
<row>0</row><col>2</col>
<rowspan>2</rowspan>
<name>vel-throttle</name>
<property>/autopilot/settings/target-speed-kt</property>
</input>
<text>
<label>Speed with Pitch</label>
<halign>right</halign>
<row>1</row><col>0</col>
</text>
<radio>
<row>1</row><col>1</col>
<property>/autopilot/gui/vel-pitch</property>
<binding>
<command>nasal</command>
<script>autopilot.update("vel-pitch")</script>
</binding>
</radio>
</group>
</group> <!-- End of Heading/Speed -->
<group> <!-- Pitch/Altitude -->
<layout>vbox</layout>
<group>
<layout>hbox</layout>
<text><label>Pitch/Altitude Control:</label></text>
<empty><stretch>true</stretch></empty>
<checkbox>
<label>Active</label>
<property>/autopilot/gui/alt-active</property>
<binding>
<command>nasal</command>
<script>autopilot.update()</script>
</binding>
</checkbox>
</group>
<group>
<layout>table</layout>
<text>
<label>Vertical Speed</label>
<halign>right</halign>
<row>0</row><col>0</col>
</text>
<radio>
<row>0</row><col>1</col>
<property>/autopilot/gui/alt-vert</property>
<binding>
<command>nasal</command>
<script>autopilot.update("alt-vert")</script>
</binding>
</radio>
<input>
<row>0</row><col>2</col>
<name>alt-vert</name>
<property>/autopilot/settings/vertical-speed-fpm</property>
</input>
<text>
<label>Pitch Hold</label>
<halign>right</halign>
<row>1</row><col>0</col>
</text>
<radio>
<row>1</row><col>1</col>
<property>/autopilot/gui/alt-pitch</property>
<binding>
<command>nasal</command>
<script>autopilot.update("alt-pitch")</script>
</binding>
</radio>
<input>
<row>1</row><col>2</col>
<name>alt-pitch</name>
<property>/autopilot/settings/target-pitch-deg</property>
</input>
<text>
<label>AoA Hold</label>
<halign>right</halign>
<row>2</row><col>0</col>
</text>
<radio>
<row>2</row><col>1</col>
<property>/autopilot/gui/alt-aoa</property>
<binding>
<command>nasal</command>
<script>autopilot.update("alt-aoa")</script>
</binding>
</radio>
<input>
<row>2</row><col>2</col>
<name>alt-aoa</name>
<property>/autopilot/settings/target-aoa-deg</property>
</input>
<text>
<label>Altitude Hold</label>
<halign>right</halign>
<row>3</row><col>0</col>
</text>
<radio>
<row>3</row><col>1</col>
<property>/autopilot/gui/alt-alt</property>
<binding>
<command>nasal</command>
<script>autopilot.update("alt-alt")</script>
</binding>
</radio>
<input>
<row>3</row><col>2</col>
<name>alt-alt</name>
<property>/autopilot/settings/target-altitude-ft</property>
</input>
<text>
<label>AGL Hold</label>
<halign>right</halign>
<row>4</row><col>0</col>
</text>
<radio>
<row>4</row><col>1</col>
<property>/autopilot/gui/alt-agl</property>
<binding>
<command>nasal</command>
<script>autopilot.update("alt-agl")</script>
</binding>
</radio>
<input>
<row>4</row><col>2</col>
<name>alt-agl</name>
<property>/autopilot/settings/target-agl-ft</property>
</input>
<text>
<label>NAV1 Glideslope</label>
<halign>right</halign>
<row>5</row><col>0</col>
</text>
<radio>
<row>5</row><col>1</col>
<property>/autopilot/gui/alt-gs</property>
<binding>
<command>nasal</command>
<script>autopilot.update("alt-gs")</script>
</binding>
</radio>
</group>
<empty><stretch>true</stretch></empty>
</group> <!-- End of Pitch/Altitude VBox -->
</group>
<button>
<legend>OK</legend>
<padding>10</padding>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button>
</PropertyList>