1
0
Fork 0
fgdata/gui/dialogs/local_weather.xml
2010-04-12 20:46:07 +00:00

599 lines
9 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<!-- Cloud placement methods -->
<name>local_weather</name>
<width>800</width>
<height>570</height>
<modal>false</modal>
<text>
<x>10</x>
<y>530</y>
<label>Place a single cloud</label>
</text>
<group>
<x>0</x>
<y>500</y>
<text>
<x>10</x>
<y>0</y>
<label>Type</label>
</text>
<text>
<x>130</x>
<y>0</y>
<label>subtype</label>
</text>
<text>
<x>203</x>
<y>0</y>
<label>lat (deg)</label>
</text>
<text>
<x>276</x>
<y>0</y>
<label>lon (deg)</label>
</text>
<text>
<x>349</x>
<y>0</y>
<label>alt (ft)</label>
</text>
<text>
<x>422</x>
<y>0</y>
<label>dir (deg)</label>
</text>
</group>
<group>
<x>0</x>
<y>470</y>
<combo>
<x>10</x>
<y>0</y>
<width>117</width>
<height>25</height>
<live>true</live>
<property>/local-weather/tmp/scloud-type</property>
<value>Altocumulus</value>
<value>Cirrus</value>
<value>Cumulus</value>
<value>Cumulonimbus</value>
<binding>
<command>dialog-apply</command>
</binding>
</combo>
<combo>
<x>130</x>
<y>0</y>
<width>70</width>
<height>25</height>
<live>true</live>
<property>/local-weather/tmp/scloud-subtype</property>
<value>large</value>
<value>small</value>
<binding>
<command>dialog-apply</command>
</binding>
</combo>
<input>
<x>203</x>
<y>0</y>
<width>70</width>
<height>25</height>
<property>/local-weather/tmp/scloud-lat</property>
</input>
<input>
<x>276</x>
<y>0</y>
<width>70</width>
<height>25</height>
<property>/local-weather/tmp/scloud-lon</property>
</input>
<input>
<x>349</x>
<y>0</y>
<width>70</width>
<height>25</height>
<property>/local-weather/tmp/scloud-alt</property>
</input>
<input>
<x>422</x>
<y>0</y>
<width>70</width>
<height>25</height>
<property>/local-weather/tmp/scloud-dir</property>
</input>
<button>
<x>500</x>
<y>0</y>
<legend>Place</legend>
<default>true</default>
<equal>true</equal>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>nasal</command>
<script>local_weather.single_cloud_wrapper()</script>
</binding>
</button>
</group>
<text>
<x>10</x>
<y>440</y>
<label>Place a cloud streak</label>
</text>
<group>
<x>0</x>
<y>410</y>
<text>
<x>10</x>
<y>0</y>
<label>Type</label>
</text>
<text>
<x>130</x>
<y>0</y>
<label>alt. (ft)</label>
</text>
<text>
<x>203</x>
<y>0</y>
<label>number x</label>
</text>
<text>
<x>276</x>
<y>0</y>
<label>Delta x (m)</label>
</text>
<text>
<x>349</x>
<y>0</y>
<label>x edge</label>
</text>
<text>
<x>422</x>
<y>0</y>
<label>number y</label>
</text>
<text>
<x>495</x>
<y>0</y>
<label>Delta y (m)</label>
</text>
<text>
<x>568</x>
<y>0</y>
<label>y edge</label>
</text>
<text>
<x>641</x>
<y>0</y>
<label>Dir. (deg)</label>
</text>
<text>
<x>714</x>
<y>0</y>
<label>Triang.</label>
</text>
</group>
<group>
<x>0</x>
<y>380</y>
<combo>
<x>10</x>
<y>0</y>
<width>117</width>
<height>25</height>
<live>true</live>
<property>/local-weather/tmp/cloud-type</property>
<value>Altocumulus</value>
<value>Cirrus</value>
<value>Cumulus</value>
<value>Cumuloniombus</value>
<binding>
<command>dialog-apply</command>
</binding>
</combo>
<input>
<x>130</x>
<y>0</y>
<width>70</width>
<height>25</height>
<property>/local-weather/tmp/alt</property>
</input>
<input>
<x>203</x>
<y>0</y>
<width>70</width>
<height>25</height>
<property>/local-weather/tmp/nx</property>
</input>
<input>
<x>276</x>
<y>0</y>
<width>70</width>
<height>25</height>
<property>/local-weather/tmp/xoffset</property>
</input>
<input>
<x>349</x>
<y>0</y>
<width>70</width>
<height>25</height>
<property>/local-weather/tmp/xedge</property>
</input>
<input>
<x>422</x>
<y>0</y>
<width>70</width>
<height>25</height>
<property>/local-weather/tmp/ny</property>
</input>
<input>
<x>495</x>
<y>0</y>
<width>70</width>
<height>25</height>
<property>/local-weather/tmp/yoffset</property>
</input>
<input>
<x>568</x>
<y>0</y>
<width>70</width>
<height>25</height>
<property>/local-weather/tmp/yedge</property>
</input>
<input>
<x>641</x>
<y>0</y>
<width>70</width>
<height>25</height>
<property>/local-weather/tmp/dir</property>
</input>
<input>
<x>714</x>
<y>0</y>
<width>70</width>
<height>25</height>
<property>/local-weather/tmp/tri</property>
</input>
</group>
<group>
<x>0</x>
<y>340</y>
<text>
<x>10</x>
<y>0</y>
<label>rand. x (m)</label>
</text>
<input>
<x>90</x>
<y>0</y>
<width>70</width>
<height>25</height>
<property>/local-weather/tmp/rnd-pos-x</property>
</input>
<text>
<x>165</x>
<y>0</y>
<label>rand. y (m)</label>
</text>
<input>
<x>245</x>
<y>0</y>
<width>70</width>
<height>25</height>
<property>/local-weather/tmp/rnd-pos-y</property>
</input>
<text>
<x>320</x>
<y>0</y>
<label>rand. alt. (ft)</label>
</text>
<input>
<x>410</x>
<y>0</y>
<width>70</width>
<height>25</height>
<property>/local-weather/tmp/rnd-alt</property>
</input>
<button>
<x>490</x>
<y>0</y>
<legend>Draw streak</legend>
<default>true</default>
<equal>true</equal>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>nasal</command>
<script>local_weather.streak_wrapper()</script>
</binding>
</button>
</group>
<text>
<x>10</x>
<y>310</y>
<label>Start the convective system</label>
</text>
<group>
<x>0</x>
<y>270</y>
<text>
<x>10</x>
<y>0</y>
<label>strength</label>
</text>
<input>
<x>90</x>
<y>0</y>
<width>70</width>
<height>25</height>
<property>/local-weather/tmp/conv-strength</property>
</input>
<text>
<x>165</x>
<y>0</y>
<label>alt (ft)</label>
</text>
<input>
<x>245</x>
<y>0</y>
<width>70</width>
<height>25</height>
<property>/local-weather/tmp/conv-alt</property>
</input>
<text>
<x>320</x>
<y>0</y>
<label>size (km)</label>
</text>
<input>
<x>410</x>
<y>0</y>
<width>70</width>
<height>25</height>
<property>/local-weather/tmp/conv-size</property>
</input>
<button>
<x>490</x>
<y>0</y>
<legend>Create</legend>
<default>true</default>
<equal>true</equal>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>nasal</command>
<script>local_weather.convection_wrapper()</script>
</binding>
</button>
</group>
<text>
<x>10</x>
<y>240</y>
<label>Create barrier clouds</label>
</text>
<group>
<x>0</x>
<y>210</y>
<text>
<x>10</x>
<y>0</y>
<label>alt. (ft)</label>
</text>
<input>
<x>80</x>
<y>0</y>
<width>70</width>
<height>25</height>
<property>/local-weather/tmp/bar-alt</property>
</input>
<text>
<x>155</x>
<y>0</y>
<label>number</label>
</text>
<input>
<x>225</x>
<y>0</y>
<width>70</width>
<height>25</height>
<property>/local-weather/tmp/bar-n</property>
</input>
<text>
<x>300</x>
<y>0</y>
<label>wind (deg)</label>
</text>
<input>
<x>370</x>
<y>0</y>
<width>70</width>
<height>25</height>
<property>/local-weather/tmp/bar-dir</property>
</input>
<text>
<x>445</x>
<y>0</y>
<label>dist (km)</label>
</text>
<input>
<x>515</x>
<y>0</y>
<width>70</width>
<height>25</height>
<property>/local-weather/tmp/bar-dist</property>
</input>
<text>
<x>590</x>
<y>0</y>
<label>size (km)</label>
</text>
<input>
<x>660</x>
<y>0</y>
<width>70</width>
<height>25</height>
<property>/local-weather/tmp/bar-size</property>
</input>
<button>
<x>735</x>
<y>0</y>
<legend>Create</legend>
<default>true</default>
<equal>true</equal>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>nasal</command>
<script>local_weather.barrier_wrapper()</script>
</binding>
</button>
</group>
<!-- Button Box -->
<group>
<x>105</x>
<y>10</y>
<button>
<x>0</x>
<y>0</y>
<legend>OK</legend>
<default>true</default>
<equal>true</equal>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>reinit</command>
<subsystem>environment</subsystem>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button>
<button>
<x>80</x>
<y>0</y>
<legend>Clear clouds</legend>
<default>true</default>
<equal>true</equal>
<binding>
<command>nasal</command>
<script>local_weather.clear_all()</script>
</binding>
</button>
<button>
<x>200</x>
<y>0</y>
<legend>Cancel</legend>
<equal>true</equal>
<key>Esc</key>
<binding>
<command>dialog-close</command>
</binding>
</button>
</group>
</PropertyList>