Instruments GUI: add QNH setting
Thanks to Omega & jam007 on forum http://forum.flightgear.org/viewtopic.php?f=6&t=20045
This commit is contained in:
parent
18270fddc3
commit
2ce60a3659
1 changed files with 161 additions and 93 deletions
|
@ -1,7 +1,5 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<name>instruments</name>
|
||||
<modal>false</modal>
|
||||
<layout>vbox</layout>
|
||||
|
@ -38,7 +36,7 @@
|
|||
<row>0</row>
|
||||
<col>0</col>
|
||||
<halign>right</halign>
|
||||
<label>ALT setting:</label>
|
||||
<label>QNH setting:</label>
|
||||
</text>
|
||||
|
||||
<group>
|
||||
|
@ -47,6 +45,77 @@
|
|||
<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-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>
|
||||
<property>/instrumentation/altimeter/setting-hpa</property>
|
||||
<binding>
|
||||
<command>dialog-apply</command>
|
||||
</binding>
|
||||
</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>
|
||||
|
@ -79,7 +148,7 @@
|
|||
</group>
|
||||
|
||||
<input>
|
||||
<row>0</row>
|
||||
<row>1</row>
|
||||
<col>3</col>
|
||||
<width>75</width>
|
||||
<height>25</height>
|
||||
|
@ -91,7 +160,7 @@
|
|||
</input>
|
||||
|
||||
<text>
|
||||
<row>0</row>
|
||||
<row>1</row>
|
||||
<col>4</col>
|
||||
<padding>0</padding>
|
||||
<halign>left</halign>
|
||||
|
@ -100,7 +169,7 @@
|
|||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
<row>0</row>
|
||||
<row>1</row>
|
||||
<col>5</col>
|
||||
<default-padding>0</default-padding>
|
||||
|
||||
|
@ -120,7 +189,7 @@
|
|||
</button>
|
||||
|
||||
<button>
|
||||
<row>0</row>
|
||||
<row>1</row>
|
||||
<col>6</col>
|
||||
<width>35</width>
|
||||
<height>26</height>
|
||||
|
@ -138,7 +207,7 @@
|
|||
</group>
|
||||
|
||||
<text>
|
||||
<row>1</row>
|
||||
<row>2</row>
|
||||
<col>0</col>
|
||||
<halign>right</halign>
|
||||
<label>HI offset:</label>
|
||||
|
@ -147,7 +216,7 @@
|
|||
<group>
|
||||
<layout>hbox</layout>
|
||||
<default-padding>0</default-padding>
|
||||
<row>1</row>
|
||||
<row>2</row>
|
||||
<col>1</col>
|
||||
|
||||
<button>
|
||||
|
@ -182,7 +251,7 @@
|
|||
</group>
|
||||
|
||||
<input>
|
||||
<row>1</row>
|
||||
<row>2</row>
|
||||
<col>3</col>
|
||||
<width>75</width>
|
||||
<height>25</height>
|
||||
|
@ -194,7 +263,7 @@
|
|||
</input>
|
||||
|
||||
<text>
|
||||
<row>1</row>
|
||||
<row>2</row>
|
||||
<col>4</col>
|
||||
<padding>0</padding>
|
||||
<halign>left</halign>
|
||||
|
@ -204,7 +273,7 @@
|
|||
<group>
|
||||
<layout>hbox</layout>
|
||||
<default-padding>0</default-padding>
|
||||
<row>1</row>
|
||||
<row>2</row>
|
||||
<col>5</col>
|
||||
|
||||
<button>
|
||||
|
@ -237,7 +306,6 @@
|
|||
</binding>
|
||||
</button>
|
||||
</group>
|
||||
|
||||
</group>
|
||||
|
||||
<hrule/>
|
||||
|
|
Loading…
Add table
Reference in a new issue