all repos — mgba @ 7c8f1d9726eb246aac895fe90297a0ecd1ebe13a

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>339</width>
 10    <height>503</height>
 11   </rect>
 12  </property>
 13  <property name="windowTitle">
 14   <string>Settings</string>
 15  </property>
 16  <layout class="QVBoxLayout" name="verticalLayout">
 17   <item>
 18    <layout class="QFormLayout" name="formLayout">
 19     <property name="fieldGrowthPolicy">
 20      <enum>QFormLayout::ExpandingFieldsGrow</enum>
 21     </property>
 22     <item row="0" column="0">
 23      <widget class="QLabel" name="label">
 24       <property name="text">
 25        <string>BIOS file:</string>
 26       </property>
 27      </widget>
 28     </item>
 29     <item row="0" column="1">
 30      <layout class="QHBoxLayout" name="horizontalLayout">
 31       <item>
 32        <widget class="QLineEdit" name="bios">
 33         <property name="sizePolicy">
 34          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 35           <horstretch>0</horstretch>
 36           <verstretch>0</verstretch>
 37          </sizepolicy>
 38         </property>
 39        </widget>
 40       </item>
 41       <item>
 42        <widget class="QPushButton" name="biosBrowse">
 43         <property name="text">
 44          <string>Browse</string>
 45         </property>
 46        </widget>
 47       </item>
 48      </layout>
 49     </item>
 50     <item row="1" column="1">
 51      <widget class="QCheckBox" name="skipBios">
 52       <property name="enabled">
 53        <bool>false</bool>
 54       </property>
 55       <property name="text">
 56        <string>Skip BIOS intro</string>
 57       </property>
 58      </widget>
 59     </item>
 60     <item row="2" column="1">
 61      <widget class="QCheckBox" name="useBios">
 62       <property name="enabled">
 63        <bool>false</bool>
 64       </property>
 65       <property name="text">
 66        <string>Use BIOS file</string>
 67       </property>
 68      </widget>
 69     </item>
 70     <item row="3" column="0" colspan="2">
 71      <widget class="Line" name="line_2">
 72       <property name="orientation">
 73        <enum>Qt::Horizontal</enum>
 74       </property>
 75      </widget>
 76     </item>
 77     <item row="4" column="0">
 78      <widget class="QLabel" name="label_14">
 79       <property name="text">
 80        <string>Audio driver:</string>
 81       </property>
 82      </widget>
 83     </item>
 84     <item row="4" column="1">
 85      <widget class="QComboBox" name="audioDriver">
 86       <property name="enabled">
 87        <bool>false</bool>
 88       </property>
 89       <property name="sizePolicy">
 90        <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 91         <horstretch>0</horstretch>
 92         <verstretch>0</verstretch>
 93        </sizepolicy>
 94       </property>
 95       <item>
 96        <property name="text">
 97         <string>SDL</string>
 98        </property>
 99       </item>
100       <item>
101        <property name="text">
102         <string>Qt Multimedia</string>
103        </property>
104       </item>
105      </widget>
106     </item>
107     <item row="5" column="0">
108      <widget class="QLabel" name="audioBufferSizeLabel">
109       <property name="text">
110        <string>Audio buffer:</string>
111       </property>
112      </widget>
113     </item>
114     <item row="5" column="1">
115      <layout class="QHBoxLayout" name="horizontalLayout_9">
116       <item>
117        <widget class="QComboBox" name="audioBufferSize">
118         <property name="editable">
119          <bool>true</bool>
120         </property>
121         <property name="currentText">
122          <string>2048</string>
123         </property>
124         <property name="currentIndex">
125          <number>2</number>
126         </property>
127         <item>
128          <property name="text">
129           <string>512</string>
130          </property>
131         </item>
132         <item>
133          <property name="text">
134           <string>1024</string>
135          </property>
136         </item>
137         <item>
138          <property name="text">
139           <string>2048</string>
140          </property>
141         </item>
142         <item>
143          <property name="text">
144           <string>4096</string>
145          </property>
146         </item>
147        </widget>
148       </item>
149       <item>
150        <widget class="QLabel" name="label_10">
151         <property name="text">
152          <string>samples</string>
153         </property>
154        </widget>
155       </item>
156      </layout>
157     </item>
158     <item row="6" column="0">
159      <widget class="QLabel" name="label_2">
160       <property name="text">
161        <string>Sync:</string>
162       </property>
163      </widget>
164     </item>
165     <item row="6" column="1">
166      <layout class="QHBoxLayout" name="horizontalLayout_10">
167       <item>
168        <widget class="QCheckBox" name="videoSync">
169         <property name="text">
170          <string>Video</string>
171         </property>
172        </widget>
173       </item>
174       <item>
175        <widget class="QCheckBox" name="audioSync">
176         <property name="text">
177          <string>Audio</string>
178         </property>
179        </widget>
180       </item>
181      </layout>
182     </item>
183     <item row="7" column="0">
184      <widget class="QLabel" name="label_9">
185       <property name="text">
186        <string>Frameskip:</string>
187       </property>
188      </widget>
189     </item>
190     <item row="7" column="1">
191      <layout class="QHBoxLayout" name="horizontalLayout_16">
192       <item>
193        <widget class="QLabel" name="label_12">
194         <property name="text">
195          <string>Skip every</string>
196         </property>
197        </widget>
198       </item>
199       <item>
200        <widget class="QSpinBox" name="frameskip"/>
201       </item>
202       <item>
203        <widget class="QLabel" name="label_13">
204         <property name="text">
205          <string>frames</string>
206         </property>
207        </widget>
208       </item>
209      </layout>
210     </item>
211     <item row="8" column="0" colspan="2">
212      <widget class="Line" name="line">
213       <property name="orientation">
214        <enum>Qt::Horizontal</enum>
215       </property>
216      </widget>
217     </item>
218     <item row="9" column="1">
219      <widget class="QCheckBox" name="lockAspectRatio">
220       <property name="text">
221        <string>Lock aspect ratio</string>
222       </property>
223      </widget>
224     </item>
225     <item row="10" column="1">
226      <widget class="QCheckBox" name="resampleVideo">
227       <property name="enabled">
228        <bool>false</bool>
229       </property>
230       <property name="text">
231        <string>Resample video</string>
232       </property>
233      </widget>
234     </item>
235     <item row="11" column="0" colspan="2">
236      <widget class="Line" name="line_3">
237       <property name="orientation">
238        <enum>Qt::Horizontal</enum>
239       </property>
240      </widget>
241     </item>
242     <item row="12" column="1">
243      <widget class="QCheckBox" name="rewind">
244       <property name="enabled">
245        <bool>false</bool>
246       </property>
247       <property name="text">
248        <string>Enable rewind</string>
249       </property>
250      </widget>
251     </item>
252     <item row="13" 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="13" 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="14" 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="14" 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    </layout>
302   </item>
303   <item>
304    <widget class="QDialogButtonBox" name="buttonBox">
305     <property name="standardButtons">
306      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
307     </property>
308    </widget>
309   </item>
310  </layout>
311 </widget>
312 <resources/>
313 <connections>
314  <connection>
315   <sender>buttonBox</sender>
316   <signal>accepted()</signal>
317   <receiver>SettingsView</receiver>
318   <slot>close()</slot>
319   <hints>
320    <hint type="sourcelabel">
321     <x>169</x>
322     <y>453</y>
323    </hint>
324    <hint type="destinationlabel">
325     <x>169</x>
326     <y>236</y>
327    </hint>
328   </hints>
329  </connection>
330  <connection>
331   <sender>buttonBox</sender>
332   <signal>rejected()</signal>
333   <receiver>SettingsView</receiver>
334   <slot>close()</slot>
335   <hints>
336    <hint type="sourcelabel">
337     <x>169</x>
338     <y>453</y>
339    </hint>
340    <hint type="destinationlabel">
341     <x>169</x>
342     <y>236</y>
343    </hint>
344   </hints>
345  </connection>
346 </connections>
347</ui>