]> git.sesse.net Git - nageru/blob - ui_mainwindow.ui
Set pixel format on contexts we create; fixes issues with Qt 5.5.1.
[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            <layout class="QHBoxLayout" name="horizontalLayout_3"/>
48           </item>
49           <item>
50            <widget class="QLabel" name="label_preview">
51             <property name="text">
52              <string>Preview</string>
53             </property>
54             <property name="alignment">
55              <set>Qt::AlignCenter</set>
56             </property>
57            </widget>
58           </item>
59          </layout>
60         </item>
61         <item>
62          <layout class="QVBoxLayout" name="verticalLayout_2">
63           <item>
64            <widget class="QPushButton" name="transition_btn1">
65             <property name="minimumSize">
66              <size>
67               <width>115</width>
68               <height>0</height>
69              </size>
70             </property>
71             <property name="text">
72              <string>Cut</string>
73             </property>
74            </widget>
75           </item>
76           <item>
77            <widget class="QPushButton" name="transition_btn2">
78             <property name="minimumSize">
79              <size>
80               <width>115</width>
81               <height>0</height>
82              </size>
83             </property>
84             <property name="text">
85              <string>Fade</string>
86             </property>
87            </widget>
88           </item>
89           <item>
90            <widget class="QPushButton" name="transition_btn3">
91             <property name="minimumSize">
92              <size>
93               <width>115</width>
94               <height>0</height>
95              </size>
96             </property>
97             <property name="text">
98              <string>Wipe</string>
99             </property>
100            </widget>
101           </item>
102          </layout>
103         </item>
104         <item>
105          <layout class="QVBoxLayout" name="verticalLayout_5">
106           <property name="leftMargin">
107            <number>0</number>
108           </property>
109           <item>
110            <widget class="GLWidget" name="me_live" native="true">
111             <property name="sizePolicy">
112              <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
113               <horstretch>1</horstretch>
114               <verstretch>1</verstretch>
115              </sizepolicy>
116             </property>
117             <property name="sizeIncrement">
118              <size>
119               <width>16</width>
120               <height>9</height>
121              </size>
122             </property>
123             <property name="baseSize">
124              <size>
125               <width>16</width>
126               <height>9</height>
127              </size>
128             </property>
129            </widget>
130           </item>
131           <item>
132            <widget class="QLabel" name="label_live">
133             <property name="text">
134              <string>Live</string>
135             </property>
136             <property name="alignment">
137              <set>Qt::AlignCenter</set>
138             </property>
139            </widget>
140           </item>
141          </layout>
142         </item>
143         <item>
144          <layout class="QVBoxLayout" name="vu_meter_vertical_layout" stretch="1,0">
145           <property name="leftMargin">
146            <number>0</number>
147           </property>
148           <property name="bottomMargin">
149            <number>4</number>
150           </property>
151           <item>
152            <layout class="QHBoxLayout" name="horizontalLayout">
153             <property name="bottomMargin">
154              <number>0</number>
155             </property>
156             <item>
157              <widget class="VUMeter" name="vu_meter" native="true">
158               <property name="sizePolicy">
159                <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
160                 <horstretch>0</horstretch>
161                 <verstretch>1</verstretch>
162                </sizepolicy>
163               </property>
164               <property name="minimumSize">
165                <size>
166                 <width>16</width>
167                 <height>0</height>
168                </size>
169               </property>
170               <property name="sizeIncrement">
171                <size>
172                 <width>1</width>
173                 <height>0</height>
174                </size>
175               </property>
176               <property name="baseSize">
177                <size>
178                 <width>0</width>
179                 <height>0</height>
180                </size>
181               </property>
182               <property name="palette">
183                <palette>
184                 <active>
185                  <colorrole role="Base">
186                   <brush brushstyle="SolidPattern">
187                    <color alpha="255">
188                     <red>255</red>
189                     <green>255</green>
190                     <blue>255</blue>
191                    </color>
192                   </brush>
193                  </colorrole>
194                  <colorrole role="Window">
195                   <brush brushstyle="SolidPattern">
196                    <color alpha="255">
197                     <red>5</red>
198                     <green>239</green>
199                     <blue>111</blue>
200                    </color>
201                   </brush>
202                  </colorrole>
203                 </active>
204                 <inactive>
205                  <colorrole role="Base">
206                   <brush brushstyle="SolidPattern">
207                    <color alpha="255">
208                     <red>255</red>
209                     <green>255</green>
210                     <blue>255</blue>
211                    </color>
212                   </brush>
213                  </colorrole>
214                  <colorrole role="Window">
215                   <brush brushstyle="SolidPattern">
216                    <color alpha="255">
217                     <red>5</red>
218                     <green>239</green>
219                     <blue>111</blue>
220                    </color>
221                   </brush>
222                  </colorrole>
223                 </inactive>
224                 <disabled>
225                  <colorrole role="Base">
226                   <brush brushstyle="SolidPattern">
227                    <color alpha="255">
228                     <red>5</red>
229                     <green>239</green>
230                     <blue>111</blue>
231                    </color>
232                   </brush>
233                  </colorrole>
234                  <colorrole role="Window">
235                   <brush brushstyle="SolidPattern">
236                    <color alpha="255">
237                     <red>5</red>
238                     <green>239</green>
239                     <blue>111</blue>
240                    </color>
241                   </brush>
242                  </colorrole>
243                 </disabled>
244                </palette>
245               </property>
246               <property name="autoFillBackground">
247                <bool>true</bool>
248               </property>
249              </widget>
250             </item>
251            </layout>
252           </item>
253           <item>
254            <widget class="QLabel" name="peak_display">
255             <property name="minimumSize">
256              <size>
257               <width>30</width>
258               <height>0</height>
259              </size>
260             </property>
261             <property name="text">
262              <string>-0.0</string>
263             </property>
264             <property name="alignment">
265              <set>Qt::AlignCenter</set>
266             </property>
267            </widget>
268           </item>
269          </layout>
270         </item>
271         <item>
272          <layout class="QVBoxLayout" name="lra_vertical_layout" stretch="1,0">
273           <property name="spacing">
274            <number>3</number>
275           </property>
276           <property name="leftMargin">
277            <number>0</number>
278           </property>
279           <item>
280            <layout class="QHBoxLayout" name="horizontalLayout_2">
281             <item>
282              <widget class="LRAMeter" name="lra_meter" native="true">
283               <property name="sizePolicy">
284                <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
285                 <horstretch>0</horstretch>
286                 <verstretch>0</verstretch>
287                </sizepolicy>
288               </property>
289               <property name="minimumSize">
290                <size>
291                 <width>24</width>
292                 <height>0</height>
293                </size>
294               </property>
295               <property name="palette">
296                <palette>
297                 <active>
298                  <colorrole role="Base">
299                   <brush brushstyle="SolidPattern">
300                    <color alpha="255">
301                     <red>255</red>
302                     <green>255</green>
303                     <blue>255</blue>
304                    </color>
305                   </brush>
306                  </colorrole>
307                  <colorrole role="Window">
308                   <brush brushstyle="SolidPattern">
309                    <color alpha="255">
310                     <red>0</red>
311                     <green>239</green>
312                     <blue>219</blue>
313                    </color>
314                   </brush>
315                  </colorrole>
316                 </active>
317                 <inactive>
318                  <colorrole role="Base">
319                   <brush brushstyle="SolidPattern">
320                    <color alpha="255">
321                     <red>255</red>
322                     <green>255</green>
323                     <blue>255</blue>
324                    </color>
325                   </brush>
326                  </colorrole>
327                  <colorrole role="Window">
328                   <brush brushstyle="SolidPattern">
329                    <color alpha="255">
330                     <red>0</red>
331                     <green>239</green>
332                     <blue>219</blue>
333                    </color>
334                   </brush>
335                  </colorrole>
336                 </inactive>
337                 <disabled>
338                  <colorrole role="Base">
339                   <brush brushstyle="SolidPattern">
340                    <color alpha="255">
341                     <red>0</red>
342                     <green>239</green>
343                     <blue>219</blue>
344                    </color>
345                   </brush>
346                  </colorrole>
347                  <colorrole role="Window">
348                   <brush brushstyle="SolidPattern">
349                    <color alpha="255">
350                     <red>0</red>
351                     <green>239</green>
352                     <blue>219</blue>
353                    </color>
354                   </brush>
355                  </colorrole>
356                 </disabled>
357                </palette>
358               </property>
359               <property name="autoFillBackground">
360                <bool>true</bool>
361               </property>
362              </widget>
363             </item>
364            </layout>
365           </item>
366           <item>
367            <widget class="QPushButton" name="pushButton">
368             <property name="maximumSize">
369              <size>
370               <width>30</width>
371               <height>20</height>
372              </size>
373             </property>
374             <property name="text">
375              <string>RST</string>
376             </property>
377             <property name="checked">
378              <bool>false</bool>
379             </property>
380            </widget>
381           </item>
382          </layout>
383         </item>
384        </layout>
385       </item>
386       <item>
387        <spacer name="verticalSpacer">
388         <property name="orientation">
389          <enum>Qt::Vertical</enum>
390         </property>
391         <property name="sizeType">
392          <enum>QSizePolicy::Preferred</enum>
393         </property>
394         <property name="sizeHint" stdset="0">
395          <size>
396           <width>20</width>
397           <height>40</height>
398          </size>
399         </property>
400        </spacer>
401       </item>
402       <item>
403        <layout class="QHBoxLayout" name="preview_displays" stretch="0">
404         <property name="topMargin">
405          <number>0</number>
406         </property>
407         <item>
408          <spacer name="horizontalSpacer">
409           <property name="orientation">
410            <enum>Qt::Horizontal</enum>
411           </property>
412           <property name="sizeType">
413            <enum>QSizePolicy::Preferred</enum>
414           </property>
415           <property name="sizeHint" stdset="0">
416            <size>
417             <width>0</width>
418             <height>40</height>
419            </size>
420           </property>
421          </spacer>
422         </item>
423        </layout>
424       </item>
425      </layout>
426     </item>
427    </layout>
428   </widget>
429   <widget class="QMenuBar" name="menuBar">
430    <property name="geometry">
431     <rect>
432      <x>0</x>
433      <y>0</y>
434      <width>1089</width>
435      <height>19</height>
436     </rect>
437    </property>
438    <widget class="QMenu" name="menuWhat">
439     <property name="title">
440      <string>Video</string>
441     </property>
442     <addaction name="exit_action"/>
443    </widget>
444    <addaction name="menuWhat"/>
445   </widget>
446   <action name="exit_action">
447    <property name="text">
448     <string>Exit</string>
449    </property>
450   </action>
451  </widget>
452  <layoutdefault spacing="6" margin="11"/>
453  <customwidgets>
454   <customwidget>
455    <class>GLWidget</class>
456    <extends>QWidget</extends>
457    <header>glwidget.h</header>
458   </customwidget>
459   <customwidget>
460    <class>VUMeter</class>
461    <extends>QWidget</extends>
462    <header>vumeter.h</header>
463    <container>1</container>
464   </customwidget>
465   <customwidget>
466    <class>LRAMeter</class>
467    <extends>QWidget</extends>
468    <header>lrameter.h</header>
469    <container>1</container>
470   </customwidget>
471  </customwidgets>
472  <resources/>
473  <connections/>
474 </ui>