]> git.sesse.net Git - nageru/blob - ui_mainwindow.ui
Various VU meter layout tweaks.
[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>MainWindow</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">
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="verticalLayout_4" stretch="1,0">
142           <property name="leftMargin">
143            <number>0</number>
144           </property>
145           <item>
146            <layout class="QHBoxLayout" name="horizontalLayout">
147             <property name="bottomMargin">
148              <number>0</number>
149             </property>
150             <item>
151              <widget class="VUMeter" name="vu_meter" native="true">
152               <property name="sizePolicy">
153                <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
154                 <horstretch>0</horstretch>
155                 <verstretch>1</verstretch>
156                </sizepolicy>
157               </property>
158               <property name="minimumSize">
159                <size>
160                 <width>16</width>
161                 <height>0</height>
162                </size>
163               </property>
164               <property name="sizeIncrement">
165                <size>
166                 <width>1</width>
167                 <height>0</height>
168                </size>
169               </property>
170               <property name="baseSize">
171                <size>
172                 <width>0</width>
173                 <height>0</height>
174                </size>
175               </property>
176               <property name="palette">
177                <palette>
178                 <active>
179                  <colorrole role="Base">
180                   <brush brushstyle="SolidPattern">
181                    <color alpha="255">
182                     <red>255</red>
183                     <green>255</green>
184                     <blue>255</blue>
185                    </color>
186                   </brush>
187                  </colorrole>
188                  <colorrole role="Window">
189                   <brush brushstyle="SolidPattern">
190                    <color alpha="255">
191                     <red>5</red>
192                     <green>239</green>
193                     <blue>111</blue>
194                    </color>
195                   </brush>
196                  </colorrole>
197                 </active>
198                 <inactive>
199                  <colorrole role="Base">
200                   <brush brushstyle="SolidPattern">
201                    <color alpha="255">
202                     <red>255</red>
203                     <green>255</green>
204                     <blue>255</blue>
205                    </color>
206                   </brush>
207                  </colorrole>
208                  <colorrole role="Window">
209                   <brush brushstyle="SolidPattern">
210                    <color alpha="255">
211                     <red>5</red>
212                     <green>239</green>
213                     <blue>111</blue>
214                    </color>
215                   </brush>
216                  </colorrole>
217                 </inactive>
218                 <disabled>
219                  <colorrole role="Base">
220                   <brush brushstyle="SolidPattern">
221                    <color alpha="255">
222                     <red>5</red>
223                     <green>239</green>
224                     <blue>111</blue>
225                    </color>
226                   </brush>
227                  </colorrole>
228                  <colorrole role="Window">
229                   <brush brushstyle="SolidPattern">
230                    <color alpha="255">
231                     <red>5</red>
232                     <green>239</green>
233                     <blue>111</blue>
234                    </color>
235                   </brush>
236                  </colorrole>
237                 </disabled>
238                </palette>
239               </property>
240               <property name="autoFillBackground">
241                <bool>true</bool>
242               </property>
243               <zorder>peak_display</zorder>
244               <zorder>peak_display</zorder>
245              </widget>
246             </item>
247            </layout>
248           </item>
249           <item>
250            <widget class="QLabel" name="peak_display">
251             <property name="minimumSize">
252              <size>
253               <width>30</width>
254               <height>0</height>
255              </size>
256             </property>
257             <property name="text">
258              <string>-0.0</string>
259             </property>
260             <property name="alignment">
261              <set>Qt::AlignCenter</set>
262             </property>
263            </widget>
264           </item>
265          </layout>
266         </item>
267        </layout>
268       </item>
269       <item>
270        <spacer name="verticalSpacer">
271         <property name="orientation">
272          <enum>Qt::Vertical</enum>
273         </property>
274         <property name="sizeHint" stdset="0">
275          <size>
276           <width>20</width>
277           <height>40</height>
278          </size>
279         </property>
280        </spacer>
281       </item>
282       <item>
283        <layout class="QHBoxLayout" name="preview_displays">
284         <property name="topMargin">
285          <number>0</number>
286         </property>
287         <item>
288          <widget class="GLWidget" name="preview1" native="true">
289           <property name="sizePolicy">
290            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
291             <horstretch>1</horstretch>
292             <verstretch>1</verstretch>
293            </sizepolicy>
294           </property>
295          </widget>
296         </item>
297         <item>
298          <widget class="GLWidget" name="preview2" native="true">
299           <property name="sizePolicy">
300            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
301             <horstretch>1</horstretch>
302             <verstretch>1</verstretch>
303            </sizepolicy>
304           </property>
305          </widget>
306         </item>
307         <item>
308          <widget class="GLWidget" name="preview3" native="true">
309           <property name="sizePolicy">
310            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
311             <horstretch>1</horstretch>
312             <verstretch>1</verstretch>
313            </sizepolicy>
314           </property>
315          </widget>
316         </item>
317         <item>
318          <widget class="QGLWidget" name="preview4" native="true">
319           <property name="sizePolicy">
320            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
321             <horstretch>1</horstretch>
322             <verstretch>1</verstretch>
323            </sizepolicy>
324           </property>
325          </widget>
326         </item>
327         <item>
328          <spacer name="horizontalSpacer">
329           <property name="orientation">
330            <enum>Qt::Horizontal</enum>
331           </property>
332           <property name="sizeHint" stdset="0">
333            <size>
334             <width>0</width>
335             <height>0</height>
336            </size>
337           </property>
338          </spacer>
339         </item>
340        </layout>
341       </item>
342      </layout>
343     </item>
344    </layout>
345   </widget>
346   <widget class="QMenuBar" name="menuBar">
347    <property name="geometry">
348     <rect>
349      <x>0</x>
350      <y>0</y>
351      <width>1089</width>
352      <height>19</height>
353     </rect>
354    </property>
355    <widget class="QMenu" name="menuWhat">
356     <property name="title">
357      <string>Video</string>
358     </property>
359     <addaction name="exit_action"/>
360    </widget>
361    <addaction name="menuWhat"/>
362   </widget>
363   <action name="exit_action">
364    <property name="text">
365     <string>Exit</string>
366    </property>
367   </action>
368  </widget>
369  <layoutdefault spacing="6" margin="11"/>
370  <customwidgets>
371   <customwidget>
372    <class>GLWidget</class>
373    <extends>QWidget</extends>
374    <header>glwidget.h</header>
375   </customwidget>
376   <customwidget>
377    <class>QGLWidget</class>
378    <extends>QWidget</extends>
379    <header>qglwidget.h</header>
380   </customwidget>
381   <customwidget>
382    <class>VUMeter</class>
383    <extends>QWidget</extends>
384    <header>vumeter.h</header>
385    <container>1</container>
386   </customwidget>
387  </customwidgets>
388  <resources/>
389  <connections/>
390 </ui>