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

453 lines
7.7 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<PropertyList>
<name>autopilot</name>
<width>500</width>
2004-01-31 19:55:13 +00:00
<height>550</height>
<modal>false</modal>
<text>
<x>10</x>
2004-01-31 19:55:13 +00:00
<y>520</y>
<label>AutoPilot Settings</label>
</text>
2004-01-31 19:55:13 +00:00
<!-- Heading Modes -->
<text>
<x>10</x>
2004-01-31 19:55:13 +00:00
<y>480</y>
<label>Heading Modes:</label>
</text>
2004-01-31 19:55:13 +00:00
<!--
<input>
<name>heading-modes</name>
<x>150</x>
2004-01-31 19:55:13 +00:00
<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>
2004-01-31 19:55:13 +00:00
<x>10</x>
<y>450</y>
<label>Wing Leveler:</label>
</text>
2004-01-31 19:55:13 +00:00
<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>
2004-01-31 19:55:13 +00:00
<y>420</y>
<label>Heading Bug:</label>
</text>
<input>
2004-01-31 19:55:13 +00:00
<name>heading-bug</name>
<x>150</x>
<y>420</y>
<width>150</width>
<height>25</height>
<property>/autopilot/settings/heading-bug-deg</property>
</input>
2004-01-31 19:55:13 +00:00
<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>
2004-01-31 19:55:13 +00:00
<y>390</y>
<label>True Heading:</label>
</text>
2004-01-31 19:55:13 +00:00
<input>
<name>true-heading</name>
<x>150</x>
2004-01-31 19:55:13 +00:00
<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>
2004-01-31 19:55:13 +00:00
<!-- Pitch/Alt Modes -->
<text>
<x>10</x>
<y>320</y>
<label>Pitch/Altitude Modes:</label>
</text>
<!--
<input>
2004-01-31 19:55:13 +00:00
<name>pitch-modes</name>
<x>150</x>
<y>320</y>
<width>150</width>
<height>25</height>
2004-01-31 19:55:13 +00:00
<property>/autopilot/locks/heading</property>
</input>
2004-01-31 19:55:13 +00:00
-->
<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>
2004-01-31 19:55:13 +00:00
<y>290</y>
<label>Pitch Hold:</label>
</text>
2004-01-31 19:55:13 +00:00
<input>
<name>pitch-deg</name>
<x>150</x>
2004-01-31 19:55:13 +00:00
<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>
2004-01-31 19:55:13 +00:00
<y>260</y>
<label>AOA Hold:</label>
</text>
2004-01-31 19:55:13 +00:00
<input>
<name>aoa-deg</name>
<x>150</x>
2004-01-31 19:55:13 +00:00
<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>
2004-01-31 19:55:13 +00:00
<y>230</y>
<label>Altitude Hold:</label>
</text>
2004-01-31 19:55:13 +00:00
<input>
<name>altitude</name>
<x>150</x>
2004-01-31 19:55:13 +00:00
<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>
2003-07-19 21:11:44 +00:00
<input>
2004-01-31 19:55:13 +00:00
<name>agl</name>
<x>150</x>
<y>200</y>
2003-07-19 21:11:44 +00:00
<width>150</width>
<height>25</height>
2004-01-31 19:55:13 +00:00
<property>/autopilot/settings/target-agl-ft</property>
2003-07-19 21:11:44 +00:00
</input>
2004-01-31 19:55:13 +00:00
<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>
2004-01-31 19:55:13 +00:00
<y>170</y>
<label>NAV1 GS Hold:</label>
</text>
2004-01-31 19:55:13 +00:00
<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 -->
2003-07-19 21:11:44 +00:00
<text>
<x>10</x>
2004-01-31 19:55:13 +00:00
<y>130</y>
<label>Velocity Hold:</label>
2003-07-19 21:11:44 +00:00
</text>
2004-01-31 19:55:13 +00:00
<!--
<input>
<name>velocity-modes</name>
2003-07-19 21:11:44 +00:00
<x>150</x>
2004-01-31 19:55:13 +00:00
<y>130</y>
<width>150</width>
<height>25</height>
<property>/autopilot/locks/heading</property>
</input>
-->
2003-07-19 21:11:44 +00:00
<input>
2004-01-31 19:55:13 +00:00
<name>autospeed-w-pitch</name>
<x>150</x>
<y>130</y>
2003-07-19 21:11:44 +00:00
<width>150</width>
<height>25</height>
2004-01-31 19:55:13 +00:00
<property>/autopilot/settings/target-speed-kt</property>
2003-07-19 21:11:44 +00:00
</input>
2004-01-31 19:55:13 +00:00
<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" );
</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>