all repos — mgba @ 9992282b1c35d8321dc44cd0ea4c11e27a42e8b0

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