Debian Codegraph @

gui/dialogs/local_weather_tiles.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <PropertyList>
4 <name>local-weather</name>
5 <modal>false</modal>
6 <resizable>false</resizable>
7 <layout>vbox</layout>
8 <default-padding>3</default-padding>
9
10 <!-- Title bar with close button -->
11 <group>
12 <layout>hbox</layout>
13 <default-padding>1</default-padding>
14
15 <text>
16 <label>Advanced Weather Configuration</label>
17 </text>
18
19 <empty>
20 <stretch>true</stretch>
21 </empty>
22
23 <button>
24 <legend>X</legend>
25 <key>Esc</key>
26 <pref-width>20</pref-width>
27 <pref-height>20</pref-height>
28 <binding>
29 <command>dialog-close</command>
30 </binding>
31 </button>
32 </group>
33
34 <hrule/>
35
36 <group>
37 <layout>hbox</layout>
38
39 <!-- gap -->
40 <text>
41 <label></label>
42 </text>
43
44 <group>
45 <layout>vbox</layout>
46
47 <text>
48 <halign>left</halign>
49 <label>General Settings</label>
50 </text>
51
52 <group>
53 <layout>table</layout>
54
55 <text>
56 <row>0</row>
57 <col>0</col>
58 <halign>right</halign>
59 <label>Tile Selection Mode</label>
60 </text>
61
62 <combo>
63 <row>0</row>
64 <col>1</col>
65 <halign>left</halign>
66 <pref-width>150</pref-width>
67 <live>true</live>
68 <property>/local-weather/tmp/tile-management</property>
69 <value>single tile</value>
70 <value>repeat tile</value>
71 <value>realistic weather</value>
72 <value>METAR</value>
73 <binding>
74 <command>dialog-apply</command>
75 </binding>
76 </combo>
77
78 <text>
79 <row>1</row>
80 <col>0</col>
81 <halign>right</halign>
82 <label>Altitude Offset (ft)</label>
83 </text>
84
85 <input>
86 <row>1</row>
87 <col>1</col>
88 <halign>left</halign>
89 <property>/local-weather/tmp/tile-alt-offset-ft</property>
90 </input>
91
92 <text>
93 <row>2</row>
94 <col>0</col>
95 <halign>right</halign>
96 <label>Temperature Offset (C)</label>
97 </text>
98
99 <input>
100 <row>2</row>
101 <col>1</col>
102 <halign>left</halign>
103 <property>/local-weather/config/temperature-offset-degc</property>
104 </input>
105
106 <checkbox>
107 <row>3</row>
108 <col>0</col>
109 <halign>left</halign>
110 <label>Debug Output</label>
111 <property>/local-weather/config/debug-output-flag</property>
112 <binding>
113 <command>dialog-apply</command>
114 </binding>
115 </checkbox>
116
117 <checkbox>
118 <row>3</row>
119 <col>1</col>
120 <halign>left</halign>
121 <label>Terrain Effects</label>
122 <property>/local-weather/config/detailed-terrain-interaction-flag</property>
123 <binding>
124 <command>dialog-apply</command>
125 </binding>
126 </checkbox>
127
128 <checkbox>
129 <row>3</row>
130 <col>2</col>
131 <halign>left</halign>
132 <label>Terrain Presampling</label>
133 <property>/local-weather/config/presampling-flag</property>
134 <binding>
135 <command>dialog-apply</command>
136 </binding>
137 </checkbox>
138
139 </group>
140
141 </group>
142
143 <empty>
144 <stretch>true</stretch>
145 </empty>
146
147 </group>
148
149 <hrule/>
150
151 <group>
152 <layout>hbox</layout>
153
154 <group>
155 <layout>vbox</layout>
156
157 <text>
158 <halign>left</halign>
159 <label> Wind Settings</label>
160 </text>
161
162 <group>
163 <layout>hbox</layout>
164
165 <empty>
166 <stretch>true</stretch>
167 </empty>
168
169 <text>
170 <label>Wind:</label>
171 </text>
172
173 <input>
174 <pref-width>50</pref-width>
175 <property>/local-weather/tmp/tile-orientation-deg</property>
176 </input>
177
178 <text>
179 <label>degrees at</label>
180 </text>
181
182 <input>
183 <pref-width>30</pref-width>
184 <property>/local-weather/tmp/windspeed-kt</property>
185 </input>
186
187 <text>
188 <label>kts</label>
189 </text>
190
191 <empty>
192 <stretch>true</stretch>
193 </empty>
194
195 </group>
196
197 <group>
198 <layout>table</layout>
199
200 <text>
201 <row>0</row>
202 <col>0</col>
203 <halign>right</halign>
204 <label>Gust Frequency (Hz)</label>
205 </text>
206
207 <slider>
208 <row>0</row>
209 <col>1</col>
210 <halign>fill</halign>
211 <min>0.0</min>
212 <max>1.0</max>
213 <property>/local-weather/tmp/gust-frequency-hz</property>
214 <binding>
215 <command>dialog-apply</command>
216 </binding>
217 </slider>
218
219 <text>
220 <row>0</row>
221 <col>2</col>
222 <label>1234</label>
223 <halign>left</halign>
224 <format>%.1f</format>
225 <property>/local-weather/tmp/gust-frequency-hz</property>
226 <live>true</live>
227 </text>
228
229 <text>
230 <row>1</row>
231 <col>0</col>
232 <halign>right</halign>
233 <label>Gust Factor</label>
234 </text>
235
236 <slider>
237 <row>1</row>
238 <col>1</col>
239 <halign>fill</halign>
240 <min>0.0</min>
241 <max>1.5</max>
242 <property>/local-weather/tmp/gust-relative-strength</property>
243 <binding>
244 <command>dialog-apply</command>
245 </binding>
246 </slider>
247
248 <text>
249 <row>1</row>
250 <col>2</col>
251 <halign>left</halign>
252 <label>1234</label>
253 <format>%.1f</format>
254 <property>/local-weather/tmp/gust-relative-strength</property>
255 <live>true</live>
256 </text>
257
258 <text>
259 <row>2</row>
260 <col>0</col>
261 <halign>right</halign>
262 <label> Gust Direction Variation</label>
263 </text>
264
265 <slider>
266 <row>2</row>
267 <col>1</col>
268 <halign>fill</halign>
269 <min>0.0</min>
270 <max>45.0</max>
271 <property>/local-weather/tmp/gust-angular-variation-deg</property>
272 <binding>
273 <command>dialog-apply</command>
274 </binding>
275 </slider>
276
277 <text>
278 <row>2</row>
279 <col>2</col>
280 <halign>left</halign>
281 <label>1234</label>
282 <format>%.1f</format>
283 <property>/local-weather/tmp/gust-angular-variation-deg</property>
284 <live>true</live>
285 </text>
286
287 <text>
288 <row>3</row>
289 <col>0</col>
290 <halign>right</halign>
291 <label>Wind Model</label>
292 </text>
293
294 <combo>
295 <row>3</row>
296 <col>1</col>
297 <halign>fill</halign>
298 <live>true</live>
299 <property>/local-weather/config/wind-model</property>
300 <value>constant</value>
301 <value>constant in tile</value>
302 <value>aloft interpolated</value>
303 <value>aloft waypoints</value>
304 <!-- <value>airmass interpolated</value> -->
305 <binding>
306 <command>dialog-apply</command>
307 </binding>
308 </combo>
309 </group>
310 </group>
311
312 <!-- gap -->
313 <text>
314 <label> </label>
315 </text>
316
317 </group>
318
319 <hrule/>
320
321 <group>
322 <layout>hbox</layout>
323
324 <group>
325 <layout>vbox</layout>
326
327 <text>
328 <halign>left</halign>
329 <label> Thermic and Visibility Settings</label>
330 </text>
331
332 <group>
333 <layout>hbox</layout>
334
335 <!-- gap -->
336 <text>
337 <label></label>
338 </text>
339
340 <group>
341 <layout>table</layout>
342
343 <!-- gap -->
344 <text>
345 <row>0</row>
346 <col>0</col>
347 <pref-width>5</pref-width>
348 <label></label>
349 </text>
350
351 <checkbox>
352 <row>0</row>
353 <col>1</col>
354 <halign>left</halign>
355 <property>/local-weather/config/generate-thermal-lift-flag</property>
356 <label> Generate Thermals </label>
357 <binding>
358 <command>dialog-apply</command>
359 </binding>
360 </checkbox>
361
362 <checkbox>
363 <row>0</row>
364 <col>2</col>
365 <halign>left</halign>
366 <label> Realistic Visibility</label>
367 <property>/local-weather/config/realistic-visibility-flag</property>
368 <binding>
369 <command>dialog-apply</command>
370 </binding>
371 </checkbox>
372
373 <checkbox>
374 <row>1</row>
375 <col>1</col>
376 <halign>left</halign>
377 <label> Cloud Shadows </label>
378 <property>/local-weather/config/generate-cloud-shadows</property>
379 <binding>
380 <command>dialog-apply</command>
381 </binding>
382 </checkbox>
383
384 <text>
385 <row>1</row>
386 <col>2</col>
387 <halign>right</halign>
388 <label> (needs ALS shaders)</label>
389 </text>
390
391 <!-- gap -->
392 <text>
393 <row>1</row>
394 <col>3</col>
395 <label> </label>
396 </text>
397
398 </group>
399
400 </group>
401
402 <empty><stretch>1</stretch></empty>
403
404 <group>
405 <layout>table</layout>
406
407 <text>
408 <row>2</row>
409 <col>0</col>
410 <halign>right</halign>
411 <label> Convective Conditions:</label>
412 </text>
413
414 <text>
415 <row>2</row>
416 <col>1</col>
417 <halign>right</halign>
418 <label>rough day</label>
419 </text>
420
421 <slider>
422 <row>2</row>
423 <col>2</col>
424 <min>0.3</min>
425 <max>1.5</max>
426 <property>/local-weather/config/thermal-properties</property>
427 <binding>
428 <command>dialog-apply</command>
429 </binding>
430 </slider>
431
432 <text>
433 <row>2</row>
434 <col>3</col>
435 <halign>left</halign>
436 <label>low convection</label>
437 </text>
438
439
440
441 <text>
442 <row>3</row>
443 <col>0</col>
444 <halign>right</halign>
445 <label> Turbulence:</label>
446 </text>
447
448 <text>
449 <row>3</row>
450 <col>1</col>
451 <halign>right</halign>
452 <label>weak</label>
453 </text>
454
455 <slider>
456 <row>3</row>
457 <col>2</col>
458 <min>0.0</min>
459 <max>1.5</max>
460 <property>/local-weather/config/turbulence-scale</property>
461 <binding>
462 <command>dialog-apply</command>
463 </binding>
464 </slider>
465
466 <text>
467 <row>3</row>
468 <col>3</col>
469 <halign>left</halign>
470 <label>strong</label>
471 </text>
472
473
474 <text>
475 <row>4</row>
476 <col>0</col>
477 <halign>right</halign>
478 <label>Ground Haze:</label>
479 </text>
480
481 <text>
482 <row>4</row>
483 <col>1</col>
484 <halign>right</halign>
485 <label>thick</label>
486 </text>
487
488 <slider>
489 <row>4</row>
490 <col>2</col>
491 <min>0.1</min>
492 <max>1.0</max>
493 <property>/local-weather/config/ground-haze-factor</property>
494 <binding>
495 <command>dialog-apply</command>
496 </binding>
497 </slider>
498
499 <text>
500 <row>4</row>
501 <col>3</col>
502 <halign>left</halign>
503 <label>thin</label>
504 </text>
505
506 <text>
507 <row>5</row>
508 <col>0</col>
509 <halign>right</halign>
510 <label>Air Pollution:</label>
511 </text>
512
513 <text>
514 <row>5</row>
515 <col>1</col>
516 <halign>right</halign>
517 <label>clean</label>
518 </text>
519
520 <slider>
521 <row>5</row>
522 <col>2</col>
523 <min>0.0</min>
524 <max>1.0</max>
525 <property>/environment/air-pollution-norm</property>
526 <binding>
527 <command>dialog-apply</command>
528 </binding>
529 </slider>
530
531 <text>
532 <row>5</row>
533 <col>3</col>
534 <halign>left</halign>
535 <label>smog</label>
536 </text>
537
538 <text>
539 <row>6</row>
540 <col>0</col>
541 <halign>right</halign>
542 <label>Fog Properties:</label>
543 </text>
544
545 <text>
546 <row>6</row>
547 <col>1</col>
548 <halign>right</halign>
549 <label>smooth</label>
550 </text>
551
552 <slider>
553 <row>6</row>
554 <col>2</col>
555 <min>0.0</min>
556 <max>12.0</max>
557 <property>/environment/fog-structure</property>
558 <binding>
559 <command>dialog-apply</command>
560 </binding>
561 </slider>
562
563 <text>
564 <row>6</row>
565 <col>3</col>
566 <halign>left</halign>
567 <label>structured</label>
568 </text>
569
570 <text>
571 <row>7</row>
572 <col>0</col>
573 <halign>right</halign>
574 <!--<enable>
575 <equals>
576 <property>/local-weather/config/realistic-visibility-flag</property>
577 <value>0</value>
578 </equals>
579 </enable>-->
580 <label>Max. Visibility:</label>
581 </text>
582
583 <text>
584 <row>7</row>
585 <col>1</col>
586 <halign>right</halign>
587 <label>20 km</label>
588 </text>
589
590 <slider>
591 <row>7</row>
592 <col>2</col>
593 <!--<enable>
594 <equals>
595 <property>/local-weather/config/realistic-visibility-flag</property>
596 <value>0</value>
597 </equals>
598 </enable>-->
599 <min>9.90348</min>
600 <max>12.429216196</max>
601 <property>/local-weather/config/aux-max-vis-range-m</property>
602 <binding>
603 <command>dialog-apply</command>
604 </binding>
605 </slider>
606
607 <text>
608 <row>7</row>
609 <col>3</col>
610 <halign>left</halign>
611 <!--<enable>
612 <equals>
613 <property>/local-weather/config/realistic-visibility-flag</property>
614 <value>0</value>
615 </equals>
616 </enable>-->
617 <label>12345678</label>
618 <format>250 km %.fm</format>
619 <live>true</live>
620 <property>/local-weather/config/max-vis-range-m</property>
621 </text>
622 </group>
623
624 </group>
625
626 <!-- gap -->
627 <text>
628 <label> </label>
629 </text>
630
631 </group>
632
633 <hrule/>
634
635 <group>
636 <layout>hbox</layout>
637
638 <!-- gap -->
639 <text>
640 <label></label>
641 </text>
642
643 <group>
644 <layout>vbox</layout>
645
646 <text>
647 <halign>left</halign>
648 <label>Weather Pattern Scales</label>
649 </text>
650
651 <group>
652 <layout>table</layout>
653 <halign>center</halign>
654
655 <text>
656 <row>0</row>
657 <col>0</col>
658 <label> </label>
659 </text>
660
661 <text>
662 <row>0</row>
663 <col>2</col>
664 <halign>left</halign>
665 <label>small</label>
666 </text>
667
668 <text>
669 <row>0</row>
670 <col>3</col>
671 <halign>right</halign>
672 <label>large</label>
673 </text>
674
675 <text>
676 <row>1</row>
677 <col>1</col>
678 <halign>right</halign>
679 <label>Airmass</label>
680 </text>
681
682 <slider>
683 <row>1</row>
684 <col>2</col>
685 <colspan>2</colspan>
686 <halign>fill</halign>
687 <min>0.5</min>
688 <max>2.0</max>
689 <property>/local-weather/config/large-scale-persistence</property>
690 <binding>
691 <command>dialog-apply</command>
692 </binding>
693 </slider>
694
695 <text>
696 <row>2</row>
697 <col>1</col>
698 <halign>right</halign>
699 <label> Cloud Patterns</label>
700 </text>
701
702 <slider>
703 <row>2</row>
704 <col>2</col>
705 <colspan>2</colspan>
706 <halign>fill</halign>
707 <min>0.0</min>
708 <max>1.0</max>
709 <property>/local-weather/config/small-scale-persistence</property>
710 <binding>
711 <command>dialog-apply</command>
712 </binding>
713 </slider>
714 </group>
715 </group>
716
717 <empty>
718 <stretch>true</stretch>
719 </empty>
720
721 </group>
722
723 <hrule/>
724
725 <group>
726 <layout>hbox</layout>
727
728 <empty>
729 <stretch>true</stretch>
730 </empty>
731
732 <button>
733 <legend> OK </legend>
734 <binding>
735 <command>dialog-apply</command>
736 </binding>
737 <binding>
738 <command>dialog-close</command>
739 </binding>
740 </button>
741
742 <button>
743 <legend>Close</legend>
744 <default>true</default>
745 <key>Esc</key>
746 <binding>
747 <command>dialog-close</command>
748 </binding>
749 </button>
750
751 <button>
752 <legend>Wind Configuration ...</legend>
753 <binding>
754 <command>dialog-show</command>
755 <dialog-name>local_weather_winds</dialog-name>
756 </binding>
757 <binding>
758 <command>dialog-apply</command>
759 </binding>
760 </button>
761
762 <empty>
763 <stretch>true</stretch>
764 </empty>
765 </group>
766
767 </PropertyList>