]> git.sesse.net Git - nageru/blob - ui_analyzer.ui
Support audio-only FFmpeg inputs. Somewhat wonky, though.
[nageru] / ui_analyzer.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>Analyzer</class>
4  <widget class="QMainWindow" name="Analyzer">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>845</width>
10     <height>472</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Analyzer</string>
15   </property>
16   <widget class="QWidget" name="centralwidget">
17    <layout class="QHBoxLayout" name="horizontalLayout_3" stretch="2,3">
18     <item>
19      <layout class="QVBoxLayout" name="left_pane" stretch="0,1,0,0,1,0,0">
20       <item>
21        <spacer name="verticalSpacer">
22         <property name="orientation">
23          <enum>Qt::Vertical</enum>
24         </property>
25         <property name="sizeHint" stdset="0">
26          <size>
27           <width>20</width>
28           <height>5</height>
29          </size>
30         </property>
31        </spacer>
32       </item>
33       <item>
34        <layout class="QHBoxLayout" name="display_centerer" stretch="0,1,0">
35         <property name="spacing">
36          <number>0</number>
37         </property>
38         <item>
39          <spacer name="display_left_spacer">
40           <property name="orientation">
41            <enum>Qt::Horizontal</enum>
42           </property>
43           <property name="sizeHint" stdset="0">
44            <size>
45             <width>5</width>
46             <height>20</height>
47            </size>
48           </property>
49          </spacer>
50         </item>
51         <item>
52          <widget class="GLWidget" name="display" native="true">
53           <property name="enabled">
54            <bool>true</bool>
55           </property>
56           <property name="autoFillBackground">
57            <bool>false</bool>
58           </property>
59           <property name="styleSheet">
60            <string notr="true">background: rgb(233, 185, 110)</string>
61           </property>
62          </widget>
63         </item>
64         <item>
65          <spacer name="display_right_spacer">
66           <property name="orientation">
67            <enum>Qt::Horizontal</enum>
68           </property>
69           <property name="sizeHint" stdset="0">
70            <size>
71             <width>5</width>
72             <height>20</height>
73            </size>
74           </property>
75          </spacer>
76         </item>
77        </layout>
78       </item>
79       <item>
80        <layout class="QHBoxLayout" name="grab_horizontal_layout" stretch="1">
81         <item>
82          <widget class="QComboBox" name="input_box"/>
83         </item>
84        </layout>
85       </item>
86       <item>
87        <layout class="QHBoxLayout" name="horizontalLayout_4" stretch="0,1,0">
88         <item>
89          <widget class="QLabel" name="label">
90           <property name="text">
91            <string>Grab every:</string>
92           </property>
93          </widget>
94         </item>
95         <item>
96          <widget class="QComboBox" name="grab_frequency_box"/>
97         </item>
98         <item>
99          <widget class="QPushButton" name="grab_btn">
100           <property name="text">
101            <string>Grab</string>
102           </property>
103          </widget>
104         </item>
105        </layout>
106       </item>
107       <item>
108        <widget class="QCustomPlot" name="histogram" native="true">
109         <property name="autoFillBackground">
110          <bool>false</bool>
111         </property>
112         <property name="styleSheet">
113          <string notr="true">background: rgb(173, 127, 168)</string>
114         </property>
115        </widget>
116       </item>
117       <item>
118        <widget class="QLabel" name="histogram_label">
119         <property name="sizePolicy">
120          <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
121           <horstretch>0</horstretch>
122           <verstretch>0</verstretch>
123          </sizepolicy>
124         </property>
125         <property name="text">
126          <string>RGB histogram</string>
127         </property>
128         <property name="alignment">
129          <set>Qt::AlignCenter</set>
130         </property>
131        </widget>
132       </item>
133       <item>
134        <spacer name="verticalSpacer_2">
135         <property name="orientation">
136          <enum>Qt::Vertical</enum>
137         </property>
138         <property name="sizeHint" stdset="0">
139          <size>
140           <width>20</width>
141           <height>5</height>
142          </size>
143         </property>
144        </spacer>
145       </item>
146      </layout>
147     </item>
148     <item>
149      <layout class="QVBoxLayout" name="right_pane" stretch="0,1,0,0,0,0">
150       <item>
151        <spacer name="verticalSpacer_3">
152         <property name="orientation">
153          <enum>Qt::Vertical</enum>
154         </property>
155         <property name="sizeHint" stdset="0">
156          <size>
157           <width>20</width>
158           <height>5</height>
159          </size>
160         </property>
161        </spacer>
162       </item>
163       <item>
164        <layout class="QHBoxLayout" name="grabbed_frame_enterer" stretch="0,1,0">
165         <property name="spacing">
166          <number>0</number>
167         </property>
168         <item>
169          <spacer name="grabbed_frame_left_spacer">
170           <property name="orientation">
171            <enum>Qt::Horizontal</enum>
172           </property>
173           <property name="sizeHint" stdset="0">
174            <size>
175             <width>5</width>
176             <height>20</height>
177            </size>
178           </property>
179          </spacer>
180         </item>
181         <item>
182          <widget class="QLabel" name="grabbed_frame_label">
183           <property name="sizePolicy">
184            <sizepolicy hsizetype="Ignored" vsizetype="Ignored">
185             <horstretch>1</horstretch>
186             <verstretch>1</verstretch>
187            </sizepolicy>
188           </property>
189           <property name="cursor">
190            <cursorShape>CrossCursor</cursorShape>
191           </property>
192           <property name="mouseTracking">
193            <bool>true</bool>
194           </property>
195           <property name="autoFillBackground">
196            <bool>false</bool>
197           </property>
198           <property name="styleSheet">
199            <string notr="true">background: color(0,0,0)</string>
200           </property>
201           <property name="text">
202            <string/>
203           </property>
204           <property name="scaledContents">
205            <bool>true</bool>
206           </property>
207          </widget>
208         </item>
209         <item>
210          <spacer name="grabbed_frame_right_spacer">
211           <property name="orientation">
212            <enum>Qt::Horizontal</enum>
213           </property>
214           <property name="sizeHint" stdset="0">
215            <size>
216             <width>5</width>
217             <height>20</height>
218            </size>
219           </property>
220          </spacer>
221         </item>
222        </layout>
223       </item>
224       <item>
225        <widget class="QLabel" name="grabbed_frame_sublabel">
226         <property name="text">
227          <string>Grabbed frame</string>
228         </property>
229         <property name="alignment">
230          <set>Qt::AlignCenter</set>
231         </property>
232        </widget>
233       </item>
234       <item>
235        <widget class="QLabel" name="coord_label">
236         <property name="text">
237          <string>Selected coordinate (x,y): (none)</string>
238         </property>
239         <property name="alignment">
240          <set>Qt::AlignCenter</set>
241         </property>
242        </widget>
243       </item>
244       <item>
245        <layout class="QHBoxLayout" name="color_hbox">
246         <item>
247          <layout class="QVBoxLayout" name="verticalLayout_4">
248           <item>
249            <widget class="QLabel" name="label_3">
250             <property name="text">
251              <string/>
252             </property>
253            </widget>
254           </item>
255          </layout>
256         </item>
257         <item>
258          <layout class="QVBoxLayout" name="verticalLayout_3">
259           <item>
260            <widget class="QLabel" name="label_12">
261             <property name="text">
262              <string>Color (8-bit sRGB):</string>
263             </property>
264             <property name="alignment">
265              <set>Qt::AlignCenter</set>
266             </property>
267            </widget>
268           </item>
269           <item>
270            <layout class="QGridLayout" name="gridLayout">
271             <item row="1" column="0">
272              <widget class="QLabel" name="label_6">
273               <property name="text">
274                <string>Green:</string>
275               </property>
276              </widget>
277             </item>
278             <item row="1" column="1">
279              <widget class="QLabel" name="green_label">
280               <property name="text">
281                <string>—</string>
282               </property>
283              </widget>
284             </item>
285             <item row="2" column="1">
286              <widget class="QLabel" name="blue_label">
287               <property name="text">
288                <string>—</string>
289               </property>
290              </widget>
291             </item>
292             <item row="3" column="0">
293              <widget class="QLabel" name="label_2">
294               <property name="text">
295                <string>Hex:</string>
296               </property>
297              </widget>
298             </item>
299             <item row="0" column="1">
300              <widget class="QLabel" name="red_label">
301               <property name="text">
302                <string>—</string>
303               </property>
304              </widget>
305             </item>
306             <item row="2" column="0">
307              <widget class="QLabel" name="label_7">
308               <property name="text">
309                <string>Blue:</string>
310               </property>
311              </widget>
312             </item>
313             <item row="3" column="1">
314              <widget class="QLabel" name="hex_label">
315               <property name="text">
316                <string>#—</string>
317               </property>
318              </widget>
319             </item>
320             <item row="0" column="0">
321              <widget class="QLabel" name="label_5">
322               <property name="text">
323                <string>Red:</string>
324               </property>
325              </widget>
326             </item>
327            </layout>
328           </item>
329          </layout>
330         </item>
331        </layout>
332       </item>
333       <item>
334        <spacer name="verticalSpacer_4">
335         <property name="orientation">
336          <enum>Qt::Vertical</enum>
337         </property>
338         <property name="sizeHint" stdset="0">
339          <size>
340           <width>20</width>
341           <height>5</height>
342          </size>
343         </property>
344        </spacer>
345       </item>
346      </layout>
347     </item>
348    </layout>
349   </widget>
350  </widget>
351  <customwidgets>
352   <customwidget>
353    <class>GLWidget</class>
354    <extends>QWidget</extends>
355    <header>glwidget.h</header>
356   </customwidget>
357   <customwidget>
358    <class>QCustomPlot</class>
359    <extends>QWidget</extends>
360    <header>qcustomplot.h</header>
361    <container>1</container>
362   </customwidget>
363  </customwidgets>
364  <resources/>
365  <connections/>
366 </ui>