1
0
Fork 0
fgdata/gui/dialogs/volcano-etna.xml
2018-01-30 10:28:08 +02:00

141 lines
2.4 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<name>Etna</name>
<layout>vbox</layout>
<default-padding>1</default-padding>
<modal>false</modal>
<width>400</width>
<empty>
<pref-height>6</pref-height>
</empty>
<text>
<label>Etna activity</label>
</text>
<empty>
<pref-height>4</pref-height>
</empty>
<hrule/>
<group>
<layout>table</layout>
<text>
<label>Southeast crater activity</label>
<halign>left</halign>
<row>0</row>
<col>0</col>
</text>
<text>
<label>dormant</label>
<row>0</row>
<col>1</col>
</text>
<slider>
<name>se</name>
<row>0</row>
<col>2</col>
<min>0</min>
<max>3</max>
<step>1</step>
<live>true</live>
<property>/environment/volcanoes/etna/southeast-activity</property>
<binding>
<command>dialog-apply</command>
<object-name>se</object-name>
</binding>
</slider>
<text>
<label>active</label>
<row>0</row>
<col>3</col>
</text>
<text>
<label>Northeast crater activity</label>
<halign>left</halign>
<row>1</row>
<col>0</col>
</text>
<text>
<label>dormant</label>
<row>1</row>
<col>1</col>
</text>
<slider>
<name>ne</name>
<row>1</row>
<col>2</col>
<min>0</min>
<max>3</max>
<step>1</step>
<live>true</live>
<property>/environment/volcanoes/etna/northeast-activity</property>
<binding>
<command>dialog-apply</command>
<object-name>ne</object-name>
</binding>
</slider>
<text>
<label>active</label>
<row>1</row>
<col>3</col>
</text>
</group>
<empty>
<pref-height>12</pref-height>
</empty>
<hrule/>
<empty>
<pref-height>20</pref-height>
</empty>
<group>
<layout>table</layout>
<button>
<row>0</row>
<col>0</col>
<legend>OK</legend>
<default>true</default>
<equal>true</equal>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button>
<button>
<row>0</row>
<col>1</col>
<legend>Close</legend>
<default>true</default>
<key>Esc</key>
<binding>
<command>dialog-close</command>
</binding>
</button>
</group>
</PropertyList>