]> git.sesse.net Git - nageru/blob - ui_mainwindow.ui
Add keyboard shortcuts for the menu entries.
[nageru] / ui_mainwindow.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>MainWindow</class>
4  <widget class="QMainWindow" name="MainWindow">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>1089</width>
10     <height>664</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Nageru</string>
15   </property>
16   <widget class="QWidget" name="central_widget">
17    <property name="enabled">
18     <bool>true</bool>
19    </property>
20    <property name="sizePolicy">
21     <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
22      <horstretch>0</horstretch>
23      <verstretch>0</verstretch>
24     </sizepolicy>
25    </property>
26    <layout class="QGridLayout" name="gridLayout">
27     <item row="0" column="0">
28      <layout class="QVBoxLayout" name="vertical_layout" stretch="0,0,0,0">
29       <item>
30        <layout class="QHBoxLayout" name="me_displays" stretch="0,0,0,0,0">
31         <item>
32          <layout class="QVBoxLayout" name="preview_vertical_layout">
33           <property name="leftMargin">
34            <number>0</number>
35           </property>
36           <item>
37            <widget class="GLWidget" name="me_preview" native="true">
38             <property name="sizePolicy">
39              <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
40               <horstretch>1</horstretch>
41               <verstretch>1</verstretch>
42              </sizepolicy>
43             </property>
44            </widget>
45           </item>
46           <item>
47            <widget class="QLabel" name="label_preview">
48             <property name="text">
49              <string>Preview</string>
50             </property>
51             <property name="alignment">
52              <set>Qt::AlignCenter</set>
53             </property>
54            </widget>
55           </item>
56          </layout>
57         </item>
58         <item>
59          <layout class="QVBoxLayout" name="verticalLayout_2">
60           <item>
61            <widget class="QPushButton" name="transition_btn1">
62             <property name="sizePolicy">
63              <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
64               <horstretch>0</horstretch>
65               <verstretch>0</verstretch>
66              </sizepolicy>
67             </property>
68             <property name="minimumSize">
69              <size>
70               <width>115</width>
71               <height>0</height>
72              </size>
73             </property>
74             <property name="maximumSize">
75              <size>
76               <width>16777215</width>
77               <height>100</height>
78              </size>
79             </property>
80             <property name="text">
81              <string>Cut</string>
82             </property>
83            </widget>
84           </item>
85           <item>
86            <widget class="QPushButton" name="transition_btn2">
87             <property name="sizePolicy">
88              <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
89               <horstretch>0</horstretch>
90               <verstretch>0</verstretch>
91              </sizepolicy>
92             </property>
93             <property name="minimumSize">
94              <size>
95               <width>115</width>
96               <height>0</height>
97              </size>
98             </property>
99             <property name="maximumSize">
100              <size>
101               <width>16777215</width>
102               <height>100</height>
103              </size>
104             </property>
105             <property name="text">
106              <string>Fade</string>
107             </property>
108            </widget>
109           </item>
110           <item>
111            <widget class="QPushButton" name="transition_btn3">
112             <property name="sizePolicy">
113              <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
114               <horstretch>0</horstretch>
115               <verstretch>0</verstretch>
116              </sizepolicy>
117             </property>
118             <property name="minimumSize">
119              <size>
120               <width>115</width>
121               <height>0</height>
122              </size>
123             </property>
124             <property name="maximumSize">
125              <size>
126               <width>16777215</width>
127               <height>100</height>
128              </size>
129             </property>
130             <property name="text">
131              <string>Wipe</string>
132             </property>
133            </widget>
134           </item>
135          </layout>
136         </item>
137         <item>
138          <layout class="QVBoxLayout" name="verticalLayout_5">
139           <property name="leftMargin">
140            <number>0</number>
141           </property>
142           <item>
143            <widget class="GLWidget" name="me_live" native="true">
144             <property name="sizePolicy">
145              <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
146               <horstretch>1</horstretch>
147               <verstretch>1</verstretch>
148              </sizepolicy>
149             </property>
150             <property name="sizeIncrement">
151              <size>
152               <width>16</width>
153               <height>9</height>
154              </size>
155             </property>
156             <property name="baseSize">
157              <size>
158               <width>16</width>
159               <height>9</height>
160              </size>
161             </property>
162            </widget>
163           </item>
164           <item>
165            <widget class="QLabel" name="label_live">
166             <property name="text">
167              <string>Live</string>
168             </property>
169             <property name="alignment">
170              <set>Qt::AlignCenter</set>
171             </property>
172            </widget>
173           </item>
174          </layout>
175         </item>
176         <item>
177          <layout class="QVBoxLayout" name="vu_meter_vertical_layout" stretch="1,0">
178           <property name="leftMargin">
179            <number>0</number>
180           </property>
181           <property name="bottomMargin">
182            <number>4</number>
183           </property>
184           <item>
185            <layout class="QHBoxLayout" name="horizontalLayout">
186             <property name="bottomMargin">
187              <number>0</number>
188             </property>
189             <item>
190              <widget class="VUMeter" name="vu_meter" native="true">
191               <property name="sizePolicy">
192                <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
193                 <horstretch>0</horstretch>
194                 <verstretch>1</verstretch>
195                </sizepolicy>
196               </property>
197               <property name="minimumSize">
198                <size>
199                 <width>16</width>
200                 <height>0</height>
201                </size>
202               </property>
203               <property name="sizeIncrement">
204                <size>
205                 <width>1</width>
206                 <height>0</height>
207                </size>
208               </property>
209               <property name="baseSize">
210                <size>
211                 <width>0</width>
212                 <height>0</height>
213                </size>
214               </property>
215               <property name="palette">
216                <palette>
217                 <active>
218                  <colorrole role="Base">
219                   <brush brushstyle="SolidPattern">
220                    <color alpha="255">
221                     <red>255</red>
222                     <green>255</green>
223                     <blue>255</blue>
224                    </color>
225                   </brush>
226                  </colorrole>
227                  <colorrole role="Window">
228                   <brush brushstyle="SolidPattern">
229                    <color alpha="255">
230                     <red>5</red>
231                     <green>239</green>
232                     <blue>111</blue>
233                    </color>
234                   </brush>
235                  </colorrole>
236                 </active>
237                 <inactive>
238                  <colorrole role="Base">
239                   <brush brushstyle="SolidPattern">
240                    <color alpha="255">
241                     <red>255</red>
242                     <green>255</green>
243                     <blue>255</blue>
244                    </color>
245                   </brush>
246                  </colorrole>
247                  <colorrole role="Window">
248                   <brush brushstyle="SolidPattern">
249                    <color alpha="255">
250                     <red>5</red>
251                     <green>239</green>
252                     <blue>111</blue>
253                    </color>
254                   </brush>
255                  </colorrole>
256                 </inactive>
257                 <disabled>
258                  <colorrole role="Base">
259                   <brush brushstyle="SolidPattern">
260                    <color alpha="255">
261                     <red>5</red>
262                     <green>239</green>
263                     <blue>111</blue>
264                    </color>
265                   </brush>
266                  </colorrole>
267                  <colorrole role="Window">
268                   <brush brushstyle="SolidPattern">
269                    <color alpha="255">
270                     <red>5</red>
271                     <green>239</green>
272                     <blue>111</blue>
273                    </color>
274                   </brush>
275                  </colorrole>
276                 </disabled>
277                </palette>
278               </property>
279               <property name="autoFillBackground">
280                <bool>true</bool>
281               </property>
282              </widget>
283             </item>
284            </layout>
285           </item>
286           <item>
287            <widget class="QLabel" name="peak_display">
288             <property name="minimumSize">
289              <size>
290               <width>30</width>
291               <height>0</height>
292              </size>
293             </property>
294             <property name="text">
295              <string>-0.0</string>
296             </property>
297             <property name="alignment">
298              <set>Qt::AlignCenter</set>
299             </property>
300            </widget>
301           </item>
302          </layout>
303         </item>
304         <item>
305          <layout class="QVBoxLayout" name="lra_vertical_layout" stretch="1,0">
306           <property name="spacing">
307            <number>3</number>
308           </property>
309           <property name="leftMargin">
310            <number>0</number>
311           </property>
312           <item>
313            <layout class="QHBoxLayout" name="horizontalLayout_2">
314             <item>
315              <widget class="LRAMeter" name="lra_meter" native="true">
316               <property name="sizePolicy">
317                <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
318                 <horstretch>0</horstretch>
319                 <verstretch>0</verstretch>
320                </sizepolicy>
321               </property>
322               <property name="minimumSize">
323                <size>
324                 <width>24</width>
325                 <height>0</height>
326                </size>
327               </property>
328               <property name="palette">
329                <palette>
330                 <active>
331                  <colorrole role="Base">
332                   <brush brushstyle="SolidPattern">
333                    <color alpha="255">
334                     <red>255</red>
335                     <green>255</green>
336                     <blue>255</blue>
337                    </color>
338                   </brush>
339                  </colorrole>
340                  <colorrole role="Window">
341                   <brush brushstyle="SolidPattern">
342                    <color alpha="255">
343                     <red>0</red>
344                     <green>239</green>
345                     <blue>219</blue>
346                    </color>
347                   </brush>
348                  </colorrole>
349                 </active>
350                 <inactive>
351                  <colorrole role="Base">
352                   <brush brushstyle="SolidPattern">
353                    <color alpha="255">
354                     <red>255</red>
355                     <green>255</green>
356                     <blue>255</blue>
357                    </color>
358                   </brush>
359                  </colorrole>
360                  <colorrole role="Window">
361                   <brush brushstyle="SolidPattern">
362                    <color alpha="255">
363                     <red>0</red>
364                     <green>239</green>
365                     <blue>219</blue>
366                    </color>
367                   </brush>
368                  </colorrole>
369                 </inactive>
370                 <disabled>
371                  <colorrole role="Base">
372                   <brush brushstyle="SolidPattern">
373                    <color alpha="255">
374                     <red>0</red>
375                     <green>239</green>
376                     <blue>219</blue>
377                    </color>
378                   </brush>
379                  </colorrole>
380                  <colorrole role="Window">
381                   <brush brushstyle="SolidPattern">
382                    <color alpha="255">
383                     <red>0</red>
384                     <green>239</green>
385                     <blue>219</blue>
386                    </color>
387                   </brush>
388                  </colorrole>
389                 </disabled>
390                </palette>
391               </property>
392               <property name="autoFillBackground">
393                <bool>true</bool>
394               </property>
395              </widget>
396             </item>
397            </layout>
398           </item>
399           <item>
400            <widget class="QPushButton" name="reset_meters_button">
401             <property name="maximumSize">
402              <size>
403               <width>30</width>
404               <height>20</height>
405              </size>
406             </property>
407             <property name="text">
408              <string>RST</string>
409             </property>
410             <property name="checked">
411              <bool>false</bool>
412             </property>
413            </widget>
414           </item>
415          </layout>
416         </item>
417        </layout>
418       </item>
419       <item>
420        <layout class="QGridLayout" name="audiostrip">
421         <property name="bottomMargin">
422          <number>0</number>
423         </property>
424         <item row="1" column="1">
425          <widget class="QDial" name="gainstaging_knob">
426           <property name="minimumSize">
427            <size>
428             <width>64</width>
429             <height>64</height>
430            </size>
431           </property>
432           <property name="maximumSize">
433            <size>
434             <width>16777215</width>
435             <height>64</height>
436            </size>
437           </property>
438           <property name="minimum">
439            <number>-300</number>
440           </property>
441           <property name="maximum">
442            <number>300</number>
443           </property>
444           <property name="notchTarget">
445            <double>60.000000000000000</double>
446           </property>
447           <property name="notchesVisible">
448            <bool>true</bool>
449           </property>
450          </widget>
451         </item>
452         <item row="2" column="1">
453          <widget class="QLabel" name="gainstaging_db_display">
454           <property name="text">
455            <string>-0.0 dB</string>
456           </property>
457           <property name="alignment">
458            <set>Qt::AlignCenter</set>
459           </property>
460          </widget>
461         </item>
462         <item row="0" column="1">
463          <widget class="QLabel" name="gainstaging_label">
464           <property name="text">
465            <string>Gain staging</string>
466           </property>
467           <property name="alignment">
468            <set>Qt::AlignCenter</set>
469           </property>
470          </widget>
471         </item>
472         <item row="1" column="4">
473          <spacer name="horizontalSpacer_2">
474           <property name="orientation">
475            <enum>Qt::Horizontal</enum>
476           </property>
477           <property name="sizeHint" stdset="0">
478            <size>
479             <width>40</width>
480             <height>20</height>
481            </size>
482           </property>
483          </spacer>
484         </item>
485         <item row="3" column="1">
486          <widget class="QCheckBox" name="gainstaging_auto_checkbox">
487           <property name="text">
488            <string>Auto</string>
489           </property>
490           <property name="checked">
491            <bool>true</bool>
492           </property>
493          </widget>
494         </item>
495         <item row="1" column="0">
496          <widget class="QDial" name="locut_cutoff_knob">
497           <property name="sizePolicy">
498            <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
499             <horstretch>0</horstretch>
500             <verstretch>0</verstretch>
501            </sizepolicy>
502           </property>
503           <property name="minimumSize">
504            <size>
505             <width>64</width>
506             <height>64</height>
507            </size>
508           </property>
509           <property name="maximumSize">
510            <size>
511             <width>16777215</width>
512             <height>64</height>
513            </size>
514           </property>
515           <property name="maximum">
516            <number>60</number>
517           </property>
518           <property name="value">
519            <number>26</number>
520           </property>
521          </widget>
522         </item>
523         <item row="3" column="0">
524          <widget class="QComboBox" name="comboBox">
525           <property name="currentText">
526            <string/>
527           </property>
528          </widget>
529         </item>
530         <item row="0" column="0">
531          <widget class="QLabel" name="locut_cutoff_label">
532           <property name="text">
533            <string>Lo-cut (24dB/oct)</string>
534           </property>
535          </widget>
536         </item>
537         <item row="2" column="0">
538          <widget class="QLabel" name="locut_cutoff_display">
539           <property name="text">
540            <string>120 Hz</string>
541           </property>
542           <property name="alignment">
543            <set>Qt::AlignCenter</set>
544           </property>
545          </widget>
546         </item>
547         <item row="3" column="3">
548          <widget class="QCheckBox" name="limiter_enabled">
549           <property name="text">
550            <string>Enabled</string>
551           </property>
552           <property name="checked">
553            <bool>true</bool>
554           </property>
555          </widget>
556         </item>
557         <item row="1" column="3">
558          <widget class="QDial" name="limiter_threshold_knob">
559           <property name="minimumSize">
560            <size>
561             <width>64</width>
562             <height>64</height>
563            </size>
564           </property>
565           <property name="maximumSize">
566            <size>
567             <width>16777215</width>
568             <height>64</height>
569            </size>
570           </property>
571           <property name="minimum">
572            <number>-400</number>
573           </property>
574           <property name="maximum">
575            <number>0</number>
576           </property>
577           <property name="value">
578            <number>-140</number>
579           </property>
580           <property name="notchTarget">
581            <double>30.000000000000000</double>
582           </property>
583           <property name="notchesVisible">
584            <bool>true</bool>
585           </property>
586          </widget>
587         </item>
588         <item row="0" column="3">
589          <widget class="QLabel" name="limiter_threshold_label">
590           <property name="text">
591            <string>Limiter threshold</string>
592           </property>
593           <property name="alignment">
594            <set>Qt::AlignCenter</set>
595           </property>
596          </widget>
597         </item>
598         <item row="2" column="3">
599          <widget class="QLabel" name="limiter_threshold_db_display">
600           <property name="text">
601            <string>-14.0 dB</string>
602           </property>
603           <property name="alignment">
604            <set>Qt::AlignCenter</set>
605           </property>
606          </widget>
607         </item>
608         <item row="1" column="2">
609          <widget class="QDial" name="compressor_threshold_knob">
610           <property name="minimumSize">
611            <size>
612             <width>64</width>
613             <height>64</height>
614            </size>
615           </property>
616           <property name="maximumSize">
617            <size>
618             <width>16777215</width>
619             <height>64</height>
620            </size>
621           </property>
622           <property name="minimum">
623            <number>-400</number>
624           </property>
625           <property name="maximum">
626            <number>0</number>
627           </property>
628           <property name="value">
629            <number>-260</number>
630           </property>
631           <property name="notchTarget">
632            <double>30.000000000000000</double>
633           </property>
634           <property name="notchesVisible">
635            <bool>true</bool>
636           </property>
637          </widget>
638         </item>
639         <item row="0" column="2">
640          <widget class="QLabel" name="compressor_threshold_label">
641           <property name="text">
642            <string>Compr. threshold</string>
643           </property>
644          </widget>
645         </item>
646         <item row="2" column="2">
647          <widget class="QLabel" name="compressor_threshold_db_display">
648           <property name="text">
649            <string>-26.0 dB</string>
650           </property>
651           <property name="alignment">
652            <set>Qt::AlignCenter</set>
653           </property>
654          </widget>
655         </item>
656         <item row="3" column="2">
657          <widget class="QCheckBox" name="compressor_enabled">
658           <property name="text">
659            <string>Enabled</string>
660           </property>
661           <property name="checked">
662            <bool>true</bool>
663           </property>
664          </widget>
665         </item>
666        </layout>
667       </item>
668       <item>
669        <spacer name="verticalSpacer">
670         <property name="orientation">
671          <enum>Qt::Vertical</enum>
672         </property>
673         <property name="sizeType">
674          <enum>QSizePolicy::Preferred</enum>
675         </property>
676         <property name="sizeHint" stdset="0">
677          <size>
678           <width>20</width>
679           <height>40</height>
680          </size>
681         </property>
682        </spacer>
683       </item>
684       <item>
685        <layout class="QHBoxLayout" name="preview_displays" stretch="0">
686         <property name="topMargin">
687          <number>0</number>
688         </property>
689         <item>
690          <spacer name="horizontalSpacer">
691           <property name="orientation">
692            <enum>Qt::Horizontal</enum>
693           </property>
694           <property name="sizeType">
695            <enum>QSizePolicy::Preferred</enum>
696           </property>
697           <property name="sizeHint" stdset="0">
698            <size>
699             <width>0</width>
700             <height>40</height>
701            </size>
702           </property>
703          </spacer>
704         </item>
705        </layout>
706       </item>
707      </layout>
708     </item>
709    </layout>
710   </widget>
711   <widget class="QMenuBar" name="menuBar">
712    <property name="geometry">
713     <rect>
714      <x>0</x>
715      <y>0</y>
716      <width>1089</width>
717      <height>19</height>
718     </rect>
719    </property>
720    <widget class="QMenu" name="menuWhat">
721     <property name="title">
722      <string>&amp;Video</string>
723     </property>
724     <addaction name="cut_action"/>
725     <addaction name="exit_action"/>
726    </widget>
727    <addaction name="menuWhat"/>
728   </widget>
729   <action name="exit_action">
730    <property name="text">
731     <string>&amp;Exit</string>
732    </property>
733   </action>
734   <action name="cut_action">
735    <property name="text">
736     <string>&amp;Begin new video segment</string>
737    </property>
738   </action>
739  </widget>
740  <layoutdefault spacing="6" margin="11"/>
741  <customwidgets>
742   <customwidget>
743    <class>GLWidget</class>
744    <extends>QWidget</extends>
745    <header>glwidget.h</header>
746   </customwidget>
747   <customwidget>
748    <class>VUMeter</class>
749    <extends>QWidget</extends>
750    <header>vumeter.h</header>
751    <container>1</container>
752   </customwidget>
753   <customwidget>
754    <class>LRAMeter</class>
755    <extends>QWidget</extends>
756    <header>lrameter.h</header>
757    <container>1</container>
758   </customwidget>
759  </customwidgets>
760  <resources/>
761  <connections/>
762 </ui>