2009-05-04 11:20:44 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<PropertyList>
|
|
|
|
|
|
|
|
<name>pushback</name>
|
|
|
|
<layout>vbox</layout>
|
2009-05-05 14:17:36 +00:00
|
|
|
<nasal>
|
|
|
|
<open>
|
|
|
|
var pushback_position = aircraft.door.new("sim/model/pushback", 10.0);
|
|
|
|
pushback_position.setpos(pushback_position.getpos());
|
|
|
|
props.globals.initNode("/sim/model/pushback/enabled", 0, "BOOL" );
|
|
|
|
props.globals.initNode("/sim/model/pushback/magnitude", 0.0 );
|
|
|
|
</open>
|
|
|
|
</nasal>
|
2009-05-04 11:20:44 +00:00
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>hbox</layout>
|
|
|
|
<text>
|
|
|
|
<label>Pushback</label>
|
|
|
|
</text>
|
|
|
|
|
|
|
|
<empty><stretch>true</stretch></empty>
|
|
|
|
|
|
|
|
<button>
|
|
|
|
<legend></legend>
|
|
|
|
<key>Esc</key>
|
|
|
|
<pref-width>16</pref-width>
|
|
|
|
<pref-height>16</pref-height>
|
|
|
|
<border>2</border>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-close</command>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
</group>
|
|
|
|
|
|
|
|
<hrule/>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<stretch>true</stretch>
|
|
|
|
<layout>vbox</layout>
|
|
|
|
<halign>center</halign>
|
|
|
|
<valign>top</valign>
|
|
|
|
|
|
|
|
<checkbox>
|
|
|
|
<halign>left</halign>
|
|
|
|
<label>Show pushback</label>
|
|
|
|
<property>/sim/model/pushback/enabled</property>
|
|
|
|
<binding>
|
|
|
|
<command>property-toggle</command>
|
|
|
|
<property>/sim/model/pushback/enabled</property>
|
|
|
|
</binding>
|
|
|
|
</checkbox>
|
|
|
|
|
|
|
|
<checkbox>
|
|
|
|
<halign>left</halign>
|
|
|
|
<label>Connect pushback</label>
|
|
|
|
<property>/sim/model/pushback/position-norm</property>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
2009-05-05 14:17:36 +00:00
|
|
|
<script>pushback_position.toggle();</script>
|
2009-05-04 11:20:44 +00:00
|
|
|
</binding>
|
|
|
|
</checkbox>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>hbox</layout>
|
|
|
|
|
|
|
|
<text>
|
|
|
|
<label>Force:</label>
|
|
|
|
</text>
|
|
|
|
|
|
|
|
<slider>
|
|
|
|
<row>0</row>
|
|
|
|
<col>2</col>
|
|
|
|
<min>-40000</min>
|
|
|
|
<max>40000</max>
|
|
|
|
<property>/sim/model/pushback/magnitude</property>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-apply</command>
|
|
|
|
</binding>
|
|
|
|
</slider>
|
|
|
|
|
|
|
|
</group>
|
|
|
|
|
|
|
|
</group>
|
|
|
|
|
|
|
|
</PropertyList>
|
|
|
|
|