| 1 | <?xml version="1.0"?> |
| 2 | |
| 3 | <PropertyList> |
| 4 | |
| 5 | <name>c172p-baggage-weight-dialog</name> |
| 6 | <layout>vbox</layout> |
| 7 | <resizable>false</resizable> |
| 8 | <modal>false</modal> |
| 9 | <draggable>true</draggable> |
| 10 | |
| 11 | <group> |
| 12 | <layout>hbox</layout> |
| 13 | |
| 14 | <empty><stretch>true</stretch></empty> |
| 15 | <text> |
| 16 | <label>Baggage Weight</label> |
| 17 | </text> |
| 18 | <empty><stretch>true</stretch></empty> |
| 19 | |
| 20 | <button> |
| 21 | <legend>X</legend> |
| 22 | <key>Esc</key> |
| 23 | <halign>right</halign> |
| 24 | <pref-width>20</pref-width> |
| 25 | <pref-height>20</pref-height> |
| 26 | <binding> |
| 27 | <command>dialog-close</command> |
| 28 | </binding> |
| 29 | </button> |
| 30 | </group> |
| 31 | |
| 32 | <hrule/> |
| 33 | |
| 34 | <group> |
| 35 | <layout>vbox</layout> |
| 36 | <padding>6</padding> |
| 37 | <empty><stretch>true</stretch></empty> |
| 38 | <group> |
| 39 | <layout>hbox</layout> |
| 40 | <text> |
| 41 | <label>Baggage Weight:</label> |
| 42 | <halign>left</halign> |
| 43 | </text> |
| 44 | <slider> |
| 45 | <name>c172p-baggage-weight-slider</name> |
| 46 | <min>0</min> |
| 47 | <max>150.0</max> |
| 48 | <live>true</live> |
| 49 | <enable> |
| 50 | <less-than> |
| 51 | <property>velocities/groundspeed-kt</property> |
| 52 | <value>1.0</value> |
| 53 | </less-than> |
| 54 | </enable> |
| 55 | <property>/payload/weight[4]/weight-lb</property> |
| 56 | <binding> |
| 57 | <command>dialog-apply</command> |
| 58 | <name>c172p-baggage-weight-slider</name> |
| 59 | </binding> |
| 60 | </slider> |
| 61 | <group> |
| 62 | <layout>vbox</layout> |
| 63 | <padding>6</padding> |
| 64 | <group> |
| 65 | <layout>hbox</layout> |
| 66 | <padding>6</padding> |
| 67 | <text> |
| 68 | <label>1234</label> |
| 69 | <halign>left</halign> |
| 70 | <format>%.1f</format> |
| 71 | <live>true</live> |
| 72 | <property>/payload/weight[4]/weight-lb</property> |
| 73 | </text> |
| 74 | <text> |
| 75 | <label>pounds</label> |
| 76 | <halign>left</halign> |
| 77 | </text> |
| 78 | </group> |
| 79 | <group> |
| 80 | <layout>hbox</layout> |
| 81 | <padding>6</padding> |
| 82 | <text> |
| 83 | <label>1234</label> |
| 84 | <halign>left</halign> |
| 85 | <format>%.1f</format> |
| 86 | <live>true</live> |
| 87 | <property>/payload/weight[4]/weight-kg</property> |
| 88 | </text> |
| 89 | <text> |
| 90 | <label>kilograms</label> |
| 91 | <halign>left</halign> |
| 92 | </text> |
| 93 | </group> |
| 94 | </group> |
| 95 | </group> |
| 96 | </group> |
| 97 | |
| 98 | <group> |
| 99 | <layout>hbox</layout> |
| 100 | <text> |
| 101 | <visible> |
| 102 | <greater-than-equals> |
| 103 | <property>velocities/groundspeed-kt</property> |
| 104 | <value>1.0</value> |
| 105 | </greater-than-equals> |
| 106 | </visible> |
| 107 | <color> |
| 108 | <red>0.9</red> |
| 109 | <green>0.1</green> |
| 110 | <blue>0.1</blue> |
| 111 | </color> |
| 112 | <label>Dialog disabled when in movement</label> |
| 113 | </text> |
| 114 | </group> |
| 115 | |
| 116 | <hrule/> |
| 117 | |
| 118 | <group> |
| 119 | <layout>hbox</layout> |
| 120 | <default-padding>6</default-padding> |
| 121 | <empty><stretch>true</stretch></empty> |
| 122 | <button> |
| 123 | <legend>Close</legend> |
| 124 | <equal>true</equal> |
| 125 | <key>Esc</key> |
| 126 | <default>true</default> |
| 127 | <binding> |
| 128 | <command>dialog-close</command> |
| 129 | </binding> |
| 130 | </button> |
| 131 | </group> |
| 132 | |
| 133 | </PropertyList> |