all repos — mgba @ c0689783da366b4727c9c15cbc888b8ee3e0ce2a

mGBA Game Boy Advance Emulator

src/platform/qt/VideoView.ui (view raw)

  1<?xml version="1.0" encoding="UTF-8"?>
  2<ui version="4.0">
  3 <class>VideoView</class>
  4 <widget class="QWidget" name="VideoView">
  5  <property name="geometry">
  6   <rect>
  7    <x>0</x>
  8    <y>0</y>
  9    <width>351</width>
 10    <height>510</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>Record Video</string>
 21  </property>
 22  <layout class="QVBoxLayout" name="verticalLayout_4">
 23   <property name="sizeConstraint">
 24    <enum>QLayout::SetFixedSize</enum>
 25   </property>
 26   <item>
 27    <layout class="QGridLayout" name="gridLayout">
 28     <item row="1" column="0">
 29      <widget class="QPushButton" name="start">
 30       <property name="enabled">
 31        <bool>false</bool>
 32       </property>
 33       <property name="sizePolicy">
 34        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
 35         <horstretch>0</horstretch>
 36         <verstretch>0</verstretch>
 37        </sizepolicy>
 38       </property>
 39       <property name="text">
 40        <string>Start</string>
 41       </property>
 42      </widget>
 43     </item>
 44     <item row="1" column="1">
 45      <widget class="QPushButton" name="stop">
 46       <property name="enabled">
 47        <bool>false</bool>
 48       </property>
 49       <property name="sizePolicy">
 50        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
 51         <horstretch>0</horstretch>
 52         <verstretch>0</verstretch>
 53        </sizepolicy>
 54       </property>
 55       <property name="text">
 56        <string>Stop</string>
 57       </property>
 58      </widget>
 59     </item>
 60     <item row="1" column="3">
 61      <widget class="QPushButton" name="selectFile">
 62       <property name="sizePolicy">
 63        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
 64         <horstretch>0</horstretch>
 65         <verstretch>0</verstretch>
 66        </sizepolicy>
 67       </property>
 68       <property name="text">
 69        <string>Select File</string>
 70       </property>
 71      </widget>
 72     </item>
 73     <item row="0" column="0" colspan="4">
 74      <widget class="QLineEdit" name="filename">
 75       <property name="sizePolicy">
 76        <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 77         <horstretch>1</horstretch>
 78         <verstretch>0</verstretch>
 79        </sizepolicy>
 80       </property>
 81      </widget>
 82     </item>
 83     <item row="1" column="2">
 84      <spacer name="horizontalSpacer">
 85       <property name="orientation">
 86        <enum>Qt::Horizontal</enum>
 87       </property>
 88       <property name="sizeHint" stdset="0">
 89        <size>
 90         <width>40</width>
 91         <height>20</height>
 92        </size>
 93       </property>
 94      </spacer>
 95     </item>
 96    </layout>
 97   </item>
 98   <item>
 99    <widget class="QGroupBox" name="groupBox_2">
100     <property name="title">
101      <string>Presets</string>
102     </property>
103     <layout class="QHBoxLayout" name="horizontalLayout_2">
104      <item>
105       <layout class="QVBoxLayout" name="verticalLayout_2">
106        <item>
107         <widget class="QRadioButton" name="presetHQ">
108          <property name="text">
109           <string>High Quality</string>
110          </property>
111          <attribute name="buttonGroup">
112           <string notr="true">presets</string>
113          </attribute>
114         </widget>
115        </item>
116        <item>
117         <widget class="QRadioButton" name="presetYoutube">
118          <property name="text">
119           <string>YouTube</string>
120          </property>
121          <attribute name="buttonGroup">
122           <string notr="true">presets</string>
123          </attribute>
124         </widget>
125        </item>
126        <item>
127         <widget class="QRadioButton" name="presetWebM">
128          <property name="text">
129           <string>WebM</string>
130          </property>
131          <attribute name="buttonGroup">
132           <string notr="true">presets</string>
133          </attribute>
134         </widget>
135        </item>
136        <item>
137         <widget class="QRadioButton" name="presetLossless">
138          <property name="text">
139           <string>Lossless</string>
140          </property>
141          <property name="checked">
142           <bool>true</bool>
143          </property>
144          <attribute name="buttonGroup">
145           <string notr="true">presets</string>
146          </attribute>
147         </widget>
148        </item>
149       </layout>
150      </item>
151      <item>
152       <layout class="QVBoxLayout" name="verticalLayout_3">
153        <item>
154         <widget class="QRadioButton" name="preset1080">
155          <property name="text">
156           <string>1080p</string>
157          </property>
158          <attribute name="buttonGroup">
159           <string notr="true">resolutions</string>
160          </attribute>
161         </widget>
162        </item>
163        <item>
164         <widget class="QRadioButton" name="preset720">
165          <property name="text">
166           <string>720p</string>
167          </property>
168          <attribute name="buttonGroup">
169           <string notr="true">resolutions</string>
170          </attribute>
171         </widget>
172        </item>
173        <item>
174         <widget class="QRadioButton" name="preset480">
175          <property name="text">
176           <string>480p</string>
177          </property>
178          <attribute name="buttonGroup">
179           <string notr="true">resolutions</string>
180          </attribute>
181         </widget>
182        </item>
183        <item>
184         <widget class="QRadioButton" name="preset160">
185          <property name="text">
186           <string>GBA (240x160)</string>
187          </property>
188          <property name="checked">
189           <bool>true</bool>
190          </property>
191          <attribute name="buttonGroup">
192           <string notr="true">resolutions</string>
193          </attribute>
194         </widget>
195        </item>
196       </layout>
197      </item>
198     </layout>
199    </widget>
200   </item>
201   <item>
202    <widget class="QWidget" name="advancedBox" native="true">
203     <layout class="QGridLayout" name="gridLayout_6">
204      <property name="leftMargin">
205       <number>0</number>
206      </property>
207      <property name="topMargin">
208       <number>0</number>
209      </property>
210      <property name="rightMargin">
211       <number>0</number>
212      </property>
213      <property name="bottomMargin">
214       <number>0</number>
215      </property>
216      <item row="0" column="0">
217       <widget class="QGroupBox" name="formatBox">
218        <property name="title">
219         <string>Format</string>
220        </property>
221        <layout class="QVBoxLayout" name="verticalLayout_6">
222         <item>
223          <widget class="QComboBox" name="container">
224           <property name="editable">
225            <bool>true</bool>
226           </property>
227           <item>
228            <property name="text">
229             <string>MKV</string>
230            </property>
231           </item>
232           <item>
233            <property name="text">
234             <string>WebM</string>
235            </property>
236           </item>
237           <item>
238            <property name="text">
239             <string>AVI</string>
240            </property>
241           </item>
242           <item>
243            <property name="text">
244             <string>MP4</string>
245            </property>
246           </item>
247          </widget>
248         </item>
249         <item>
250          <widget class="QComboBox" name="video">
251           <property name="editable">
252            <bool>true</bool>
253           </property>
254           <item>
255            <property name="text">
256             <string>PNG</string>
257            </property>
258           </item>
259           <item>
260            <property name="text">
261             <string>h.264</string>
262            </property>
263           </item>
264           <item>
265            <property name="text">
266             <string>VP8</string>
267            </property>
268           </item>
269           <item>
270            <property name="text">
271             <string>Xvid</string>
272            </property>
273           </item>
274           <item>
275            <property name="text">
276             <string>FFV1</string>
277            </property>
278           </item>
279          </widget>
280         </item>
281         <item>
282          <widget class="QComboBox" name="audio">
283           <property name="editable">
284            <bool>true</bool>
285           </property>
286           <item>
287            <property name="text">
288             <string>FLAC</string>
289            </property>
290           </item>
291           <item>
292            <property name="text">
293             <string>Opus</string>
294            </property>
295           </item>
296           <item>
297            <property name="text">
298             <string>Vorbis</string>
299            </property>
300           </item>
301           <item>
302            <property name="text">
303             <string>MP3</string>
304            </property>
305           </item>
306           <item>
307            <property name="text">
308             <string>AAC</string>
309            </property>
310           </item>
311           <item>
312            <property name="text">
313             <string>Uncompressed</string>
314            </property>
315           </item>
316          </widget>
317         </item>
318        </layout>
319       </widget>
320      </item>
321      <item row="0" column="1">
322       <widget class="QGroupBox" name="bitrateBox">
323        <property name="title">
324         <string> Bitrate (kbps)</string>
325        </property>
326        <layout class="QGridLayout" name="gridLayout_3">
327         <item row="0" column="0">
328          <widget class="QLabel" name="label">
329           <property name="text">
330            <string>VBR </string>
331           </property>
332           <property name="alignment">
333            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
334           </property>
335           <property name="buddy">
336            <cstring>vbr</cstring>
337           </property>
338          </widget>
339         </item>
340         <item row="0" column="1">
341          <widget class="QSpinBox" name="vbr">
342           <property name="alignment">
343            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
344           </property>
345           <property name="suffix">
346            <string/>
347           </property>
348           <property name="minimum">
349            <number>200</number>
350           </property>
351           <property name="maximum">
352            <number>10000</number>
353           </property>
354           <property name="value">
355            <number>400</number>
356           </property>
357          </widget>
358         </item>
359         <item row="1" column="1">
360          <widget class="QSpinBox" name="abr">
361           <property name="alignment">
362            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
363           </property>
364           <property name="minimum">
365            <number>16</number>
366           </property>
367           <property name="maximum">
368            <number>320</number>
369           </property>
370           <property name="value">
371            <number>128</number>
372           </property>
373          </widget>
374         </item>
375         <item row="1" column="0">
376          <widget class="QLabel" name="label_2">
377           <property name="text">
378            <string>ABR</string>
379           </property>
380           <property name="alignment">
381            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
382           </property>
383           <property name="buddy">
384            <cstring>abr</cstring>
385           </property>
386          </widget>
387         </item>
388        </layout>
389       </widget>
390      </item>
391      <item row="1" column="0" colspan="2">
392       <widget class="QGroupBox" name="dimensionsBox">
393        <property name="title">
394         <string>Dimensions</string>
395        </property>
396        <layout class="QGridLayout" name="gridLayout_4">
397         <item row="1" column="2">
398          <widget class="QLabel" name="label_4">
399           <property name="text">
400            <string>:</string>
401           </property>
402           <property name="alignment">
403            <set>Qt::AlignCenter</set>
404           </property>
405          </widget>
406         </item>
407         <item row="0" column="2">
408          <widget class="QLabel" name="label_3">
409           <property name="text">
410            <string>×</string>
411           </property>
412           <property name="alignment">
413            <set>Qt::AlignCenter</set>
414           </property>
415          </widget>
416         </item>
417         <item row="0" column="3">
418          <widget class="QSpinBox" name="height">
419           <property name="minimum">
420            <number>160</number>
421           </property>
422           <property name="maximum">
423            <number>3160</number>
424           </property>
425          </widget>
426         </item>
427         <item row="0" column="1">
428          <widget class="QSpinBox" name="width">
429           <property name="minimum">
430            <number>240</number>
431           </property>
432           <property name="maximum">
433            <number>3840</number>
434           </property>
435          </widget>
436         </item>
437         <item row="1" column="3">
438          <widget class="QSpinBox" name="hratio">
439           <property name="minimum">
440            <number>1</number>
441           </property>
442           <property name="maximum">
443            <number>9999</number>
444           </property>
445           <property name="value">
446            <number>2</number>
447           </property>
448          </widget>
449         </item>
450         <item row="1" column="1">
451          <widget class="QSpinBox" name="wratio">
452           <property name="minimum">
453            <number>1</number>
454           </property>
455           <property name="maximum">
456            <number>9999</number>
457           </property>
458           <property name="value">
459            <number>3</number>
460           </property>
461          </widget>
462         </item>
463         <item row="1" column="4">
464          <widget class="QCheckBox" name="lockRatio">
465           <property name="text">
466            <string>Lock aspect ratio</string>
467           </property>
468          </widget>
469         </item>
470        </layout>
471       </widget>
472      </item>
473     </layout>
474    </widget>
475   </item>
476   <item>
477    <layout class="QHBoxLayout" name="horizontalLayout">
478     <item>
479      <widget class="QCheckBox" name="showAdvanced">
480       <property name="text">
481        <string>Show advanced</string>
482       </property>
483      </widget>
484     </item>
485     <item>
486      <widget class="QDialogButtonBox" name="buttonBox">
487       <property name="standardButtons">
488        <set>QDialogButtonBox::Close</set>
489       </property>
490      </widget>
491     </item>
492    </layout>
493   </item>
494  </layout>
495 </widget>
496 <tabstops>
497  <tabstop>filename</tabstop>
498  <tabstop>start</tabstop>
499  <tabstop>stop</tabstop>
500  <tabstop>selectFile</tabstop>
501  <tabstop>presetHQ</tabstop>
502  <tabstop>presetYoutube</tabstop>
503  <tabstop>presetWebM</tabstop>
504  <tabstop>presetLossless</tabstop>
505  <tabstop>preset1080</tabstop>
506  <tabstop>preset720</tabstop>
507  <tabstop>preset480</tabstop>
508  <tabstop>preset160</tabstop>
509  <tabstop>container</tabstop>
510  <tabstop>video</tabstop>
511  <tabstop>audio</tabstop>
512  <tabstop>vbr</tabstop>
513  <tabstop>abr</tabstop>
514  <tabstop>width</tabstop>
515  <tabstop>height</tabstop>
516  <tabstop>wratio</tabstop>
517  <tabstop>hratio</tabstop>
518  <tabstop>lockRatio</tabstop>
519  <tabstop>showAdvanced</tabstop>
520 </tabstops>
521 <resources/>
522 <connections/>
523 <buttongroups>
524  <buttongroup name="presets"/>
525  <buttongroup name="resolutions"/>
526 </buttongroups>
527</ui>