all repos — mgba @ 9dc49df0bca23925cfcc8193a1770463fd9916cf

mGBA Game Boy Advance Emulator

src/platform/qt/SettingsView.ui (view raw)

  1<?xml version="1.0" encoding="UTF-8"?>
  2<ui version="4.0">
  3 <class>SettingsView</class>
  4 <widget class="QWidget" name="SettingsView">
  5  <property name="geometry">
  6   <rect>
  7    <x>0</x>
  8    <y>0</y>
  9    <width>355</width>
 10    <height>501</height>
 11   </rect>
 12  </property>
 13  <property name="sizePolicy">
 14   <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
 15    <horstretch>0</horstretch>
 16    <verstretch>0</verstretch>
 17   </sizepolicy>
 18  </property>
 19  <property name="windowTitle">
 20   <string>Settings</string>
 21  </property>
 22  <layout class="QVBoxLayout" name="verticalLayout">
 23   <item>
 24    <layout class="QFormLayout" name="formLayout">
 25     <property name="fieldGrowthPolicy">
 26      <enum>QFormLayout::ExpandingFieldsGrow</enum>
 27     </property>
 28     <item row="0" column="0">
 29      <widget class="QLabel" name="label">
 30       <property name="text">
 31        <string>BIOS file:</string>
 32       </property>
 33      </widget>
 34     </item>
 35     <item row="0" column="1">
 36      <layout class="QHBoxLayout" name="horizontalLayout">
 37       <item>
 38        <widget class="QLineEdit" name="bios">
 39         <property name="sizePolicy">
 40          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 41           <horstretch>0</horstretch>
 42           <verstretch>0</verstretch>
 43          </sizepolicy>
 44         </property>
 45        </widget>
 46       </item>
 47       <item>
 48        <widget class="QPushButton" name="biosBrowse">
 49         <property name="text">
 50          <string>Browse</string>
 51         </property>
 52        </widget>
 53       </item>
 54      </layout>
 55     </item>
 56     <item row="1" column="1">
 57      <widget class="QCheckBox" name="skipBios">
 58       <property name="text">
 59        <string>Skip BIOS intro</string>
 60       </property>
 61      </widget>
 62     </item>
 63     <item row="2" column="1">
 64      <widget class="QCheckBox" name="useBios">
 65       <property name="enabled">
 66        <bool>false</bool>
 67       </property>
 68       <property name="text">
 69        <string>Use BIOS file</string>
 70       </property>
 71       <property name="checked">
 72        <bool>true</bool>
 73       </property>
 74      </widget>
 75     </item>
 76     <item row="3" column="0" colspan="2">
 77      <widget class="Line" name="line_2">
 78       <property name="orientation">
 79        <enum>Qt::Horizontal</enum>
 80       </property>
 81      </widget>
 82     </item>
 83     <item row="4" column="0">
 84      <widget class="QLabel" name="label_14">
 85       <property name="text">
 86        <string>Audio driver:</string>
 87       </property>
 88      </widget>
 89     </item>
 90     <item row="4" column="1">
 91      <widget class="QComboBox" name="audioDriver">
 92       <property name="sizePolicy">
 93        <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 94         <horstretch>0</horstretch>
 95         <verstretch>0</verstretch>
 96        </sizepolicy>
 97       </property>
 98      </widget>
 99     </item>
100     <item row="5" column="0">
101      <widget class="QLabel" name="audioBufferSizeLabel">
102       <property name="text">
103        <string>Audio buffer:</string>
104       </property>
105      </widget>
106     </item>
107     <item row="5" column="1">
108      <layout class="QHBoxLayout" name="horizontalLayout_9">
109       <item>
110        <widget class="QComboBox" name="audioBufferSize">
111         <property name="editable">
112          <bool>true</bool>
113         </property>
114         <property name="currentText">
115          <string>2048</string>
116         </property>
117         <property name="currentIndex">
118          <number>2</number>
119         </property>
120         <item>
121          <property name="text">
122           <string>512</string>
123          </property>
124         </item>
125         <item>
126          <property name="text">
127           <string>1024</string>
128          </property>
129         </item>
130         <item>
131          <property name="text">
132           <string>2048</string>
133          </property>
134         </item>
135         <item>
136          <property name="text">
137           <string>4096</string>
138          </property>
139         </item>
140        </widget>
141       </item>
142       <item>
143        <widget class="QLabel" name="label_10">
144         <property name="text">
145          <string>samples</string>
146         </property>
147        </widget>
148       </item>
149      </layout>
150     </item>
151     <item row="6" column="0">
152      <widget class="QLabel" name="label_2">
153       <property name="text">
154        <string>Sync:</string>
155       </property>
156      </widget>
157     </item>
158     <item row="6" column="1">
159      <layout class="QHBoxLayout" name="horizontalLayout_10">
160       <item>
161        <widget class="QCheckBox" name="videoSync">
162         <property name="text">
163          <string>Video</string>
164         </property>
165        </widget>
166       </item>
167       <item>
168        <widget class="QCheckBox" name="audioSync">
169         <property name="text">
170          <string>Audio</string>
171         </property>
172        </widget>
173       </item>
174      </layout>
175     </item>
176     <item row="7" column="0">
177      <widget class="QLabel" name="label_9">
178       <property name="text">
179        <string>Frameskip:</string>
180       </property>
181      </widget>
182     </item>
183     <item row="7" column="1">
184      <layout class="QHBoxLayout" name="horizontalLayout_16">
185       <item>
186        <widget class="QLabel" name="label_12">
187         <property name="text">
188          <string>Skip every</string>
189         </property>
190        </widget>
191       </item>
192       <item>
193        <widget class="QSpinBox" name="frameskip"/>
194       </item>
195       <item>
196        <widget class="QLabel" name="label_13">
197         <property name="text">
198          <string>frames</string>
199         </property>
200        </widget>
201       </item>
202      </layout>
203     </item>
204     <item row="9" column="0" colspan="2">
205      <widget class="Line" name="line">
206       <property name="orientation">
207        <enum>Qt::Horizontal</enum>
208       </property>
209      </widget>
210     </item>
211     <item row="10" column="1">
212      <widget class="QCheckBox" name="lockAspectRatio">
213       <property name="text">
214        <string>Lock aspect ratio</string>
215       </property>
216      </widget>
217     </item>
218     <item row="11" column="1">
219      <widget class="QCheckBox" name="resampleVideo">
220       <property name="text">
221        <string>Resample video</string>
222       </property>
223      </widget>
224     </item>
225     <item row="12" column="0" colspan="2">
226      <widget class="Line" name="line_3">
227       <property name="orientation">
228        <enum>Qt::Horizontal</enum>
229       </property>
230      </widget>
231     </item>
232     <item row="13" column="1">
233      <widget class="QCheckBox" name="rewind">
234       <property name="text">
235        <string>Enable rewind</string>
236       </property>
237      </widget>
238     </item>
239     <item row="14" column="0">
240      <widget class="QLabel" name="label_4">
241       <property name="text">
242        <string>Rewind interval:</string>
243       </property>
244      </widget>
245     </item>
246     <item row="14" column="1">
247      <layout class="QHBoxLayout" name="horizontalLayout_12">
248       <item>
249        <widget class="QLabel" name="label_5">
250         <property name="text">
251          <string>Every</string>
252         </property>
253        </widget>
254       </item>
255       <item>
256        <widget class="QSpinBox" name="rewindInterval"/>
257       </item>
258       <item>
259        <widget class="QLabel" name="label_6">
260         <property name="text">
261          <string>frames</string>
262         </property>
263        </widget>
264       </item>
265      </layout>
266     </item>
267     <item row="15" column="0">
268      <widget class="QLabel" name="label_8">
269       <property name="text">
270        <string>Rewind length:</string>
271       </property>
272      </widget>
273     </item>
274     <item row="15" column="1">
275      <layout class="QHBoxLayout" name="horizontalLayout_13">
276       <item>
277        <widget class="QSpinBox" name="rewindCapacity"/>
278       </item>
279       <item>
280        <widget class="QLabel" name="label_7">
281         <property name="text">
282          <string>intervals</string>
283         </property>
284        </widget>
285       </item>
286      </layout>
287     </item>
288     <item row="8" column="0">
289      <widget class="QLabel" name="label_3">
290       <property name="text">
291        <string>FPS target:</string>
292       </property>
293      </widget>
294     </item>
295     <item row="8" column="1">
296      <layout class="QHBoxLayout" name="horizontalLayout_2">
297       <item>
298        <widget class="QSpinBox" name="fpsTarget">
299         <property name="maximum">
300          <number>240</number>
301         </property>
302         <property name="value">
303          <number>60</number>
304         </property>
305        </widget>
306       </item>
307       <item>
308        <widget class="QLabel" name="label_11">
309         <property name="text">
310          <string>frames per second</string>
311         </property>
312        </widget>
313       </item>
314      </layout>
315     </item>
316     <item row="17" column="1">
317      <widget class="QComboBox" name="idleOptimization">
318       <item>
319        <property name="text">
320         <string>Run all</string>
321        </property>
322       </item>
323       <item>
324        <property name="text">
325         <string>Remove known</string>
326        </property>
327       </item>
328       <item>
329        <property name="text">
330         <string>Detect and remove</string>
331        </property>
332       </item>
333      </widget>
334     </item>
335     <item row="16" column="0" colspan="2">
336      <widget class="Line" name="line_4">
337       <property name="orientation">
338        <enum>Qt::Horizontal</enum>
339       </property>
340      </widget>
341     </item>
342     <item row="17" column="0">
343      <widget class="QLabel" name="label_15">
344       <property name="text">
345        <string>Idle loops</string>
346       </property>
347      </widget>
348     </item>
349    </layout>
350   </item>
351   <item>
352    <widget class="QDialogButtonBox" name="buttonBox">
353     <property name="standardButtons">
354      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
355     </property>
356    </widget>
357   </item>
358  </layout>
359 </widget>
360 <resources/>
361 <connections>
362  <connection>
363   <sender>buttonBox</sender>
364   <signal>accepted()</signal>
365   <receiver>SettingsView</receiver>
366   <slot>close()</slot>
367   <hints>
368    <hint type="sourcelabel">
369     <x>169</x>
370     <y>453</y>
371    </hint>
372    <hint type="destinationlabel">
373     <x>169</x>
374     <y>236</y>
375    </hint>
376   </hints>
377  </connection>
378  <connection>
379   <sender>buttonBox</sender>
380   <signal>rejected()</signal>
381   <receiver>SettingsView</receiver>
382   <slot>close()</slot>
383   <hints>
384    <hint type="sourcelabel">
385     <x>169</x>
386     <y>453</y>
387    </hint>
388    <hint type="destinationlabel">
389     <x>169</x>
390     <y>236</y>
391    </hint>
392   </hints>
393  </connection>
394 </connections>
395</ui>