1
0
Fork 0
fgdata/gui/dialogs/error-report.xml

115 lines
2.3 KiB
XML
Raw Normal View History

<?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>
2021-04-22 11:22:06 +00:00
<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>