all repos — mgba @ 37554a40ea338bfb2e3971e8854091c55f77faeb

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