all repos — mgba @ c4b38790f211b65cb15af26cebe9fc25e3c19914

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