]> git.sesse.net Git - nageru/blob - ui_mainwindow.ui
Hook up the reset meters button.
[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="minimumSize">
63              <size>
64               <width>115</width>
65               <height>0</height>
66              </size>
67             </property>
68             <property name="text">
69              <string>Cut</string>
70             </property>
71            </widget>
72           </item>
73           <item>
74            <widget class="QPushButton" name="transition_btn2">
75             <property name="minimumSize">
76              <size>
77               <width>115</width>
78               <height>0</height>
79              </size>
80             </property>
81             <property name="text">
82              <string>Fade</string>
83             </property>
84            </widget>
85           </item>
86           <item>
87            <widget class="QPushButton" name="transition_btn3">
88             <property name="minimumSize">
89              <size>
90               <width>115</width>
91               <height>0</height>
92              </size>
93             </property>
94             <property name="text">
95              <string>Wipe</string>
96             </property>
97            </widget>
98           </item>
99          </layout>
100         </item>
101         <item>
102          <layout class="QVBoxLayout" name="verticalLayout_5">
103           <property name="leftMargin">
104            <number>0</number>
105           </property>
106           <item>
107            <widget class="GLWidget" name="me_live" native="true">
108             <property name="sizePolicy">
109              <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
110               <horstretch>1</horstretch>
111               <verstretch>1</verstretch>
112              </sizepolicy>
113             </property>
114             <property name="sizeIncrement">
115              <size>
116               <width>16</width>
117               <height>9</height>
118              </size>
119             </property>
120             <property name="baseSize">
121              <size>
122               <width>16</width>
123               <height>9</height>
124              </size>
125             </property>
126            </widget>
127           </item>
128           <item>
129            <widget class="QLabel" name="label_live">
130             <property name="text">
131              <string>Live</string>
132             </property>
133             <property name="alignment">
134              <set>Qt::AlignCenter</set>
135             </property>
136            </widget>
137           </item>
138          </layout>
139         </item>
140         <item>
141          <layout class="QVBoxLayout" name="vu_meter_vertical_layout" stretch="1,0">
142           <property name="leftMargin">
143            <number>0</number>
144           </property>
145           <property name="bottomMargin">
146            <number>4</number>
147           </property>
148           <item>
149            <layout class="QHBoxLayout" name="horizontalLayout">
150             <property name="bottomMargin">
151              <number>0</number>
152             </property>
153             <item>
154              <widget class="VUMeter" name="vu_meter" native="true">
155               <property name="sizePolicy">
156                <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
157                 <horstretch>0</horstretch>
158                 <verstretch>1</verstretch>
159                </sizepolicy>
160               </property>
161               <property name="minimumSize">
162                <size>
163                 <width>16</width>
164                 <height>0</height>
165                </size>
166               </property>
167               <property name="sizeIncrement">
168                <size>
169                 <width>1</width>
170                 <height>0</height>
171                </size>
172               </property>
173               <property name="baseSize">
174                <size>
175                 <width>0</width>
176                 <height>0</height>
177                </size>
178               </property>
179               <property name="palette">
180                <palette>
181                 <active>
182                  <colorrole role="Base">
183                   <brush brushstyle="SolidPattern">
184                    <color alpha="255">
185                     <red>255</red>
186                     <green>255</green>
187                     <blue>255</blue>
188                    </color>
189                   </brush>
190                  </colorrole>
191                  <colorrole role="Window">
192                   <brush brushstyle="SolidPattern">
193                    <color alpha="255">
194                     <red>5</red>
195                     <green>239</green>
196                     <blue>111</blue>
197                    </color>
198                   </brush>
199                  </colorrole>
200                 </active>
201                 <inactive>
202                  <colorrole role="Base">
203                   <brush brushstyle="SolidPattern">
204                    <color alpha="255">
205                     <red>255</red>
206                     <green>255</green>
207                     <blue>255</blue>
208                    </color>
209                   </brush>
210                  </colorrole>
211                  <colorrole role="Window">
212                   <brush brushstyle="SolidPattern">
213                    <color alpha="255">
214                     <red>5</red>
215                     <green>239</green>
216                     <blue>111</blue>
217                    </color>
218                   </brush>
219                  </colorrole>
220                 </inactive>
221                 <disabled>
222                  <colorrole role="Base">
223                   <brush brushstyle="SolidPattern">
224                    <color alpha="255">
225                     <red>5</red>
226                     <green>239</green>
227                     <blue>111</blue>
228                    </color>
229                   </brush>
230                  </colorrole>
231                  <colorrole role="Window">
232                   <brush brushstyle="SolidPattern">
233                    <color alpha="255">
234                     <red>5</red>
235                     <green>239</green>
236                     <blue>111</blue>
237                    </color>
238                   </brush>
239                  </colorrole>
240                 </disabled>
241                </palette>
242               </property>
243               <property name="autoFillBackground">
244                <bool>true</bool>
245               </property>
246              </widget>
247             </item>
248            </layout>
249           </item>
250           <item>
251            <widget class="QLabel" name="peak_display">
252             <property name="minimumSize">
253              <size>
254               <width>30</width>
255               <height>0</height>
256              </size>
257             </property>
258             <property name="text">
259              <string>-0.0</string>
260             </property>
261             <property name="alignment">
262              <set>Qt::AlignCenter</set>
263             </property>
264            </widget>
265           </item>
266          </layout>
267         </item>
268         <item>
269          <layout class="QVBoxLayout" name="lra_vertical_layout" stretch="1,0">
270           <property name="spacing">
271            <number>3</number>
272           </property>
273           <property name="leftMargin">
274            <number>0</number>
275           </property>
276           <item>
277            <layout class="QHBoxLayout" name="horizontalLayout_2">
278             <item>
279              <widget class="LRAMeter" name="lra_meter" native="true">
280               <property name="sizePolicy">
281                <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
282                 <horstretch>0</horstretch>
283                 <verstretch>0</verstretch>
284                </sizepolicy>
285               </property>
286               <property name="minimumSize">
287                <size>
288                 <width>24</width>
289                 <height>0</height>
290                </size>
291               </property>
292               <property name="palette">
293                <palette>
294                 <active>
295                  <colorrole role="Base">
296                   <brush brushstyle="SolidPattern">
297                    <color alpha="255">
298                     <red>255</red>
299                     <green>255</green>
300                     <blue>255</blue>
301                    </color>
302                   </brush>
303                  </colorrole>
304                  <colorrole role="Window">
305                   <brush brushstyle="SolidPattern">
306                    <color alpha="255">
307                     <red>0</red>
308                     <green>239</green>
309                     <blue>219</blue>
310                    </color>
311                   </brush>
312                  </colorrole>
313                 </active>
314                 <inactive>
315                  <colorrole role="Base">
316                   <brush brushstyle="SolidPattern">
317                    <color alpha="255">
318                     <red>255</red>
319                     <green>255</green>
320                     <blue>255</blue>
321                    </color>
322                   </brush>
323                  </colorrole>
324                  <colorrole role="Window">
325                   <brush brushstyle="SolidPattern">
326                    <color alpha="255">
327                     <red>0</red>
328                     <green>239</green>
329                     <blue>219</blue>
330                    </color>
331                   </brush>
332                  </colorrole>
333                 </inactive>
334                 <disabled>
335                  <colorrole role="Base">
336                   <brush brushstyle="SolidPattern">
337                    <color alpha="255">
338                     <red>0</red>
339                     <green>239</green>
340                     <blue>219</blue>
341                    </color>
342                   </brush>
343                  </colorrole>
344                  <colorrole role="Window">
345                   <brush brushstyle="SolidPattern">
346                    <color alpha="255">
347                     <red>0</red>
348                     <green>239</green>
349                     <blue>219</blue>
350                    </color>
351                   </brush>
352                  </colorrole>
353                 </disabled>
354                </palette>
355               </property>
356               <property name="autoFillBackground">
357                <bool>true</bool>
358               </property>
359              </widget>
360             </item>
361            </layout>
362           </item>
363           <item>
364            <widget class="QPushButton" name="reset_meters_button">
365             <property name="maximumSize">
366              <size>
367               <width>30</width>
368               <height>20</height>
369              </size>
370             </property>
371             <property name="text">
372              <string>RST</string>
373             </property>
374             <property name="checked">
375              <bool>false</bool>
376             </property>
377            </widget>
378           </item>
379          </layout>
380         </item>
381        </layout>
382       </item>
383       <item>
384        <layout class="QGridLayout" name="audiostrip">
385         <property name="bottomMargin">
386          <number>0</number>
387         </property>
388         <item row="1" column="1">
389          <widget class="QDial" name="gainstaging_knob">
390           <property name="minimumSize">
391            <size>
392             <width>64</width>
393             <height>64</height>
394            </size>
395           </property>
396           <property name="maximumSize">
397            <size>
398             <width>65536</width>
399             <height>64</height>
400            </size>
401           </property>
402           <property name="minimum">
403            <number>-300</number>
404           </property>
405           <property name="maximum">
406            <number>300</number>
407           </property>
408           <property name="notchTarget">
409            <double>60.000000000000000</double>
410           </property>
411           <property name="notchesVisible">
412            <bool>true</bool>
413           </property>
414          </widget>
415         </item>
416         <item row="2" column="1">
417          <widget class="QLabel" name="gainstaging_db_display">
418           <property name="text">
419            <string>-0.0 dB</string>
420           </property>
421           <property name="alignment">
422            <set>Qt::AlignCenter</set>
423           </property>
424          </widget>
425         </item>
426         <item row="0" column="1">
427          <widget class="QLabel" name="gainstaging_label">
428           <property name="text">
429            <string>Gain staging</string>
430           </property>
431           <property name="alignment">
432            <set>Qt::AlignCenter</set>
433           </property>
434          </widget>
435         </item>
436         <item row="1" column="2">
437          <spacer name="horizontalSpacer_2">
438           <property name="orientation">
439            <enum>Qt::Horizontal</enum>
440           </property>
441           <property name="sizeHint" stdset="0">
442            <size>
443             <width>40</width>
444             <height>20</height>
445            </size>
446           </property>
447          </spacer>
448         </item>
449         <item row="3" column="1">
450          <widget class="QCheckBox" name="gainstaging_auto_checkbox">
451           <property name="text">
452            <string>Auto</string>
453           </property>
454          </widget>
455         </item>
456         <item row="1" column="0">
457          <widget class="QDial" name="locut_cutoff_knob">
458           <property name="sizePolicy">
459            <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
460             <horstretch>0</horstretch>
461             <verstretch>0</verstretch>
462            </sizepolicy>
463           </property>
464           <property name="minimumSize">
465            <size>
466             <width>64</width>
467             <height>64</height>
468            </size>
469           </property>
470           <property name="maximumSize">
471            <size>
472             <width>65536</width>
473             <height>64</height>
474            </size>
475           </property>
476           <property name="maximum">
477            <number>60</number>
478           </property>
479           <property name="value">
480            <number>29</number>
481           </property>
482          </widget>
483         </item>
484         <item row="0" column="0">
485          <widget class="QLabel" name="label_3">
486           <property name="text">
487            <string>Lo-cut (24dB/oct)</string>
488           </property>
489          </widget>
490         </item>
491         <item row="2" column="0">
492          <widget class="QLabel" name="locut_cutoff_display">
493           <property name="text">
494            <string>150 Hz</string>
495           </property>
496           <property name="alignment">
497            <set>Qt::AlignCenter</set>
498           </property>
499          </widget>
500         </item>
501         <item row="3" column="0">
502          <widget class="QComboBox" name="comboBox">
503           <property name="currentText">
504            <string/>
505           </property>
506          </widget>
507         </item>
508        </layout>
509       </item>
510       <item>
511        <spacer name="verticalSpacer">
512         <property name="orientation">
513          <enum>Qt::Vertical</enum>
514         </property>
515         <property name="sizeType">
516          <enum>QSizePolicy::Preferred</enum>
517         </property>
518         <property name="sizeHint" stdset="0">
519          <size>
520           <width>20</width>
521           <height>40</height>
522          </size>
523         </property>
524        </spacer>
525       </item>
526       <item>
527        <layout class="QHBoxLayout" name="preview_displays" stretch="0">
528         <property name="topMargin">
529          <number>0</number>
530         </property>
531         <item>
532          <spacer name="horizontalSpacer">
533           <property name="orientation">
534            <enum>Qt::Horizontal</enum>
535           </property>
536           <property name="sizeType">
537            <enum>QSizePolicy::Preferred</enum>
538           </property>
539           <property name="sizeHint" stdset="0">
540            <size>
541             <width>0</width>
542             <height>40</height>
543            </size>
544           </property>
545          </spacer>
546         </item>
547        </layout>
548       </item>
549      </layout>
550     </item>
551    </layout>
552   </widget>
553   <widget class="QMenuBar" name="menuBar">
554    <property name="geometry">
555     <rect>
556      <x>0</x>
557      <y>0</y>
558      <width>1089</width>
559      <height>19</height>
560     </rect>
561    </property>
562    <widget class="QMenu" name="menuWhat">
563     <property name="title">
564      <string>Video</string>
565     </property>
566     <addaction name="exit_action"/>
567    </widget>
568    <addaction name="menuWhat"/>
569   </widget>
570   <action name="exit_action">
571    <property name="text">
572     <string>Exit</string>
573    </property>
574   </action>
575  </widget>
576  <layoutdefault spacing="6" margin="11"/>
577  <customwidgets>
578   <customwidget>
579    <class>GLWidget</class>
580    <extends>QWidget</extends>
581    <header>glwidget.h</header>
582   </customwidget>
583   <customwidget>
584    <class>VUMeter</class>
585    <extends>QWidget</extends>
586    <header>vumeter.h</header>
587    <container>1</container>
588   </customwidget>
589   <customwidget>
590    <class>LRAMeter</class>
591    <extends>QWidget</extends>
592    <header>lrameter.h</header>
593    <container>1</container>
594   </customwidget>
595  </customwidgets>
596  <resources/>
597  <connections/>
598 </ui>