2004-03-23 21:41:16 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<PropertyList>
|
2014-12-30 15:27:10 +00:00
|
|
|
<name>instruments</name>
|
|
|
|
<modal>false</modal>
|
|
|
|
<layout>vbox</layout>
|
2010-12-27 20:19:31 +00:00
|
|
|
|
2014-12-30 16:32:21 +00:00
|
|
|
<nasal>
|
|
|
|
<open><![CDATA[
|
|
|
|
var update = func(){
|
|
|
|
setprop("/instrumentation/altimeter/setting-hpa-formatted", int(getprop("/instrumentation/altimeter/setting-hpa")));
|
|
|
|
setprop("/instrumentation/altimeter/setting-inhg-formatted", int(getprop("/instrumentation/altimeter/setting-inhg")*100.0)/100.0);
|
|
|
|
}
|
|
|
|
var hpaListener = setlistener("/instrumentation/altimeter/setting-hpa", update);
|
|
|
|
var inhgListener = setlistener("/instrumentation/altimeter/setting-inhg", update);
|
|
|
|
update();
|
|
|
|
]]></open>
|
|
|
|
|
|
|
|
<close><![CDATA[
|
|
|
|
removelistener(hpaListener);
|
|
|
|
removelistener(inhgListener);
|
|
|
|
]]></close>
|
|
|
|
</nasal>
|
|
|
|
|
2010-12-27 20:19:31 +00:00
|
|
|
<group>
|
|
|
|
<layout>hbox</layout>
|
|
|
|
<empty><stretch>1</stretch></empty>
|
|
|
|
|
|
|
|
<text>
|
|
|
|
<label>Instrument Settings</label>
|
|
|
|
</text>
|
|
|
|
|
|
|
|
<empty><stretch>1</stretch></empty>
|
|
|
|
|
|
|
|
<button>
|
|
|
|
<pref-width>16</pref-width>
|
|
|
|
<pref-height>16</pref-height>
|
|
|
|
<legend></legend>
|
|
|
|
<keynum>27</keynum>
|
|
|
|
<border>2</border>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-close</command>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
</group>
|
|
|
|
|
|
|
|
<hrule/>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>table</layout>
|
|
|
|
<default-padding>5</default-padding>
|
|
|
|
|
|
|
|
<text>
|
|
|
|
<row>0</row>
|
|
|
|
<col>0</col>
|
|
|
|
<halign>right</halign>
|
2014-12-30 15:27:10 +00:00
|
|
|
<label>QNH setting:</label>
|
2010-12-27 20:19:31 +00:00
|
|
|
</text>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<row>0</row>
|
|
|
|
<col>1</col>
|
|
|
|
<layout>hbox</layout>
|
|
|
|
<default-padding>0</default-padding>
|
|
|
|
|
|
|
|
<button>
|
2014-12-30 15:27:10 +00:00
|
|
|
<width>35</width>
|
|
|
|
<height>26</height>
|
|
|
|
<border>1</border>
|
|
|
|
<legend><</legend>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/instrumentation/altimeter/setting-hpa</property>
|
|
|
|
<step type="double">-1</step>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-update</command>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
</group>
|
|
|
|
|
|
|
|
<input>
|
|
|
|
<row>0</row>
|
|
|
|
<col>3</col>
|
|
|
|
<width>75</width>
|
|
|
|
<height>25</height>
|
|
|
|
<live>true</live>
|
2014-12-30 16:32:21 +00:00
|
|
|
<property>/instrumentation/altimeter/setting-hpa-formatted</property>
|
2010-12-27 20:19:31 +00:00
|
|
|
<binding>
|
2014-12-30 15:27:10 +00:00
|
|
|
<command>dialog-apply</command>
|
2010-12-27 20:19:31 +00:00
|
|
|
</binding>
|
2014-12-30 15:27:10 +00:00
|
|
|
</input>
|
|
|
|
|
|
|
|
<text>
|
|
|
|
<row>0</row>
|
|
|
|
<col>4</col>
|
|
|
|
<padding>0</padding>
|
|
|
|
<halign>left</halign>
|
|
|
|
<label>hPa</label>
|
|
|
|
</text>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>hbox</layout>
|
|
|
|
<row>0</row>
|
|
|
|
<col>5</col>
|
|
|
|
<default-padding>0</default-padding>
|
|
|
|
|
|
|
|
<button>
|
|
|
|
<width>35</width>
|
|
|
|
<height>26</height>
|
|
|
|
<border>1</border>
|
|
|
|
<legend>></legend>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/instrumentation/altimeter/setting-hpa</property>
|
|
|
|
<step type="double">1</step>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-update</command>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
</group>
|
|
|
|
|
|
|
|
<text>
|
|
|
|
<row>1</row>
|
|
|
|
<col>0</col>
|
|
|
|
<halign>right</halign>
|
|
|
|
<label>ALT setting:</label>
|
|
|
|
</text>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<row>1</row>
|
|
|
|
<col>1</col>
|
|
|
|
<layout>hbox</layout>
|
|
|
|
<default-padding>0</default-padding>
|
|
|
|
|
|
|
|
<button>
|
|
|
|
<width>35</width>
|
|
|
|
<height>26</height>
|
|
|
|
<border>1</border>
|
|
|
|
<legend><</legend>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/instrumentation/altimeter/setting-inhg</property>
|
|
|
|
<step type="double">-0.01</step>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-update</command>
|
|
|
|
</binding>
|
2010-12-27 20:19:31 +00:00
|
|
|
</button>
|
|
|
|
|
|
|
|
<button>
|
2014-12-30 15:27:10 +00:00
|
|
|
<width>35</width>
|
|
|
|
<height>26</height>
|
|
|
|
<border>1</border>
|
|
|
|
<legend><<</legend>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/instrumentation/altimeter/setting-inhg</property>
|
|
|
|
<step type="double">-0.10</step>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-update</command>
|
|
|
|
</binding>
|
2010-12-27 20:19:31 +00:00
|
|
|
</button>
|
|
|
|
</group>
|
|
|
|
|
|
|
|
<input>
|
2014-12-30 15:27:10 +00:00
|
|
|
<row>1</row>
|
2010-12-27 20:19:31 +00:00
|
|
|
<col>3</col>
|
|
|
|
<width>75</width>
|
|
|
|
<height>25</height>
|
2014-12-30 15:27:10 +00:00
|
|
|
<live>true</live>
|
2014-12-30 16:32:21 +00:00
|
|
|
<property>/instrumentation/altimeter/setting-inhg-formatted</property>
|
2010-12-27 20:19:31 +00:00
|
|
|
<binding>
|
|
|
|
<command>dialog-apply</command>
|
|
|
|
</binding>
|
|
|
|
</input>
|
|
|
|
|
|
|
|
<text>
|
2014-12-30 15:27:10 +00:00
|
|
|
<row>1</row>
|
2010-12-27 20:19:31 +00:00
|
|
|
<col>4</col>
|
|
|
|
<padding>0</padding>
|
|
|
|
<halign>left</halign>
|
|
|
|
<label>inHg</label>
|
|
|
|
</text>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>hbox</layout>
|
2014-12-30 15:27:10 +00:00
|
|
|
<row>1</row>
|
2010-12-27 20:19:31 +00:00
|
|
|
<col>5</col>
|
|
|
|
<default-padding>0</default-padding>
|
|
|
|
|
|
|
|
<button>
|
2014-12-30 15:27:10 +00:00
|
|
|
<width>35</width>
|
|
|
|
<height>26</height>
|
|
|
|
<border>1</border>
|
|
|
|
<legend>>></legend>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/instrumentation/altimeter/setting-inhg</property>
|
|
|
|
<step type="double">0.10</step>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-update</command>
|
|
|
|
</binding>
|
2010-12-27 20:19:31 +00:00
|
|
|
</button>
|
|
|
|
|
|
|
|
<button>
|
2014-12-30 15:27:10 +00:00
|
|
|
<row>1</row>
|
2010-12-27 20:19:31 +00:00
|
|
|
<col>6</col>
|
|
|
|
<width>35</width>
|
|
|
|
<height>26</height>
|
|
|
|
<border>1</border>
|
|
|
|
<legend>></legend>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/instrumentation/altimeter/setting-inhg</property>
|
|
|
|
<step type="double">0.01</step>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-update</command>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
</group>
|
|
|
|
|
|
|
|
<text>
|
2014-12-30 15:27:10 +00:00
|
|
|
<row>2</row>
|
2010-12-27 20:19:31 +00:00
|
|
|
<col>0</col>
|
|
|
|
<halign>right</halign>
|
|
|
|
<label>HI offset:</label>
|
|
|
|
</text>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>hbox</layout>
|
|
|
|
<default-padding>0</default-padding>
|
2014-12-30 15:27:10 +00:00
|
|
|
<row>2</row>
|
2010-12-27 20:19:31 +00:00
|
|
|
<col>1</col>
|
|
|
|
|
|
|
|
<button>
|
|
|
|
<width>35</width>
|
|
|
|
<height>26</height>
|
|
|
|
<border>1</border>
|
|
|
|
<legend><</legend>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/instrumentation/heading-indicator/offset-deg</property>
|
|
|
|
<step type="double">-1.0</step>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-update</command>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button>
|
2014-12-30 15:27:10 +00:00
|
|
|
<width>35</width>
|
|
|
|
<height>26</height>
|
|
|
|
<border>1</border>
|
|
|
|
<legend><<</legend>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/instrumentation/heading-indicator/offset-deg</property>
|
|
|
|
<step type="double">-10.0</step>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-update</command>
|
|
|
|
</binding>
|
2010-12-27 20:19:31 +00:00
|
|
|
</button>
|
|
|
|
</group>
|
|
|
|
|
|
|
|
<input>
|
2014-12-30 15:27:10 +00:00
|
|
|
<row>2</row>
|
2010-12-27 20:19:31 +00:00
|
|
|
<col>3</col>
|
|
|
|
<width>75</width>
|
|
|
|
<height>25</height>
|
2014-12-30 15:27:10 +00:00
|
|
|
<live>true</live>
|
2010-12-27 20:19:31 +00:00
|
|
|
<property>/instrumentation/heading-indicator/offset-deg</property>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-apply</command>
|
|
|
|
</binding>
|
|
|
|
</input>
|
|
|
|
|
|
|
|
<text>
|
2014-12-30 15:27:10 +00:00
|
|
|
<row>2</row>
|
2010-12-27 20:19:31 +00:00
|
|
|
<col>4</col>
|
|
|
|
<padding>0</padding>
|
|
|
|
<halign>left</halign>
|
|
|
|
<label>deg</label>
|
|
|
|
</text>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>hbox</layout>
|
|
|
|
<default-padding>0</default-padding>
|
2014-12-30 15:27:10 +00:00
|
|
|
<row>2</row>
|
2010-12-27 20:19:31 +00:00
|
|
|
<col>5</col>
|
|
|
|
|
|
|
|
<button>
|
2014-12-30 15:27:10 +00:00
|
|
|
<width>35</width>
|
|
|
|
<height>26</height>
|
|
|
|
<border>1</border>
|
|
|
|
<legend>>></legend>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/instrumentation/heading-indicator/offset-deg</property>
|
|
|
|
<step type="double">10.0</step>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-update</command>
|
|
|
|
</binding>
|
2010-12-27 20:19:31 +00:00
|
|
|
</button>
|
|
|
|
|
|
|
|
<button>
|
2014-12-30 15:27:10 +00:00
|
|
|
<width>35</width>
|
|
|
|
<height>26</height>
|
|
|
|
<border>1</border>
|
|
|
|
<legend>></legend>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/instrumentation/heading-indicator/offset-deg</property>
|
|
|
|
<step type="double">1.0</step>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-update</command>
|
|
|
|
</binding>
|
2010-12-27 20:19:31 +00:00
|
|
|
</button>
|
2014-12-30 15:27:10 +00:00
|
|
|
</group>
|
2010-12-27 20:19:31 +00:00
|
|
|
</group>
|
|
|
|
|
|
|
|
<hrule/>
|
2004-03-23 21:41:16 +00:00
|
|
|
|
|
|
|
<button>
|
2010-12-27 20:19:31 +00:00
|
|
|
<legend>Close</legend>
|
|
|
|
<default>true</default>
|
|
|
|
<key>Esc</key>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-close</command>
|
|
|
|
</binding>
|
2004-03-23 21:41:16 +00:00
|
|
|
</button>
|
|
|
|
|
2005-05-06 14:01:46 +00:00
|
|
|
</PropertyList>
|