1
0
Fork 0
fgdata/gui/dialogs/error-report.xml
2021-04-30 13:44:08 +01:00

129 lines
2.7 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<name>error-report</name>
<dialog-name>error-report</dialog-name>
<layout>vbox</layout>
<resizable>true</resizable>
<pref-width>700</pref-width>
<group>
<layout>hbox</layout>
<empty><stretch>1</stretch></empty>
<text>
<label>Error Report</label>
</text>
<empty><stretch>1</stretch></empty>
</group>
<hrule/>
<textbox>
<halign>fill</halign>
<!-- <pref-width>450</pref-width> -->
<pref-height>100</pref-height>
<padding>6</padding>
<wrap>true</wrap>
<editable>false</editable>
<property>/sim/error-report/display/category</property>
</textbox>
<textbox>
<halign>fill</halign>
<pref-height>100</pref-height>
<padding>6</padding>
<wrap>true</wrap>
<editable>false</editable>
<property>/sim/error-report/display/next-steps</property>
</textbox>
<hrule/>
<textbox>
<pref-width>500</pref-width>
<halign>fill</halign>
<valign>fill</valign>
<stretch>true</stretch>
<pref-height>200</pref-height>
<padding>6</padding>
<slider>20</slider>
<editable>false</editable>
<wrap>true</wrap>
<property>/sim/error-report/display/details-text</property>
</textbox>
<hrule/>
<group>
<layout>hbox</layout>
<button>
<legend>Save report to desktop</legend>
<binding>
<command>save-error-report-data</command>
<where>!desktop</where>
</binding>
</button>
<button>
<legend>Copy report to clipboard</legend>
<binding>
<command>save-error-report-data</command>
<where>!clipboard</where>
</binding>
</button>
<empty><stretch>1</stretch></empty>
<button>
<legend>Previous error</legend>
<binding>
<command>show-error-report</command>
<previous type="bool">true</previous>
</binding>
<binding>
<command>dialog-update</command>
</binding>
<visible>
<property>/sim/error-report/display/have-previous</property>
</visible>
</button>
<button>
<legend>Next error</legend>
<binding>
<command>show-error-report</command>
<next type="bool">true</next>
</binding>
<binding>
<command>dialog-update</command>
</binding>
<visible>
<property>/sim/error-report/display/have-next</property>
</visible>
</button>
<button>
<legend>Close</legend>
<binding>
<command>dismiss-error-report</command>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button>
</group>
</PropertyList>