all repos — mgba @ 51030d98fd01679834abf8d99812ac3e5fe0793e

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 &amp;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>&amp;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>&amp;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>&amp;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>&amp;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>&amp;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>&amp;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>HEVC (NVENC)</string>
275            </property>
276           </item>
277           <item>
278            <property name="text">
279             <string>VP8</string>
280            </property>
281           </item>
282           <item>
283            <property name="text">
284             <string>VP9</string>
285            </property>
286           </item>
287           <item>
288            <property name="text">
289             <string>FFV1</string>
290            </property>
291           </item>
292          </widget>
293         </item>
294         <item>
295          <widget class="QComboBox" name="audio">
296           <property name="editable">
297            <bool>true</bool>
298           </property>
299           <item>
300            <property name="text">
301             <string>FLAC</string>
302            </property>
303           </item>
304           <item>
305            <property name="text">
306             <string>Opus</string>
307            </property>
308           </item>
309           <item>
310            <property name="text">
311             <string>Vorbis</string>
312            </property>
313           </item>
314           <item>
315            <property name="text">
316             <string>MP3</string>
317            </property>
318           </item>
319           <item>
320            <property name="text">
321             <string>AAC</string>
322            </property>
323           </item>
324           <item>
325            <property name="text">
326             <string>Uncompressed</string>
327            </property>
328           </item>
329          </widget>
330         </item>
331        </layout>
332       </widget>
333      </item>
334      <item row="0" column="1">
335       <widget class="QGroupBox" name="bitrateBox">
336        <property name="title">
337         <string> Bitrate (kbps)</string>
338        </property>
339        <layout class="QGridLayout" name="gridLayout_3">
340         <item row="0" column="0">
341          <widget class="QLabel" name="label">
342           <property name="text">
343            <string>VBR </string>
344           </property>
345           <property name="alignment">
346            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
347           </property>
348           <property name="buddy">
349            <cstring>vbr</cstring>
350           </property>
351          </widget>
352         </item>
353         <item row="0" column="1">
354          <widget class="QSpinBox" name="vbr">
355           <property name="alignment">
356            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
357           </property>
358           <property name="suffix">
359            <string/>
360           </property>
361           <property name="maximum">
362            <number>10000</number>
363           </property>
364           <property name="value">
365            <number>400</number>
366           </property>
367          </widget>
368         </item>
369         <item row="1" column="1">
370          <widget class="QSpinBox" name="abr">
371           <property name="alignment">
372            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
373           </property>
374           <property name="minimum">
375            <number>16</number>
376           </property>
377           <property name="maximum">
378            <number>320</number>
379           </property>
380           <property name="value">
381            <number>128</number>
382           </property>
383          </widget>
384         </item>
385         <item row="1" column="0">
386          <widget class="QLabel" name="label_2">
387           <property name="text">
388            <string>ABR</string>
389           </property>
390           <property name="alignment">
391            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
392           </property>
393           <property name="buddy">
394            <cstring>abr</cstring>
395           </property>
396          </widget>
397         </item>
398        </layout>
399       </widget>
400      </item>
401      <item row="1" column="0" colspan="2">
402       <widget class="QGroupBox" name="dimensionsBox">
403        <property name="title">
404         <string>Dimensions</string>
405        </property>
406        <layout class="QGridLayout" name="gridLayout_4">
407         <item row="1" column="2">
408          <widget class="QLabel" name="label_4">
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="2">
418          <widget class="QLabel" name="label_3">
419           <property name="text">
420            <string>×</string>
421           </property>
422           <property name="alignment">
423            <set>Qt::AlignCenter</set>
424           </property>
425          </widget>
426         </item>
427         <item row="0" column="3">
428          <widget class="QSpinBox" name="height">
429           <property name="minimum">
430            <number>1</number>
431           </property>
432           <property name="maximum">
433            <number>3160</number>
434           </property>
435          </widget>
436         </item>
437         <item row="0" column="1">
438          <widget class="QSpinBox" name="width">
439           <property name="minimum">
440            <number>1</number>
441           </property>
442           <property name="maximum">
443            <number>3840</number>
444           </property>
445          </widget>
446         </item>
447         <item row="1" column="3">
448          <widget class="QSpinBox" name="hratio">
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="1">
458          <widget class="QSpinBox" name="wratio">
459           <property name="minimum">
460            <number>1</number>
461           </property>
462           <property name="maximum">
463            <number>9999</number>
464           </property>
465          </widget>
466         </item>
467         <item row="1" column="4">
468          <widget class="QCheckBox" name="lockRatio">
469           <property name="text">
470            <string>Lock aspect ratio</string>
471           </property>
472          </widget>
473         </item>
474        </layout>
475       </widget>
476      </item>
477     </layout>
478    </widget>
479   </item>
480   <item>
481    <layout class="QHBoxLayout" name="horizontalLayout">
482     <item>
483      <widget class="QCheckBox" name="showAdvanced">
484       <property name="text">
485        <string>Show advanced</string>
486       </property>
487      </widget>
488     </item>
489     <item>
490      <widget class="QDialogButtonBox" name="buttonBox">
491       <property name="standardButtons">
492        <set>QDialogButtonBox::Close</set>
493       </property>
494      </widget>
495     </item>
496    </layout>
497   </item>
498  </layout>
499 </widget>
500 <tabstops>
501  <tabstop>filename</tabstop>
502  <tabstop>start</tabstop>
503  <tabstop>stop</tabstop>
504  <tabstop>selectFile</tabstop>
505  <tabstop>presetHQ</tabstop>
506  <tabstop>presetYoutube</tabstop>
507  <tabstop>presetWebM</tabstop>
508  <tabstop>presetLossless</tabstop>
509  <tabstop>preset1080</tabstop>
510  <tabstop>preset720</tabstop>
511  <tabstop>preset480</tabstop>
512  <tabstop>presetNative</tabstop>
513  <tabstop>container</tabstop>
514  <tabstop>video</tabstop>
515  <tabstop>audio</tabstop>
516  <tabstop>vbr</tabstop>
517  <tabstop>abr</tabstop>
518  <tabstop>width</tabstop>
519  <tabstop>height</tabstop>
520  <tabstop>wratio</tabstop>
521  <tabstop>hratio</tabstop>
522  <tabstop>lockRatio</tabstop>
523  <tabstop>showAdvanced</tabstop>
524 </tabstops>
525 <resources/>
526 <connections/>
527 <buttongroups>
528  <buttongroup name="resolutions"/>
529  <buttongroup name="presets"/>
530 </buttongroups>
531</ui>