all repos — mgba @ a405ec42b46099ad050735ab797ca55f75dbdb64

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