src/platform/qt/ReportView.ui (view raw)
1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>ReportView</class>
4 <widget class="QDialog" name="ReportView">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>855</width>
10 <height>474</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Generate Bug Report</string>
15 </property>
16 <layout class="QGridLayout" name="gridLayout" columnstretch="3,2,7,0">
17 <item row="1" column="1" rowspan="3">
18 <widget class="QListWidget" name="fileList">
19 <property name="enabled">
20 <bool>false</bool>
21 </property>
22 <property name="sizePolicy">
23 <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
24 <horstretch>0</horstretch>
25 <verstretch>0</verstretch>
26 </sizepolicy>
27 </property>
28 <property name="sizeAdjustPolicy">
29 <enum>QAbstractScrollArea::AdjustToContents</enum>
30 </property>
31 <property name="editTriggers">
32 <set>QAbstractItemView::NoEditTriggers</set>
33 </property>
34 <property name="showDropIndicator" stdset="0">
35 <bool>false</bool>
36 </property>
37 <property name="horizontalScrollMode">
38 <enum>QAbstractItemView::ScrollPerPixel</enum>
39 </property>
40 </widget>
41 </item>
42 <item row="1" column="2" rowspan="3">
43 <widget class="QPlainTextEdit" name="fileView">
44 <property name="enabled">
45 <bool>false</bool>
46 </property>
47 <property name="sizePolicy">
48 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
49 <horstretch>0</horstretch>
50 <verstretch>0</verstretch>
51 </sizepolicy>
52 </property>
53 <property name="font">
54 <font>
55 <family>Monospace</family>
56 </font>
57 </property>
58 <property name="textInteractionFlags">
59 <set>Qt::TextEditorInteraction</set>
60 </property>
61 </widget>
62 </item>
63 <item row="1" column="0">
64 <widget class="QLabel" name="description">
65 <property name="sizePolicy">
66 <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
67 <horstretch>0</horstretch>
68 <verstretch>0</verstretch>
69 </sizepolicy>
70 </property>
71 <property name="text">
72 <string><html><head/><body><p>To file a bug report, please first generate a report file to attach to the bug report you're about to file. It is recommended that you include the save files, as these often help with debugging issues. This will collect some information about the version of {projectName} you're running, your configuration, your computer, and the game you currently have open (if any). Once this collection is completed you can review all of the information gathered below and save it to a zip file. The collection will automatically attempt to redact any personal information, such as your username if it's in any of the paths gathered, but just in case you can edit it afterwards. After you have generated and saved it, please click the button below or go to <a href="https://mgba.io/i/"><span style=" text-decoration: underline; color:#2980b9;">mgba.io/i</span></a> to file the bug report on GitHub. Make sure to attach the report you generated!</p></body></html></string>
73 </property>
74 <property name="alignment">
75 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
76 </property>
77 <property name="wordWrap">
78 <bool>true</bool>
79 </property>
80 <property name="openExternalLinks">
81 <bool>true</bool>
82 </property>
83 </widget>
84 </item>
85 <item row="4" column="1" rowspan="2" colspan="2">
86 <layout class="QHBoxLayout" name="horizontalLayout_2">
87 <item>
88 <widget class="QPushButton" name="generate">
89 <property name="text">
90 <string>Generate report</string>
91 </property>
92 <property name="icon">
93 <iconset theme="view-refresh">
94 <normaloff>../../../../../../</normaloff>../../../../../../</iconset>
95 </property>
96 </widget>
97 </item>
98 <item>
99 <widget class="QPushButton" name="save">
100 <property name="enabled">
101 <bool>false</bool>
102 </property>
103 <property name="text">
104 <string>Save</string>
105 </property>
106 <property name="icon">
107 <iconset theme="document-save">
108 <normaloff>../../../../../../</normaloff>../../../../../../</iconset>
109 </property>
110 </widget>
111 </item>
112 <item>
113 <widget class="QPushButton" name="openList">
114 <property name="enabled">
115 <bool>false</bool>
116 </property>
117 <property name="text">
118 <string>Open issue list in browser</string>
119 </property>
120 <property name="icon">
121 <iconset theme="document-send">
122 <normaloff>../../../../../../</normaloff>../../../../../../</iconset>
123 </property>
124 </widget>
125 </item>
126 </layout>
127 </item>
128 <item row="2" column="0" rowspan="4">
129 <layout class="QVBoxLayout" name="verticalLayout">
130 <item>
131 <widget class="QCheckBox" name="includeSave">
132 <property name="sizePolicy">
133 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
134 <horstretch>0</horstretch>
135 <verstretch>0</verstretch>
136 </sizepolicy>
137 </property>
138 <property name="text">
139 <string>Include save file</string>
140 </property>
141 <property name="checked">
142 <bool>true</bool>
143 </property>
144 </widget>
145 </item>
146 <item>
147 <widget class="QCheckBox" name="includeState">
148 <property name="sizePolicy">
149 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
150 <horstretch>0</horstretch>
151 <verstretch>0</verstretch>
152 </sizepolicy>
153 </property>
154 <property name="text">
155 <string>Create and include savestate</string>
156 </property>
157 <property name="checked">
158 <bool>true</bool>
159 </property>
160 </widget>
161 </item>
162 </layout>
163 </item>
164 </layout>
165 </widget>
166 <resources/>
167 <connections>
168 <connection>
169 <sender>openList</sender>
170 <signal>clicked()</signal>
171 <receiver>ReportView</receiver>
172 <slot>openBugReportPage()</slot>
173 <hints>
174 <hint type="sourcelabel">
175 <x>593</x>
176 <y>442</y>
177 </hint>
178 <hint type="destinationlabel">
179 <x>357</x>
180 <y>234</y>
181 </hint>
182 </hints>
183 </connection>
184 <connection>
185 <sender>generate</sender>
186 <signal>clicked()</signal>
187 <receiver>ReportView</receiver>
188 <slot>generateReport()</slot>
189 <hints>
190 <hint type="sourcelabel">
191 <x>121</x>
192 <y>432</y>
193 </hint>
194 <hint type="destinationlabel">
195 <x>357</x>
196 <y>229</y>
197 </hint>
198 </hints>
199 </connection>
200 <connection>
201 <sender>save</sender>
202 <signal>clicked()</signal>
203 <receiver>ReportView</receiver>
204 <slot>save()</slot>
205 <hints>
206 <hint type="sourcelabel">
207 <x>357</x>
208 <y>432</y>
209 </hint>
210 <hint type="destinationlabel">
211 <x>357</x>
212 <y>229</y>
213 </hint>
214 </hints>
215 </connection>
216 </connections>
217 <slots>
218 <slot>generateReport()</slot>
219 <slot>save()</slot>
220 <slot>openBugReportPage()</slot>
221 </slots>
222</ui>