1
0
Fork 0
fgdata/gui/dialogs/autopilot.xml

348 lines
7.6 KiB
XML
Raw Normal View History

<?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>
<hrule><dummy/></hrule>
<group>
<layout>hbox</layout>
<default-padding>8</default-padding>
<group> <!-- Pitch/Altitude -->
<layout>vbox</layout>
<group>
<layout>hbox</layout>
<checkbox>
<label>Heading Control</label>
<halign>fill</halign>
<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>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</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>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</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>
<hrule><dummy/></hrule>
<group>
<layout>hbox</layout>
<checkbox>
<label>Velocity Control</label>
<halign>fill</halign>
<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>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</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 -->
<vrule><dummy/></vrule>
<group> <!-- Pitch/Altitude -->
<layout>vbox</layout>
<group>
<layout>hbox</layout>
<checkbox>
<label>Pitch/Altitude Control</label>
<halign>fill</halign>
<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>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</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>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</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>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</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>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</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>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</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>Close</legend>
<default>true</default>
<key>Esc</key>
<padding>10</padding>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button>
</PropertyList>