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="enabled">
248 <bool>false</bool>
249 </property>
250 <property name="text">
251 <string>Enable rewind</string>
252 </property>
253 </widget>
254 </item>
255 <item row="14" column="0">
256 <widget class="QLabel" name="label_4">
257 <property name="text">
258 <string>Rewind interval:</string>
259 </property>
260 </widget>
261 </item>
262 <item row="14" column="1">
263 <layout class="QHBoxLayout" name="horizontalLayout_12">
264 <item>
265 <widget class="QLabel" name="label_5">
266 <property name="text">
267 <string>Every</string>
268 </property>
269 </widget>
270 </item>
271 <item>
272 <widget class="QSpinBox" name="rewindInterval"/>
273 </item>
274 <item>
275 <widget class="QLabel" name="label_6">
276 <property name="text">
277 <string>frames</string>
278 </property>
279 </widget>
280 </item>
281 </layout>
282 </item>
283 <item row="15" column="0">
284 <widget class="QLabel" name="label_8">
285 <property name="text">
286 <string>Rewind length:</string>
287 </property>
288 </widget>
289 </item>
290 <item row="15" column="1">
291 <layout class="QHBoxLayout" name="horizontalLayout_13">
292 <item>
293 <widget class="QSpinBox" name="rewindCapacity"/>
294 </item>
295 <item>
296 <widget class="QLabel" name="label_7">
297 <property name="text">
298 <string>intervals</string>
299 </property>
300 </widget>
301 </item>
302 </layout>
303 </item>
304 <item row="8" column="0">
305 <widget class="QLabel" name="label_3">
306 <property name="text">
307 <string>FPS target:</string>
308 </property>
309 </widget>
310 </item>
311 <item row="8" column="1">
312 <layout class="QHBoxLayout" name="horizontalLayout_2">
313 <item>
314 <widget class="QSpinBox" name="fpsTarget">
315 <property name="maximum">
316 <number>240</number>
317 </property>
318 <property name="value">
319 <number>60</number>
320 </property>
321 </widget>
322 </item>
323 <item>
324 <widget class="QLabel" name="label_11">
325 <property name="text">
326 <string>frames per second</string>
327 </property>
328 </widget>
329 </item>
330 </layout>
331 </item>
332 </layout>
333 </item>
334 <item>
335 <widget class="QDialogButtonBox" name="buttonBox">
336 <property name="standardButtons">
337 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
338 </property>
339 </widget>
340 </item>
341 </layout>
342 </widget>
343 <resources/>
344 <connections>
345 <connection>
346 <sender>buttonBox</sender>
347 <signal>accepted()</signal>
348 <receiver>SettingsView</receiver>
349 <slot>close()</slot>
350 <hints>
351 <hint type="sourcelabel">
352 <x>169</x>
353 <y>453</y>
354 </hint>
355 <hint type="destinationlabel">
356 <x>169</x>
357 <y>236</y>
358 </hint>
359 </hints>
360 </connection>
361 <connection>
362 <sender>buttonBox</sender>
363 <signal>rejected()</signal>
364 <receiver>SettingsView</receiver>
365 <slot>close()</slot>
366 <hints>
367 <hint type="sourcelabel">
368 <x>169</x>
369 <y>453</y>
370 </hint>
371 <hint type="destinationlabel">
372 <x>169</x>
373 <y>236</y>
374 </hint>
375 </hints>
376 </connection>
377 </connections>
378</ui>