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