all repos — mgba @ d6e5bfb6409daf967c2f9d1a8443f294c055f607

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>h.264</string>
260            </property>
261           </item>
262           <item>
263            <property name="text">
264             <string>h.264 (NVENC)</string>
265            </property>
266           </item>
267           <item>
268            <property name="text">
269             <string>HEVC</string>
270            </property>
271           </item>
272           <item>
273            <property name="text">
274             <string>VP8</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="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>1</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>1</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          </widget>
446         </item>
447         <item row="1" column="1">
448          <widget class="QSpinBox" name="wratio">
449           <property name="minimum">
450            <number>1</number>
451           </property>
452           <property name="maximum">
453            <number>9999</number>
454           </property>
455          </widget>
456         </item>
457         <item row="1" column="4">
458          <widget class="QCheckBox" name="lockRatio">
459           <property name="text">
460            <string>Lock aspect ratio</string>
461           </property>
462          </widget>
463         </item>
464        </layout>
465       </widget>
466      </item>
467     </layout>
468    </widget>
469   </item>
470   <item>
471    <layout class="QHBoxLayout" name="horizontalLayout">
472     <item>
473      <widget class="QCheckBox" name="showAdvanced">
474       <property name="text">
475        <string>Show advanced</string>
476       </property>
477      </widget>
478     </item>
479     <item>
480      <widget class="QDialogButtonBox" name="buttonBox">
481       <property name="standardButtons">
482        <set>QDialogButtonBox::Close</set>
483       </property>
484      </widget>
485     </item>
486    </layout>
487   </item>
488  </layout>
489 </widget>
490 <tabstops>
491  <tabstop>filename</tabstop>
492  <tabstop>start</tabstop>
493  <tabstop>stop</tabstop>
494  <tabstop>selectFile</tabstop>
495  <tabstop>presetHQ</tabstop>
496  <tabstop>presetYoutube</tabstop>
497  <tabstop>presetWebM</tabstop>
498  <tabstop>presetLossless</tabstop>
499  <tabstop>preset1080</tabstop>
500  <tabstop>preset720</tabstop>
501  <tabstop>preset480</tabstop>
502  <tabstop>presetNative</tabstop>
503  <tabstop>container</tabstop>
504  <tabstop>video</tabstop>
505  <tabstop>audio</tabstop>
506  <tabstop>vbr</tabstop>
507  <tabstop>abr</tabstop>
508  <tabstop>width</tabstop>
509  <tabstop>height</tabstop>
510  <tabstop>wratio</tabstop>
511  <tabstop>hratio</tabstop>
512  <tabstop>lockRatio</tabstop>
513  <tabstop>showAdvanced</tabstop>
514 </tabstops>
515 <resources/>
516 <connections/>
517 <buttongroups>
518  <buttongroup name="resolutions"/>
519  <buttongroup name="presets"/>
520 </buttongroups>
521</ui>