]> git.sesse.net Git - nageru/blob - ui_mainwindow.ui
Add a peak display.
[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">
142           <property name="leftMargin">
143            <number>0</number>
144           </property>
145           <item>
146            <widget class="VUMeter" name="vu_meter" native="true">
147             <property name="sizePolicy">
148              <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
149               <horstretch>0</horstretch>
150               <verstretch>1</verstretch>
151              </sizepolicy>
152             </property>
153             <property name="minimumSize">
154              <size>
155               <width>20</width>
156               <height>0</height>
157              </size>
158             </property>
159             <zorder>peak_display</zorder>
160             <zorder>peak_display</zorder>
161            </widget>
162           </item>
163           <item>
164            <widget class="QLabel" name="peak_display">
165             <property name="text">
166              <string>-0.0</string>
167             </property>
168            </widget>
169           </item>
170          </layout>
171         </item>
172        </layout>
173       </item>
174       <item>
175        <spacer name="verticalSpacer">
176         <property name="orientation">
177          <enum>Qt::Vertical</enum>
178         </property>
179         <property name="sizeHint" stdset="0">
180          <size>
181           <width>20</width>
182           <height>40</height>
183          </size>
184         </property>
185        </spacer>
186       </item>
187       <item>
188        <layout class="QHBoxLayout" name="preview_displays">
189         <property name="topMargin">
190          <number>0</number>
191         </property>
192         <item>
193          <widget class="GLWidget" name="preview1" native="true">
194           <property name="sizePolicy">
195            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
196             <horstretch>1</horstretch>
197             <verstretch>1</verstretch>
198            </sizepolicy>
199           </property>
200          </widget>
201         </item>
202         <item>
203          <widget class="GLWidget" name="preview2" native="true">
204           <property name="sizePolicy">
205            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
206             <horstretch>1</horstretch>
207             <verstretch>1</verstretch>
208            </sizepolicy>
209           </property>
210          </widget>
211         </item>
212         <item>
213          <widget class="GLWidget" name="preview3" native="true">
214           <property name="sizePolicy">
215            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
216             <horstretch>1</horstretch>
217             <verstretch>1</verstretch>
218            </sizepolicy>
219           </property>
220          </widget>
221         </item>
222         <item>
223          <widget class="QGLWidget" name="preview4" native="true">
224           <property name="sizePolicy">
225            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
226             <horstretch>1</horstretch>
227             <verstretch>1</verstretch>
228            </sizepolicy>
229           </property>
230          </widget>
231         </item>
232         <item>
233          <spacer name="horizontalSpacer">
234           <property name="orientation">
235            <enum>Qt::Horizontal</enum>
236           </property>
237           <property name="sizeHint" stdset="0">
238            <size>
239             <width>0</width>
240             <height>0</height>
241            </size>
242           </property>
243          </spacer>
244         </item>
245        </layout>
246       </item>
247      </layout>
248     </item>
249    </layout>
250   </widget>
251   <widget class="QMenuBar" name="menuBar">
252    <property name="geometry">
253     <rect>
254      <x>0</x>
255      <y>0</y>
256      <width>1089</width>
257      <height>19</height>
258     </rect>
259    </property>
260    <widget class="QMenu" name="menuWhat">
261     <property name="title">
262      <string>Video</string>
263     </property>
264     <addaction name="exit_action"/>
265    </widget>
266    <addaction name="menuWhat"/>
267   </widget>
268   <action name="exit_action">
269    <property name="text">
270     <string>Exit</string>
271    </property>
272   </action>
273  </widget>
274  <layoutdefault spacing="6" margin="11"/>
275  <customwidgets>
276   <customwidget>
277    <class>GLWidget</class>
278    <extends>QWidget</extends>
279    <header>glwidget.h</header>
280   </customwidget>
281   <customwidget>
282    <class>QGLWidget</class>
283    <extends>QWidget</extends>
284    <header>qglwidget.h</header>
285   </customwidget>
286   <customwidget>
287    <class>VUMeter</class>
288    <extends>QWidget</extends>
289    <header>vumeter.h</header>
290    <container>1</container>
291   </customwidget>
292  </customwidgets>
293  <resources/>
294  <connections/>
295 </ui>