1
0
Fork 0

FGCom: add a PTT checkbox for test + make them as live

This commit is contained in:
Clément de l'Hamaide 2014-08-09 19:01:13 +02:00
parent 4c89733005
commit 5e5914da75

View file

@ -137,6 +137,7 @@
<halign>left</halign> <halign>left</halign>
<name>enabled</name> <name>enabled</name>
<label></label> <label></label>
<live>1</live>
<enable> <enable>
<equals> <equals>
<property>/sim/fgcom/test</property> <property>/sim/fgcom/test</property>
@ -163,6 +164,7 @@
<halign>left</halign> <halign>left</halign>
<name>showMessages</name> <name>showMessages</name>
<label></label> <label></label>
<live>1</live>
<property>/sim/fgcom/show-messages</property> <property>/sim/fgcom/show-messages</property>
<binding> <binding>
<command>dialog-apply</command> <command>dialog-apply</command>
@ -173,7 +175,7 @@
<row>1</row> <row>1</row>
<col>1</col> <col>1</col>
<label> (for debug only)</label> <label> (for debug only)</label>
<halign>right</halign> <halign>left</halign>
</text> </text>
<text> <text>
@ -201,6 +203,7 @@
<value>1</value> <value>1</value>
</equals> </equals>
</enable> </enable>
<live>1</live>
<property>/sim/fgcom/test</property> <property>/sim/fgcom/test</property>
<binding> <binding>
<command>dialog-apply</command> <command>dialog-apply</command>
@ -211,11 +214,51 @@
<text> <text>
<row>4</row> <row>4</row>
<col>0</col> <col>0</col>
<label>PTT test:</label>
<halign>right</halign>
<enable>
<equals>
<property>/sim/fgcom/enabled</property>
<value>-1</value>
</equals>
</enable>
</text>
<checkbox>
<row>4</row>
<col>1</col>
<colspan>2</colspan>
<halign>left</halign>
<name>ptt-test</name>
<label></label>
<enable>
<equals>
<property>/sim/fgcom/enabled</property>
<value>-1</value>
</equals>
</enable>
<live>1</live>
<property>/instrumentation/comm[0]/ptt</property>
<binding>
<command>dialog-apply</command>
<object-name>ptt-test</object-name>
</binding>
</checkbox>
<text>
<row>4</row>
<col>1</col>
<label> (/instrumentation/comm/ptt) </label>
<halign>left</halign>
</text>
<text>
<row>5</row>
<col>0</col>
<label>Speaker Volume:</label> <label>Speaker Volume:</label>
<halign>right</halign> <halign>right</halign>
</text> </text>
<slider> <slider>
<row>4</row> <row>5</row>
<col>1</col> <col>1</col>
<halign>left</halign> <halign>left</halign>
<name>speaker-vol</name> <name>speaker-vol</name>
@ -230,22 +273,23 @@
</binding> </binding>
</slider> </slider>
<text> <text>
<row>4</row> <row>5</row>
<col>2</col> <col>1</col>
<label>1234 </label> <label>1234 </label>
<format>%.1f</format> <format>%.1f</format>
<live>true</live> <live>true</live>
<halign>right</halign>
<property>/sim/fgcom/speaker-level</property> <property>/sim/fgcom/speaker-level</property>
</text> </text>
<text> <text>
<row>5</row> <row>6</row>
<col>0</col> <col>0</col>
<label>Silence threshold:</label> <label>Silence threshold:</label>
<halign>right</halign> <halign>right</halign>
</text> </text>
<slider> <slider>
<row>5</row> <row>6</row>
<col>1</col> <col>1</col>
<halign>left</halign> <halign>left</halign>
<name>silence-thd</name> <name>silence-thd</name>
@ -260,11 +304,12 @@
</binding> </binding>
</slider> </slider>
<text> <text>
<row>5</row> <row>6</row>
<col>2</col> <col>1</col>
<label>1234 dB </label> <label>1234 dB </label>
<format>%.1f dB</format> <format>%.1f dB</format>
<live>true</live> <live>true</live>
<halign>right</halign>
<property>/sim/fgcom/silence-threshold</property> <property>/sim/fgcom/silence-threshold</property>
</text> </text>
</group> </group>