all repos — mgba @ 72fd09dbc977a2d56ebafdad4c0ffdb9fcfebb9f

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>Vorbis</string>
294            </property>
295           </item>
296           <item>
297            <property name="text">
298             <string>MP3</string>
299            </property>
300           </item>
301           <item>
302            <property name="text">
303             <string>AAC</string>
304            </property>
305           </item>
306           <item>
307            <property name="text">
308             <string>Uncompressed</string>
309            </property>
310           </item>
311          </widget>
312         </item>
313        </layout>
314       </widget>
315      </item>
316      <item row="0" column="1">
317       <widget class="QGroupBox" name="bitrateBox">
318        <property name="title">
319         <string> Bitrate (kbps)</string>
320        </property>
321        <layout class="QGridLayout" name="gridLayout_3">
322         <item row="0" column="0">
323          <widget class="QLabel" name="label">
324           <property name="text">
325            <string>VBR </string>
326           </property>
327           <property name="alignment">
328            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
329           </property>
330           <property name="buddy">
331            <cstring>vbr</cstring>
332           </property>
333          </widget>
334         </item>
335         <item row="0" column="1">
336          <widget class="QSpinBox" name="vbr">
337           <property name="alignment">
338            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
339           </property>
340           <property name="suffix">
341            <string/>
342           </property>
343           <property name="minimum">
344            <number>200</number>
345           </property>
346           <property name="maximum">
347            <number>10000</number>
348           </property>
349           <property name="value">
350            <number>400</number>
351           </property>
352          </widget>
353         </item>
354         <item row="1" column="1">
355          <widget class="QSpinBox" name="abr">
356           <property name="alignment">
357            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
358           </property>
359           <property name="minimum">
360            <number>16</number>
361           </property>
362           <property name="maximum">
363            <number>320</number>
364           </property>
365           <property name="value">
366            <number>128</number>
367           </property>
368          </widget>
369         </item>
370         <item row="1" column="0">
371          <widget class="QLabel" name="label_2">
372           <property name="text">
373            <string>ABR</string>
374           </property>
375           <property name="alignment">
376            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
377           </property>
378           <property name="buddy">
379            <cstring>abr</cstring>
380           </property>
381          </widget>
382         </item>
383        </layout>
384       </widget>
385      </item>
386      <item row="1" column="0" colspan="2">
387       <widget class="QGroupBox" name="dimensionsBox">
388        <property name="title">
389         <string>Dimensions</string>
390        </property>
391        <layout class="QGridLayout" name="gridLayout_4">
392         <item row="1" column="2">
393          <widget class="QLabel" name="label_4">
394           <property name="text">
395            <string>:</string>
396           </property>
397           <property name="alignment">
398            <set>Qt::AlignCenter</set>
399           </property>
400          </widget>
401         </item>
402         <item row="0" column="2">
403          <widget class="QLabel" name="label_3">
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="3">
413          <widget class="QSpinBox" name="height">
414           <property name="minimum">
415            <number>160</number>
416           </property>
417           <property name="maximum">
418            <number>3160</number>
419           </property>
420          </widget>
421         </item>
422         <item row="0" column="1">
423          <widget class="QSpinBox" name="width">
424           <property name="minimum">
425            <number>240</number>
426           </property>
427           <property name="maximum">
428            <number>3840</number>
429           </property>
430          </widget>
431         </item>
432         <item row="1" column="3">
433          <widget class="QSpinBox" name="hratio">
434           <property name="enabled">
435            <bool>false</bool>
436           </property>
437           <property name="minimum">
438            <number>1</number>
439           </property>
440           <property name="value">
441            <number>2</number>
442           </property>
443          </widget>
444         </item>
445         <item row="1" column="1">
446          <widget class="QSpinBox" name="wratio">
447           <property name="enabled">
448            <bool>false</bool>
449           </property>
450           <property name="minimum">
451            <number>1</number>
452           </property>
453           <property name="value">
454            <number>3</number>
455           </property>
456          </widget>
457         </item>
458         <item row="1" column="4">
459          <widget class="QCheckBox" name="lockRatio">
460           <property name="enabled">
461            <bool>false</bool>
462           </property>
463           <property name="text">
464            <string>Lock aspect ratio</string>
465           </property>
466          </widget>
467         </item>
468        </layout>
469       </widget>
470      </item>
471     </layout>
472    </widget>
473   </item>
474   <item>
475    <layout class="QHBoxLayout" name="horizontalLayout">
476     <item>
477      <widget class="QCheckBox" name="showAdvanced">
478       <property name="text">
479        <string>Show advanced</string>
480       </property>
481      </widget>
482     </item>
483     <item>
484      <widget class="QDialogButtonBox" name="buttonBox">
485       <property name="standardButtons">
486        <set>QDialogButtonBox::Close</set>
487       </property>
488      </widget>
489     </item>
490    </layout>
491   </item>
492  </layout>
493 </widget>
494 <tabstops>
495  <tabstop>filename</tabstop>
496  <tabstop>start</tabstop>
497  <tabstop>stop</tabstop>
498  <tabstop>selectFile</tabstop>
499  <tabstop>container</tabstop>
500  <tabstop>video</tabstop>
501  <tabstop>audio</tabstop>
502 </tabstops>
503 <resources/>
504 <connections/>
505 <buttongroups>
506  <buttongroup name="presets"/>
507  <buttongroup name="resolutions"/>
508 </buttongroups>
509</ui>