all repos — mgba @ fe0af2c563421d9a1750686683cc760bce572ef8

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