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