Debian Codegraph @

gui/dialogs/winch_failure.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2 <PropertyList>
3
4 <name>winch_failure_dialog</name>
5 <layout>vbox</layout>
6
7
8 <group>
9 <layout>hbox</layout>
10 <text>
11 <halign>center</halign>
12 <label>Simulate Winch Failures</label>
13 </text>
14
15 <empty>
16 <stretch>true</stretch>
17 </empty>
18
19 <button>
20 <legend>X</legend>
21 <key>Esc</key>
22 <pref-width>20</pref-width>
23 <pref-height>20</pref-height>
24 <binding>
25 <command>nasal</command>
26 <script>towing.write_config();</script>
27 </binding>
28 <binding>
29 <command>dialog-close</command>
30 </binding>
31 </button>
32 </group>
33
34 <hrule/>
35 <text>
36 <label>Tow Rope Breakage</label>
37 </text>
38
39 <group>
40 <layout>vbox</layout>
41
42 <checkbox>
43 <halign>left</halign>
44 <name>brkge_enable</name>
45 <label>Enable Rope Breakage</label>
46 <property>/sim/hitches/winch/breakage/enabled</property>
47 <binding>
48 <command>dialog-apply</command>
49 <object-name>brkge_enable</object-name>
50 </binding>
51 </checkbox>
52
53 <group>
54 <layout>hbox</layout>
55 <text>
56 <label>Breakage Height:</label>
57 </text>
58 <slider>
59 <enable>
60 <property>/sim/hitches/winch/breakage/enabled</property>
61 <not>
62 <property>/sim/hitches/winch/breakage/random</property>
63 </not>
64 </enable>
65 <min>0</min>
66 <max>500</max>
67 <property>/sim/hitches/winch/breakage/height</property>
68 <binding>
69 <command>dialog-apply</command>
70 </binding>
71 </slider>
72 <text>
73 <enable>
74 <property>/sim/hitches/winch/breakage/enabled</property>
75 <not>
76 <property>/sim/hitches/winch/breakage/random</property>
77 </not>
78 </enable>
79 <property>/sim/hitches/winch/breakage/height</property>
80 <label>500 m AGL</label>
81 <format>%3d m AGL</format>
82 <live>true</live>
83 </text>
84 <vrule />
85 <text>
86 <enable>
87 <property>/sim/hitches/winch/breakage/enabled</property>
88 </enable>
89 <label>- or -</label>
90 </text>
91 <vrule />
92 <checkbox>
93 <enable>
94 <property>/sim/hitches/winch/breakage/enabled</property>
95 </enable>
96 <label>Random Height</label>
97 <name>brkge_random</name>
98 <property>/sim/hitches/winch/breakage/random</property>
99 <binding>
100 <command>dialog-apply</command>
101 <object-name>brkge_random</object-name>
102 </binding>
103 </checkbox>
104 </group>
105 </group>
106
107 <hrule/>
108 <text>
109 <label>Winch Loss of Power</label>
110 </text>
111
112 <group>
113 <layout>vbox</layout>
114
115 <checkbox>
116 <halign>left</halign>
117 <name>l_o_p_enable</name>
118 <label>Enable Winch Loss of Power</label>
119 <property>/sim/hitches/winch/loss-of-power/enabled</property>
120 <binding>
121 <command>dialog-apply</command>
122 <object-name>l_o_p_enable</object-name>
123 </binding>
124 </checkbox>
125
126 <group>
127 <layout>hbox</layout>
128 <text>
129 <label>Loss of Power Height:</label>
130 </text>
131 <slider>
132 <enable>
133 <property>/sim/hitches/winch/loss-of-power/enabled</property>
134 <not>
135 <property>/sim/hitches/winch/loss-of-power/random</property>
136 </not>
137 </enable>
138 <min>0</min>
139 <max>500</max>
140 <property>/sim/hitches/winch/loss-of-power/height</property>
141 <binding>
142 <command>dialog-apply</command>
143 </binding>
144 </slider>
145 <text>
146 <enable>
147 <property>/sim/hitches/winch/loss-of-power/enabled</property>
148 <not>
149 <property>/sim/hitches/winch/loss-of-power/random</property>
150 </not>
151 </enable>
152 <property>/sim/hitches/winch/loss-of-power/height</property>
153 <label>500 m AGL</label>
154 <format>%3d m AGL</format>
155 <live>true</live>
156 </text>
157 <vrule />
158 <text>
159 <enable>
160 <property>/sim/hitches/winch/loss-of-power/enabled</property>
161 </enable>
162 <label>- or -</label>
163 </text>
164 <vrule />
165 <checkbox>
166 <enable>
167 <property>/sim/hitches/winch/loss-of-power/enabled</property>
168 </enable>
169 <label>Random Height</label>
170 <name>l_o_p_random</name>
171 <property>/sim/hitches/winch/loss-of-power/random</property>
172 <binding>
173 <command>dialog-apply</command>
174 <object-name>l_o_p_random</object-name>
175 </binding>
176 </checkbox>
177 </group>
178 </group>
179
180 </PropertyList>