1
0
Fork 0
fgdata/gui/dialogs/autopilot.xml
2004-02-07 21:48:39 +00:00

453 lines
No EOL
7.7 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<name>autopilot</name>
<width>500</width>
<height>550</height>
<modal>false</modal>
<text>
<x>10</x>
<y>520</y>
<label>AutoPilot Settings</label>
</text>
<!-- Heading Modes -->
<text>
<x>10</x>
<y>480</y>
<label>Heading Modes:</label>
</text>
<!--
<input>
<name>heading-modes</name>
<x>150</x>
<y>480</y>
<width>150</width>
<height>25</height>
<property>/autopilot/locks/heading</property>
</input>
-->
<button>
<x>310</x>
<y>480</y>
<legend>Deactivate</legend>
<binding>
<command>nasal</command>
<script>
node = props.globals.getNode("/autopilot/locks/heading", 1);
node.setValue( "" );
</script>
</binding>
</button>
<text>
<x>10</x>
<y>450</y>
<label>Wing Leveler:</label>
</text>
<button>
<x>310</x>
<y>450</y>
<legend>Activate</legend>
<binding>
<command>nasal</command>
<script>
node = props.globals.getNode("/autopilot/locks/heading", 1);
node.setValue( "wing-leveler" );
</script>
</binding>
</button>
<text>
<x>10</x>
<y>420</y>
<label>Heading Bug:</label>
</text>
<input>
<name>heading-bug</name>
<x>150</x>
<y>420</y>
<width>150</width>
<height>25</height>
<property>/autopilot/settings/heading-bug-deg</property>
</input>
<button>
<x>310</x>
<y>420</y>
<legend>Activate</legend>
<binding>
<command>nasal</command>
<script>
node = props.globals.getNode("/autopilot/locks/heading", 1);
node.setValue( "dg-heading-hold" );
</script>
</binding>
<binding>
<command>dialog-apply</command>
</binding>
</button>
<text>
<x>10</x>
<y>390</y>
<label>True Heading:</label>
</text>
<input>
<name>true-heading</name>
<x>150</x>
<y>390</y>
<width>150</width>
<height>25</height>
<property>/autopilot/settings/true-heading-deg</property>
</input>
<button>
<x>310</x>
<y>390</y>
<legend>Activate</legend>
<binding>
<command>nasal</command>
<script>
node = props.globals.getNode("/autopilot/locks/heading", 1);
node.setValue( "true-heading-hold" );
</script>
</binding>
<binding>
<command>dialog-apply</command>
</binding>
</button>
<text>
<x>10</x>
<y>360</y>
<label>NAV1 CDI Hold:</label>
</text>
<button>
<x>310</x>
<y>360</y>
<legend>Activate</legend>
<binding>
<command>nasal</command>
<script>
node = props.globals.getNode("/autopilot/locks/heading", 1);
node.setValue( "nav1-hold" );
</script>
</binding>
</button>
<!-- Pitch/Alt Modes -->
<text>
<x>10</x>
<y>320</y>
<label>Pitch/Altitude Modes:</label>
</text>
<!--
<input>
<name>pitch-modes</name>
<x>150</x>
<y>320</y>
<width>150</width>
<height>25</height>
<property>/autopilot/locks/heading</property>
</input>
-->
<button>
<x>310</x>
<y>320</y>
<legend>Deactivate</legend>
<binding>
<command>nasal</command>
<script>
node = props.globals.getNode("/autopilot/locks/altitude", 1);
node.setValue( "" );
</script>
</binding>
</button>
<text>
<x>10</x>
<y>290</y>
<label>Pitch Hold:</label>
</text>
<input>
<name>pitch-deg</name>
<x>150</x>
<y>290</y>
<width>150</width>
<height>25</height>
<property>/autopilot/settings/target-pitch-deg</property>
</input>
<button>
<x>310</x>
<y>290</y>
<legend>Activate</legend>
<binding>
<command>nasal</command>
<script>
node = props.globals.getNode("/autopilot/locks/altitude", 1);
node.setValue( "pitch-hold" );
</script>
</binding>
<binding>
<command>dialog-apply</command>
</binding>
</button>
<text>
<x>10</x>
<y>260</y>
<label>AOA Hold:</label>
</text>
<input>
<name>aoa-deg</name>
<x>150</x>
<y>260</y>
<width>150</width>
<height>25</height>
<property>/autopilot/settings/target-aoa-deg</property>
</input>
<button>
<x>310</x>
<y>260</y>
<legend>Activate</legend>
<binding>
<command>nasal</command>
<script>
node = props.globals.getNode("/autopilot/locks/altitude", 1);
node.setValue( "aoa-hold" );
</script>
</binding>
<binding>
<command>dialog-apply</command>
</binding>
</button>
<text>
<x>10</x>
<y>230</y>
<label>Altitude Hold:</label>
</text>
<input>
<name>altitude</name>
<x>150</x>
<y>230</y>
<width>150</width>
<height>25</height>
<property>/autopilot/settings/target-altitude-ft</property>
</input>
<button>
<x>310</x>
<y>230</y>
<legend>Activate</legend>
<binding>
<command>nasal</command>
<script>
node = props.globals.getNode("/autopilot/locks/altitude", 1);
node.setValue( "altitude-hold" );
</script>
</binding>
<binding>
<command>dialog-apply</command>
</binding>
</button>
<text>
<x>10</x>
<y>200</y>
<label>AGL Hold:</label>
</text>
<input>
<name>agl</name>
<x>150</x>
<y>200</y>
<width>150</width>
<height>25</height>
<property>/autopilot/settings/target-agl-ft</property>
</input>
<button>
<x>310</x>
<y>200</y>
<legend>Activate</legend>
<binding>
<command>nasal</command>
<script>
node = props.globals.getNode("/autopilot/locks/altitude", 1);
node.setValue( "agl-hold" );
</script>
</binding>
<binding>
<command>dialog-apply</command>
</binding>
</button>
<text>
<x>10</x>
<y>170</y>
<label>NAV1 GS Hold:</label>
</text>
<button>
<x>310</x>
<y>170</y>
<legend>Activate</legend>
<binding>
<command>nasal</command>
<script>
node = props.globals.getNode("/autopilot/locks/altitude", 1);
node.setValue( "gs1-hold" );
</script>
</binding>
<binding>
<command>dialog-apply</command>
</binding>
</button>
<!-- Velocity Modes -->
<text>
<x>10</x>
<y>130</y>
<label>Velocity Hold:</label>
</text>
<!--
<input>
<name>velocity-modes</name>
<x>150</x>
<y>130</y>
<width>150</width>
<height>25</height>
<property>/autopilot/locks/heading</property>
</input>
-->
<input>
<name>autospeed</name>
<x>150</x>
<y>130</y>
<width>150</width>
<height>25</height>
<property>/autopilot/settings/target-speed-kt</property>
</input>
<button>
<x>310</x>
<y>130</y>
<legend>Deactivate</legend>
<binding>
<command>nasal</command>
<script>
node = props.globals.getNode("/autopilot/locks/speed", 1);
node.setValue( "" );
</script>
</binding>
</button>
<text>
<x>10</x>
<y>100</y>
<label>Speed w/ Throttle:</label>
</text>
<button>
<x>310</x>
<y>100</y>
<legend>Activate</legend>
<binding>
<command>nasal</command>
<script>
node = props.globals.getNode("/autopilot/locks/speed", 1);
node.setValue( "speed-with-throttle" );
</script>
</binding>
<binding>
<command>dialog-apply</command>
</binding>
</button>
<text>
<x>10</x>
<y>70</y>
<label>Speed w/ Pitch:</label>
</text>
<button>
<x>310</x>
<y>70</y>
<legend>Activate</legend>
<binding>
<command>nasal</command>
<script>
node = props.globals.getNode("/autopilot/locks/speed", 1);
node.setValue( "speed-with-pitch-trim" );
</script>
</binding>
<binding>
<command>dialog-apply</command>
</binding>
</button>
<!-- Button Group -->
<button>
<x>105</x>
<y>10</y>
<legend>OK</legend>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>dialog-close</command>
</binding>
<default>true</default>
</button>
<button>
<x>205</x>
<y>10</y>
<legend>Apply</legend>
<binding>
<command>dialog-apply</command>
</binding>
</button>
<button>
<x>305</x>
<y>10</y>
<legend>Reset</legend>
<binding>
<command>dialog-update</command>
</binding>
</button>
<button>
<x>405</x>
<y>10</y>
<legend>Cancel</legend>
<binding>
<command>dialog-close</command>
</binding>
</button>
</PropertyList>