all repos — mgba @ 4c38f769565e8ddd7d3a8eef1a41975206c129a0

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="presetNative">
185          <property name="enabled">
186           <bool>false</bool>
187          </property>
188          <property name="text">
189           <string>Native</string>
190          </property>
191          <property name="checked">
192           <bool>true</bool>
193          </property>
194          <attribute name="buttonGroup">
195           <string notr="true">resolutions</string>
196          </attribute>
197         </widget>
198        </item>
199       </layout>
200      </item>
201     </layout>
202    </widget>
203   </item>
204   <item>
205    <widget class="QWidget" name="advancedBox" native="true">
206     <layout class="QGridLayout" name="gridLayout_6">
207      <property name="leftMargin">
208       <number>0</number>
209      </property>
210      <property name="topMargin">
211       <number>0</number>
212      </property>
213      <property name="rightMargin">
214       <number>0</number>
215      </property>
216      <property name="bottomMargin">
217       <number>0</number>
218      </property>
219      <item row="0" column="0">
220       <widget class="QGroupBox" name="formatBox">
221        <property name="title">
222         <string>Format</string>
223        </property>
224        <layout class="QVBoxLayout" name="verticalLayout_6">
225         <item>
226          <widget class="QComboBox" name="container">
227           <property name="editable">
228            <bool>true</bool>
229           </property>
230           <item>
231            <property name="text">
232             <string>MKV</string>
233            </property>
234           </item>
235           <item>
236            <property name="text">
237             <string>WebM</string>
238            </property>
239           </item>
240           <item>
241            <property name="text">
242             <string>AVI</string>
243            </property>
244           </item>
245           <item>
246            <property name="text">
247             <string>MP4</string>
248            </property>
249           </item>
250          </widget>
251         </item>
252         <item>
253          <widget class="QComboBox" name="video">
254           <property name="editable">
255            <bool>true</bool>
256           </property>
257           <item>
258            <property name="text">
259             <string>PNG</string>
260            </property>
261           </item>
262           <item>
263            <property name="text">
264             <string>h.264</string>
265            </property>
266           </item>
267           <item>
268            <property name="text">
269             <string>VP8</string>
270            </property>
271           </item>
272           <item>
273            <property name="text">
274             <string>Xvid</string>
275            </property>
276           </item>
277           <item>
278            <property name="text">
279             <string>FFV1</string>
280            </property>
281           </item>
282          </widget>
283         </item>
284         <item>
285          <widget class="QComboBox" name="audio">
286           <property name="editable">
287            <bool>true</bool>
288           </property>
289           <item>
290            <property name="text">
291             <string>FLAC</string>
292            </property>
293           </item>
294           <item>
295            <property name="text">
296             <string>Opus</string>
297            </property>
298           </item>
299           <item>
300            <property name="text">
301             <string>Vorbis</string>
302            </property>
303           </item>
304           <item>
305            <property name="text">
306             <string>MP3</string>
307            </property>
308           </item>
309           <item>
310            <property name="text">
311             <string>AAC</string>
312            </property>
313           </item>
314           <item>
315            <property name="text">
316             <string>Uncompressed</string>
317            </property>
318           </item>
319          </widget>
320         </item>
321        </layout>
322       </widget>
323      </item>
324      <item row="0" column="1">
325       <widget class="QGroupBox" name="bitrateBox">
326        <property name="title">
327         <string> Bitrate (kbps)</string>
328        </property>
329        <layout class="QGridLayout" name="gridLayout_3">
330         <item row="0" column="0">
331          <widget class="QLabel" name="label">
332           <property name="text">
333            <string>VBR </string>
334           </property>
335           <property name="alignment">
336            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
337           </property>
338           <property name="buddy">
339            <cstring>vbr</cstring>
340           </property>
341          </widget>
342         </item>
343         <item row="0" column="1">
344          <widget class="QSpinBox" name="vbr">
345           <property name="alignment">
346            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
347           </property>
348           <property name="suffix">
349            <string/>
350           </property>
351           <property name="minimum">
352            <number>200</number>
353           </property>
354           <property name="maximum">
355            <number>10000</number>
356           </property>
357           <property name="value">
358            <number>400</number>
359           </property>
360          </widget>
361         </item>
362         <item row="1" column="1">
363          <widget class="QSpinBox" name="abr">
364           <property name="alignment">
365            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
366           </property>
367           <property name="minimum">
368            <number>16</number>
369           </property>
370           <property name="maximum">
371            <number>320</number>
372           </property>
373           <property name="value">
374            <number>128</number>
375           </property>
376          </widget>
377         </item>
378         <item row="1" column="0">
379          <widget class="QLabel" name="label_2">
380           <property name="text">
381            <string>ABR</string>
382           </property>
383           <property name="alignment">
384            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
385           </property>
386           <property name="buddy">
387            <cstring>abr</cstring>
388           </property>
389          </widget>
390         </item>
391        </layout>
392       </widget>
393      </item>
394      <item row="1" column="0" colspan="2">
395       <widget class="QGroupBox" name="dimensionsBox">
396        <property name="title">
397         <string>Dimensions</string>
398        </property>
399        <layout class="QGridLayout" name="gridLayout_4">
400         <item row="1" column="2">
401          <widget class="QLabel" name="label_4">
402           <property name="text">
403            <string>:</string>
404           </property>
405           <property name="alignment">
406            <set>Qt::AlignCenter</set>
407           </property>
408          </widget>
409         </item>
410         <item row="0" column="2">
411          <widget class="QLabel" name="label_3">
412           <property name="text">
413            <string>×</string>
414           </property>
415           <property name="alignment">
416            <set>Qt::AlignCenter</set>
417           </property>
418          </widget>
419         </item>
420         <item row="0" column="3">
421          <widget class="QSpinBox" name="height">
422           <property name="minimum">
423            <number>1</number>
424           </property>
425           <property name="maximum">
426            <number>3160</number>
427           </property>
428          </widget>
429         </item>
430         <item row="0" column="1">
431          <widget class="QSpinBox" name="width">
432           <property name="minimum">
433            <number>1</number>
434           </property>
435           <property name="maximum">
436            <number>3840</number>
437           </property>
438          </widget>
439         </item>
440         <item row="1" column="3">
441          <widget class="QSpinBox" name="hratio">
442           <property name="minimum">
443            <number>1</number>
444           </property>
445           <property name="maximum">
446            <number>9999</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          </widget>
459         </item>
460         <item row="1" column="4">
461          <widget class="QCheckBox" name="lockRatio">
462           <property name="text">
463            <string>Lock aspect ratio</string>
464           </property>
465          </widget>
466         </item>
467        </layout>
468       </widget>
469      </item>
470     </layout>
471    </widget>
472   </item>
473   <item>
474    <layout class="QHBoxLayout" name="horizontalLayout">
475     <item>
476      <widget class="QCheckBox" name="showAdvanced">
477       <property name="text">
478        <string>Show advanced</string>
479       </property>
480      </widget>
481     </item>
482     <item>
483      <widget class="QDialogButtonBox" name="buttonBox">
484       <property name="standardButtons">
485        <set>QDialogButtonBox::Close</set>
486       </property>
487      </widget>
488     </item>
489    </layout>
490   </item>
491  </layout>
492 </widget>
493 <tabstops>
494  <tabstop>filename</tabstop>
495  <tabstop>start</tabstop>
496  <tabstop>stop</tabstop>
497  <tabstop>selectFile</tabstop>
498  <tabstop>presetHQ</tabstop>
499  <tabstop>presetYoutube</tabstop>
500  <tabstop>presetWebM</tabstop>
501  <tabstop>presetLossless</tabstop>
502  <tabstop>preset1080</tabstop>
503  <tabstop>preset720</tabstop>
504  <tabstop>preset480</tabstop>
505  <tabstop>presetNative</tabstop>
506  <tabstop>container</tabstop>
507  <tabstop>video</tabstop>
508  <tabstop>audio</tabstop>
509  <tabstop>vbr</tabstop>
510  <tabstop>abr</tabstop>
511  <tabstop>width</tabstop>
512  <tabstop>height</tabstop>
513  <tabstop>wratio</tabstop>
514  <tabstop>hratio</tabstop>
515  <tabstop>lockRatio</tabstop>
516  <tabstop>showAdvanced</tabstop>
517 </tabstops>
518 <resources/>
519 <connections/>
520 <buttongroups>
521  <buttongroup name="presets"/>
522  <buttongroup name="resolutions"/>
523 </buttongroups>
524</ui>