1
0
Fork 0
fgdata/gui/dialogs/system-failures.xml
mfranz 9c49dccd5b let all dialogs in $FG_ROOT/gui/dialogs be closed/canceled/dismissed on
Escape key; nasal generated dialogs will follow
2005-11-05 13:59:06 +00:00

110 lines
1.8 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<!-- Control the weather -->
<name>system-failures</name>
<width>300</width>
<height>240</height>
<modal>false</modal>
<text>
<x>10</x>
<y>210</y>
<label>System Failures</label>
</text>
<text>
<x>30</x>
<y>180</y>
<label>(Uncheck a system to fail it.)</label>
</text>
<checkbox>
<x>30</x>
<y>150</y>
<width>20</width>
<height>20</height>
<label>Static System</label>
<property>/systems/static/serviceable</property>
</checkbox>
<checkbox>
<x>30</x>
<y>120</y>
<width>20</width>
<height>20</height>
<label>Pitot System</label>
<property>/systems/pitot/serviceable</property>
</checkbox>
<checkbox>
<x>30</x>
<y>90</y>
<width>20</width>
<height>20</height>
<label>Electrical System</label>
<property>/systems/electrical/serviceable</property>
</checkbox>
<checkbox>
<x>30</x>
<y>60</y>
<width>20</width>
<height>20</height>
<label>Vacuum System</label>
<property>/systems/vacuum/serviceable</property>
</checkbox>
<group>
<y>10</y>
<button>
<x>10</x>
<y>0</y>
<legend>OK</legend>
<default>true</default>
<equal>true</equal>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button>
<button>
<x>60</x>
<y>0</y>
<legend>Apply</legend>
<equal>true</equal>
<binding>
<command>dialog-apply</command>
</binding>
</button>
<button>
<x>140</x>
<y>0</y>
<legend>Reset</legend>
<equal>true</equal>
<binding>
<command>dialog-update</command>
</binding>
</button>
<button>
<x>220</x>
<y>0</y>
<legend>Cancel</legend>
<equal>true</equal>
<keynum>27</keynum>
<binding>
<command>dialog-close</command>
</binding>
</button>
</group>
</PropertyList>