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