]> git.sesse.net Git - nageru/blob - ui_mainwindow.ui
Add the beginnings of a loudness range meter.
[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="centralWidget">
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">
29       <item>
30        <layout class="QHBoxLayout" name="me_displays" stretch="0,0,0,0,0">
31         <item>
32          <layout class="QVBoxLayout" name="verticalLayout_3">
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               <zorder>peak_display</zorder>
247               <zorder>peak_display</zorder>
248              </widget>
249             </item>
250            </layout>
251           </item>
252           <item>
253            <widget class="QLabel" name="peak_display">
254             <property name="minimumSize">
255              <size>
256               <width>30</width>
257               <height>0</height>
258              </size>
259             </property>
260             <property name="text">
261              <string>-0.0</string>
262             </property>
263             <property name="alignment">
264              <set>Qt::AlignCenter</set>
265             </property>
266            </widget>
267           </item>
268          </layout>
269         </item>
270         <item>
271          <layout class="QVBoxLayout" name="lra_vertical_layout" stretch="1,0">
272           <property name="spacing">
273            <number>3</number>
274           </property>
275           <property name="leftMargin">
276            <number>0</number>
277           </property>
278           <item>
279            <layout class="QHBoxLayout" name="horizontalLayout_2">
280             <item>
281              <widget class="LRAMeter" name="lra_meter" native="true">
282               <property name="sizePolicy">
283                <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
284                 <horstretch>0</horstretch>
285                 <verstretch>0</verstretch>
286                </sizepolicy>
287               </property>
288               <property name="minimumSize">
289                <size>
290                 <width>24</width>
291                 <height>0</height>
292                </size>
293               </property>
294               <property name="palette">
295                <palette>
296                 <active>
297                  <colorrole role="Base">
298                   <brush brushstyle="SolidPattern">
299                    <color alpha="255">
300                     <red>255</red>
301                     <green>255</green>
302                     <blue>255</blue>
303                    </color>
304                   </brush>
305                  </colorrole>
306                  <colorrole role="Window">
307                   <brush brushstyle="SolidPattern">
308                    <color alpha="255">
309                     <red>0</red>
310                     <green>239</green>
311                     <blue>219</blue>
312                    </color>
313                   </brush>
314                  </colorrole>
315                 </active>
316                 <inactive>
317                  <colorrole role="Base">
318                   <brush brushstyle="SolidPattern">
319                    <color alpha="255">
320                     <red>255</red>
321                     <green>255</green>
322                     <blue>255</blue>
323                    </color>
324                   </brush>
325                  </colorrole>
326                  <colorrole role="Window">
327                   <brush brushstyle="SolidPattern">
328                    <color alpha="255">
329                     <red>0</red>
330                     <green>239</green>
331                     <blue>219</blue>
332                    </color>
333                   </brush>
334                  </colorrole>
335                 </inactive>
336                 <disabled>
337                  <colorrole role="Base">
338                   <brush brushstyle="SolidPattern">
339                    <color alpha="255">
340                     <red>0</red>
341                     <green>239</green>
342                     <blue>219</blue>
343                    </color>
344                   </brush>
345                  </colorrole>
346                  <colorrole role="Window">
347                   <brush brushstyle="SolidPattern">
348                    <color alpha="255">
349                     <red>0</red>
350                     <green>239</green>
351                     <blue>219</blue>
352                    </color>
353                   </brush>
354                  </colorrole>
355                 </disabled>
356                </palette>
357               </property>
358               <property name="autoFillBackground">
359                <bool>true</bool>
360               </property>
361              </widget>
362             </item>
363            </layout>
364           </item>
365           <item>
366            <widget class="QPushButton" name="pushButton">
367             <property name="maximumSize">
368              <size>
369               <width>30</width>
370               <height>20</height>
371              </size>
372             </property>
373             <property name="text">
374              <string>RST</string>
375             </property>
376             <property name="checked">
377              <bool>false</bool>
378             </property>
379            </widget>
380           </item>
381          </layout>
382         </item>
383        </layout>
384       </item>
385       <item>
386        <spacer name="verticalSpacer">
387         <property name="orientation">
388          <enum>Qt::Vertical</enum>
389         </property>
390         <property name="sizeHint" stdset="0">
391          <size>
392           <width>20</width>
393           <height>40</height>
394          </size>
395         </property>
396        </spacer>
397       </item>
398       <item>
399        <layout class="QHBoxLayout" name="preview_displays">
400         <property name="topMargin">
401          <number>0</number>
402         </property>
403         <item>
404          <widget class="GLWidget" name="preview1" native="true">
405           <property name="sizePolicy">
406            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
407             <horstretch>1</horstretch>
408             <verstretch>1</verstretch>
409            </sizepolicy>
410           </property>
411          </widget>
412         </item>
413         <item>
414          <widget class="GLWidget" name="preview2" native="true">
415           <property name="sizePolicy">
416            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
417             <horstretch>1</horstretch>
418             <verstretch>1</verstretch>
419            </sizepolicy>
420           </property>
421          </widget>
422         </item>
423         <item>
424          <widget class="GLWidget" name="preview3" native="true">
425           <property name="sizePolicy">
426            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
427             <horstretch>1</horstretch>
428             <verstretch>1</verstretch>
429            </sizepolicy>
430           </property>
431          </widget>
432         </item>
433         <item>
434          <widget class="QGLWidget" name="preview4" native="true">
435           <property name="sizePolicy">
436            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
437             <horstretch>1</horstretch>
438             <verstretch>1</verstretch>
439            </sizepolicy>
440           </property>
441          </widget>
442         </item>
443         <item>
444          <spacer name="horizontalSpacer">
445           <property name="orientation">
446            <enum>Qt::Horizontal</enum>
447           </property>
448           <property name="sizeHint" stdset="0">
449            <size>
450             <width>0</width>
451             <height>0</height>
452            </size>
453           </property>
454          </spacer>
455         </item>
456        </layout>
457       </item>
458      </layout>
459     </item>
460    </layout>
461   </widget>
462   <widget class="QMenuBar" name="menuBar">
463    <property name="geometry">
464     <rect>
465      <x>0</x>
466      <y>0</y>
467      <width>1089</width>
468      <height>19</height>
469     </rect>
470    </property>
471    <widget class="QMenu" name="menuWhat">
472     <property name="title">
473      <string>Video</string>
474     </property>
475     <addaction name="exit_action"/>
476    </widget>
477    <addaction name="menuWhat"/>
478   </widget>
479   <action name="exit_action">
480    <property name="text">
481     <string>Exit</string>
482    </property>
483   </action>
484  </widget>
485  <layoutdefault spacing="6" margin="11"/>
486  <customwidgets>
487   <customwidget>
488    <class>GLWidget</class>
489    <extends>QWidget</extends>
490    <header>glwidget.h</header>
491   </customwidget>
492   <customwidget>
493    <class>QGLWidget</class>
494    <extends>QWidget</extends>
495    <header>qglwidget.h</header>
496   </customwidget>
497   <customwidget>
498    <class>VUMeter</class>
499    <extends>QWidget</extends>
500    <header>vumeter.h</header>
501    <container>1</container>
502   </customwidget>
503   <customwidget>
504    <class>LRAMeter</class>
505    <extends>QWidget</extends>
506    <header>lrameter.h</header>
507    <container>1</container>
508   </customwidget>
509  </customwidgets>
510  <resources/>
511  <connections/>
512 </ui>