]> git.sesse.net Git - nageru/blob - ui_analyzer.ui
Implement the RGB histograms in the frame analyzer.
[nageru] / ui_analyzer.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>Analyzer</class>
4  <widget class="QDialog" name="Analyzer">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>843</width>
10     <height>450</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Dialog</string>
15   </property>
16   <widget class="GLWidget" name="display" native="true">
17    <property name="geometry">
18     <rect>
19      <x>10</x>
20      <y>10</y>
21      <width>320</width>
22      <height>180</height>
23     </rect>
24    </property>
25    <property name="autoFillBackground">
26     <bool>false</bool>
27    </property>
28    <property name="styleSheet">
29     <string notr="true">background: rgb(233, 185, 110)</string>
30    </property>
31   </widget>
32   <widget class="QComboBox" name="input_box">
33    <property name="geometry">
34     <rect>
35      <x>10</x>
36      <y>200</y>
37      <width>251</width>
38      <height>23</height>
39     </rect>
40    </property>
41   </widget>
42   <widget class="QPushButton" name="grab_btn">
43    <property name="geometry">
44     <rect>
45      <x>270</x>
46      <y>200</y>
47      <width>61</width>
48      <height>23</height>
49     </rect>
50    </property>
51    <property name="text">
52     <string>Grab</string>
53    </property>
54   </widget>
55   <widget class="QCustomPlot" name="histogram" native="true">
56    <property name="geometry">
57     <rect>
58      <x>10</x>
59      <y>240</y>
60      <width>320</width>
61      <height>180</height>
62     </rect>
63    </property>
64    <property name="autoFillBackground">
65     <bool>false</bool>
66    </property>
67    <property name="styleSheet">
68     <string notr="true">background: rgb(173, 127, 168)</string>
69    </property>
70   </widget>
71   <widget class="QLabel" name="label">
72    <property name="geometry">
73     <rect>
74      <x>370</x>
75      <y>310</y>
76      <width>421</width>
77      <height>21</height>
78     </rect>
79    </property>
80    <property name="text">
81     <string>Selected coordinate (x,y): (123,456)</string>
82    </property>
83   </widget>
84   <widget class="QLabel" name="label_3">
85    <property name="geometry">
86     <rect>
87      <x>10</x>
88      <y>420</y>
89      <width>321</width>
90      <height>21</height>
91     </rect>
92    </property>
93    <property name="text">
94     <string>RGB histogram</string>
95    </property>
96    <property name="alignment">
97     <set>Qt::AlignCenter</set>
98    </property>
99   </widget>
100   <widget class="QLabel" name="grabbed_frame_sublabel">
101    <property name="geometry">
102     <rect>
103      <x>350</x>
104      <y>280</y>
105      <width>481</width>
106      <height>21</height>
107     </rect>
108    </property>
109    <property name="text">
110     <string>Grabbed frame</string>
111    </property>
112    <property name="alignment">
113     <set>Qt::AlignCenter</set>
114    </property>
115   </widget>
116   <widget class="QWidget" name="gridLayoutWidget">
117    <property name="geometry">
118     <rect>
119      <x>600</x>
120      <y>350</y>
121      <width>191</width>
122      <height>80</height>
123     </rect>
124    </property>
125    <layout class="QGridLayout" name="gridLayout">
126     <item row="1" column="0">
127      <widget class="QLabel" name="label_6">
128       <property name="text">
129        <string>Green:</string>
130       </property>
131      </widget>
132     </item>
133     <item row="1" column="1">
134      <widget class="QLabel" name="green_label">
135       <property name="text">
136        <string>127</string>
137       </property>
138      </widget>
139     </item>
140     <item row="2" column="1">
141      <widget class="QLabel" name="blue_label">
142       <property name="text">
143        <string>127</string>
144       </property>
145      </widget>
146     </item>
147     <item row="3" column="0">
148      <widget class="QLabel" name="label_2">
149       <property name="text">
150        <string>Hex:</string>
151       </property>
152      </widget>
153     </item>
154     <item row="0" column="1">
155      <widget class="QLabel" name="red_label">
156       <property name="text">
157        <string>127</string>
158       </property>
159      </widget>
160     </item>
161     <item row="2" column="0">
162      <widget class="QLabel" name="label_7">
163       <property name="text">
164        <string>Blue:</string>
165       </property>
166      </widget>
167     </item>
168     <item row="3" column="1">
169      <widget class="QLabel" name="hex_label">
170       <property name="text">
171        <string>#7f7f7f</string>
172       </property>
173      </widget>
174     </item>
175     <item row="0" column="0">
176      <widget class="QLabel" name="label_5">
177       <property name="text">
178        <string>Red:</string>
179       </property>
180      </widget>
181     </item>
182    </layout>
183   </widget>
184   <widget class="QLabel" name="label_12">
185    <property name="geometry">
186     <rect>
187      <x>600</x>
188      <y>330</y>
189      <width>191</width>
190      <height>16</height>
191     </rect>
192    </property>
193    <property name="text">
194     <string>Color (8-bit sRGB):</string>
195    </property>
196    <property name="alignment">
197     <set>Qt::AlignCenter</set>
198    </property>
199   </widget>
200   <widget class="QLabel" name="grabbed_frame_label">
201    <property name="geometry">
202     <rect>
203      <x>350</x>
204      <y>10</y>
205      <width>480</width>
206      <height>270</height>
207     </rect>
208    </property>
209    <property name="cursor">
210     <cursorShape>CrossCursor</cursorShape>
211    </property>
212    <property name="mouseTracking">
213     <bool>true</bool>
214    </property>
215    <property name="autoFillBackground">
216     <bool>false</bool>
217    </property>
218    <property name="styleSheet">
219     <string notr="true">background: color(0,0,0)</string>
220    </property>
221    <property name="text">
222     <string/>
223    </property>
224    <property name="scaledContents">
225     <bool>true</bool>
226    </property>
227   </widget>
228  </widget>
229  <customwidgets>
230   <customwidget>
231    <class>GLWidget</class>
232    <extends>QWidget</extends>
233    <header>glwidget.h</header>
234   </customwidget>
235   <customwidget>
236    <class>QCustomPlot</class>
237    <extends>QWidget</extends>
238    <header>qcustomplot.h</header>
239    <container>1</container>
240   </customwidget>
241  </customwidgets>
242  <resources/>
243  <connections/>
244 </ui>