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