all repos — mgba @ 458df43d1890b3918e5e19f2b319d11a524eb0de

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