1
0
Fork 0
fgdata/gui/dialogs/atc-freq-display.xml

68 lines
1.6 KiB
XML
Raw Permalink Normal View History

<?xml version="1.0"?>
<PropertyList>
<name>atc-freq-display</name>
<layout>vbox</layout>
<text>
<label>TITLE ("ICAO Frequencies")</label>
</text>
<hrule/>
<group>
<name>frequency-list</name>
<layout>vbox</layout>
<!-- using one copy of group-template per frequency line -->
<group-template>
<enabled>false</enabled>
<layout>hbox</layout>
<text>
<halign>left</halign>
<label>LABEL</label>
</text>
<empty>
<stretch>true</stretch>
</empty>
<text>
<halign>right</halign>
<label>FREQUENCY</label>
</text>
<button>
<pref-width>50</pref-width>
<pref-height>22</pref-height>
<legend>COM1</legend>
<border>2</border>
<binding>
<command>property-assign</command>
<property>/instrumentation/comm/frequencies/selected-mhz</property>
<value type="float">FREQUENCY</value>
</binding>
</button>
<button>
<pref-width>50</pref-width>
<pref-height>22</pref-height>
<legend>COM2</legend>
<border>2</border>
<binding>
<command>property-assign</command>
<property>/instrumentation/comm[1]/frequencies/selected-mhz</property>
<value type="float">FREQUENCY</value>
</binding>
</button>
</group-template>
</group>
<button>
<legend>Close</legend>
<default>true</default>
<key>Esc</key>
<binding>
<command>dialog-close</command>
</binding>
</button>
</PropertyList>