1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <ui version="4.0"> |
---|
3 | <class>BoxSumUI</class> |
---|
4 | <widget class="QDialog" name="BoxSumUI"> |
---|
5 | <property name="geometry"> |
---|
6 | <rect> |
---|
7 | <x>0</x> |
---|
8 | <y>0</y> |
---|
9 | <width>322</width> |
---|
10 | <height>313</height> |
---|
11 | </rect> |
---|
12 | </property> |
---|
13 | <property name="sizePolicy"> |
---|
14 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> |
---|
15 | <horstretch>0</horstretch> |
---|
16 | <verstretch>0</verstretch> |
---|
17 | </sizepolicy> |
---|
18 | </property> |
---|
19 | <property name="windowTitle"> |
---|
20 | <string>Box Sum</string> |
---|
21 | </property> |
---|
22 | <property name="windowIcon"> |
---|
23 | <iconset> |
---|
24 | <normaloff>:/res/ball.ico</normaloff>:/res/ball.ico</iconset> |
---|
25 | </property> |
---|
26 | <layout class="QGridLayout" name="gridLayout_4"> |
---|
27 | <item row="0" column="0" colspan="2"> |
---|
28 | <widget class="QGroupBox" name="groupBox"> |
---|
29 | <property name="sizePolicy"> |
---|
30 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> |
---|
31 | <horstretch>0</horstretch> |
---|
32 | <verstretch>0</verstretch> |
---|
33 | </sizepolicy> |
---|
34 | </property> |
---|
35 | <property name="title"> |
---|
36 | <string>Box dimensions</string> |
---|
37 | </property> |
---|
38 | <layout class="QGridLayout" name="gridLayout_3"> |
---|
39 | <item row="0" column="0"> |
---|
40 | <widget class="QGroupBox" name="groupBox_4"> |
---|
41 | <property name="sizePolicy"> |
---|
42 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> |
---|
43 | <horstretch>0</horstretch> |
---|
44 | <verstretch>0</verstretch> |
---|
45 | </sizepolicy> |
---|
46 | </property> |
---|
47 | <property name="title"> |
---|
48 | <string>Box size</string> |
---|
49 | </property> |
---|
50 | <layout class="QGridLayout" name="gridLayout"> |
---|
51 | <item row="0" column="0"> |
---|
52 | <widget class="QLabel" name="label"> |
---|
53 | <property name="sizePolicy"> |
---|
54 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> |
---|
55 | <horstretch>0</horstretch> |
---|
56 | <verstretch>0</verstretch> |
---|
57 | </sizepolicy> |
---|
58 | </property> |
---|
59 | <property name="toolTip"> |
---|
60 | <string><html><head/><body><p>Height of the box.</p></body></html></string> |
---|
61 | </property> |
---|
62 | <property name="text"> |
---|
63 | <string>Height</string> |
---|
64 | </property> |
---|
65 | </widget> |
---|
66 | </item> |
---|
67 | <item row="0" column="1"> |
---|
68 | <widget class="QLineEdit" name="txtBoxHeight"> |
---|
69 | <property name="sizePolicy"> |
---|
70 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> |
---|
71 | <horstretch>0</horstretch> |
---|
72 | <verstretch>0</verstretch> |
---|
73 | </sizepolicy> |
---|
74 | </property> |
---|
75 | <property name="minimumSize"> |
---|
76 | <size> |
---|
77 | <width>70</width> |
---|
78 | <height>0</height> |
---|
79 | </size> |
---|
80 | </property> |
---|
81 | <property name="maximumSize"> |
---|
82 | <size> |
---|
83 | <width>70</width> |
---|
84 | <height>16777215</height> |
---|
85 | </size> |
---|
86 | </property> |
---|
87 | <property name="toolTip"> |
---|
88 | <string><html><head/><body><p>Height of the box.</p></body></html></string> |
---|
89 | </property> |
---|
90 | </widget> |
---|
91 | </item> |
---|
92 | <item row="0" column="2"> |
---|
93 | <widget class="QLabel" name="label_10"> |
---|
94 | <property name="sizePolicy"> |
---|
95 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> |
---|
96 | <horstretch>0</horstretch> |
---|
97 | <verstretch>0</verstretch> |
---|
98 | </sizepolicy> |
---|
99 | </property> |
---|
100 | <property name="text"> |
---|
101 | <string><html><head/><body><p>Ã
<span style=" vertical-align:super;">-1</span></p></body></html></string> |
---|
102 | </property> |
---|
103 | </widget> |
---|
104 | </item> |
---|
105 | <item row="1" column="0"> |
---|
106 | <widget class="QLabel" name="label_2"> |
---|
107 | <property name="sizePolicy"> |
---|
108 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> |
---|
109 | <horstretch>0</horstretch> |
---|
110 | <verstretch>0</verstretch> |
---|
111 | </sizepolicy> |
---|
112 | </property> |
---|
113 | <property name="toolTip"> |
---|
114 | <string><html><head/><body><p>Width of the box.</p></body></html></string> |
---|
115 | </property> |
---|
116 | <property name="text"> |
---|
117 | <string>Width</string> |
---|
118 | </property> |
---|
119 | </widget> |
---|
120 | </item> |
---|
121 | <item row="1" column="1"> |
---|
122 | <widget class="QLineEdit" name="txtBoxWidth"> |
---|
123 | <property name="sizePolicy"> |
---|
124 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> |
---|
125 | <horstretch>0</horstretch> |
---|
126 | <verstretch>0</verstretch> |
---|
127 | </sizepolicy> |
---|
128 | </property> |
---|
129 | <property name="minimumSize"> |
---|
130 | <size> |
---|
131 | <width>70</width> |
---|
132 | <height>0</height> |
---|
133 | </size> |
---|
134 | </property> |
---|
135 | <property name="maximumSize"> |
---|
136 | <size> |
---|
137 | <width>70</width> |
---|
138 | <height>16777215</height> |
---|
139 | </size> |
---|
140 | </property> |
---|
141 | <property name="toolTip"> |
---|
142 | <string><html><head/><body><p>Width of the box.</p></body></html></string> |
---|
143 | </property> |
---|
144 | </widget> |
---|
145 | </item> |
---|
146 | <item row="1" column="2"> |
---|
147 | <widget class="QLabel" name="label_11"> |
---|
148 | <property name="sizePolicy"> |
---|
149 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> |
---|
150 | <horstretch>0</horstretch> |
---|
151 | <verstretch>0</verstretch> |
---|
152 | </sizepolicy> |
---|
153 | </property> |
---|
154 | <property name="text"> |
---|
155 | <string><html><head/><body><p>Ã
<span style=" vertical-align:super;">-1</span></p></body></html></string> |
---|
156 | </property> |
---|
157 | </widget> |
---|
158 | </item> |
---|
159 | </layout> |
---|
160 | </widget> |
---|
161 | </item> |
---|
162 | <item row="0" column="1"> |
---|
163 | <widget class="QGroupBox" name="groupBox_2"> |
---|
164 | <property name="sizePolicy"> |
---|
165 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> |
---|
166 | <horstretch>0</horstretch> |
---|
167 | <verstretch>0</verstretch> |
---|
168 | </sizepolicy> |
---|
169 | </property> |
---|
170 | <property name="title"> |
---|
171 | <string>Box center</string> |
---|
172 | </property> |
---|
173 | <layout class="QGridLayout" name="gridLayout_2"> |
---|
174 | <item row="0" column="0"> |
---|
175 | <widget class="QLabel" name="label_3"> |
---|
176 | <property name="toolTip"> |
---|
177 | <string><html><head/><body><p>X coordinate of the center of the box.</p></body></html></string> |
---|
178 | </property> |
---|
179 | <property name="text"> |
---|
180 | <string><html><head/><body><p>Q<span style=" vertical-align:sub;">X</span></p></body></html></string> |
---|
181 | </property> |
---|
182 | </widget> |
---|
183 | </item> |
---|
184 | <item row="0" column="1"> |
---|
185 | <widget class="QLineEdit" name="txtCenterX"> |
---|
186 | <property name="sizePolicy"> |
---|
187 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> |
---|
188 | <horstretch>0</horstretch> |
---|
189 | <verstretch>0</verstretch> |
---|
190 | </sizepolicy> |
---|
191 | </property> |
---|
192 | <property name="minimumSize"> |
---|
193 | <size> |
---|
194 | <width>70</width> |
---|
195 | <height>0</height> |
---|
196 | </size> |
---|
197 | </property> |
---|
198 | <property name="maximumSize"> |
---|
199 | <size> |
---|
200 | <width>70</width> |
---|
201 | <height>16777215</height> |
---|
202 | </size> |
---|
203 | </property> |
---|
204 | <property name="toolTip"> |
---|
205 | <string><html><head/><body><p>X coordinate of the center of the box.</p></body></html></string> |
---|
206 | </property> |
---|
207 | </widget> |
---|
208 | </item> |
---|
209 | <item row="0" column="2"> |
---|
210 | <widget class="QLabel" name="label_13"> |
---|
211 | <property name="text"> |
---|
212 | <string><html><head/><body><p>Ã
<span style=" vertical-align:super;">-1</span></p></body></html></string> |
---|
213 | </property> |
---|
214 | </widget> |
---|
215 | </item> |
---|
216 | <item row="1" column="0"> |
---|
217 | <widget class="QLabel" name="label_4"> |
---|
218 | <property name="toolTip"> |
---|
219 | <string><html><head/><body><p>Y coordinate of the center of the box.</p></body></html></string> |
---|
220 | </property> |
---|
221 | <property name="text"> |
---|
222 | <string><html><head/><body><p>Q<span style=" vertical-align:sub;">Y</span></p></body></html></string> |
---|
223 | </property> |
---|
224 | </widget> |
---|
225 | </item> |
---|
226 | <item row="1" column="1"> |
---|
227 | <widget class="QLineEdit" name="txtCenterY"> |
---|
228 | <property name="sizePolicy"> |
---|
229 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> |
---|
230 | <horstretch>0</horstretch> |
---|
231 | <verstretch>0</verstretch> |
---|
232 | </sizepolicy> |
---|
233 | </property> |
---|
234 | <property name="minimumSize"> |
---|
235 | <size> |
---|
236 | <width>70</width> |
---|
237 | <height>0</height> |
---|
238 | </size> |
---|
239 | </property> |
---|
240 | <property name="maximumSize"> |
---|
241 | <size> |
---|
242 | <width>70</width> |
---|
243 | <height>16777215</height> |
---|
244 | </size> |
---|
245 | </property> |
---|
246 | <property name="toolTip"> |
---|
247 | <string><html><head/><body><p>Y coordinate of the center of the box.</p></body></html></string> |
---|
248 | </property> |
---|
249 | <property name="text"> |
---|
250 | <string/> |
---|
251 | </property> |
---|
252 | </widget> |
---|
253 | </item> |
---|
254 | <item row="1" column="2"> |
---|
255 | <widget class="QLabel" name="label_12"> |
---|
256 | <property name="text"> |
---|
257 | <string><html><head/><body><p>Ã
<span style=" vertical-align:super;">-1</span></p></body></html></string> |
---|
258 | </property> |
---|
259 | </widget> |
---|
260 | </item> |
---|
261 | </layout> |
---|
262 | </widget> |
---|
263 | </item> |
---|
264 | </layout> |
---|
265 | </widget> |
---|
266 | </item> |
---|
267 | <item row="1" column="0" colspan="2"> |
---|
268 | <widget class="QGroupBox" name="groupBox_3"> |
---|
269 | <property name="sizePolicy"> |
---|
270 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> |
---|
271 | <horstretch>0</horstretch> |
---|
272 | <verstretch>0</verstretch> |
---|
273 | </sizepolicy> |
---|
274 | </property> |
---|
275 | <property name="title"> |
---|
276 | <string>Box parameters</string> |
---|
277 | </property> |
---|
278 | <layout class="QGridLayout" name="gridLayout_5"> |
---|
279 | <item row="0" column="0"> |
---|
280 | <layout class="QFormLayout" name="formLayout"> |
---|
281 | <item row="0" column="0"> |
---|
282 | <widget class="QLabel" name="label_5"> |
---|
283 | <property name="toolTip"> |
---|
284 | <string><html><head/><body><p>Average point count in selected region.</p></body></html></string> |
---|
285 | </property> |
---|
286 | <property name="text"> |
---|
287 | <string>Avg:</string> |
---|
288 | </property> |
---|
289 | </widget> |
---|
290 | </item> |
---|
291 | <item row="0" column="1"> |
---|
292 | <widget class="QLabel" name="lblAvg"> |
---|
293 | <property name="toolTip"> |
---|
294 | <string><html><head/><body><p>Average point count in selected region.</p></body></html></string> |
---|
295 | </property> |
---|
296 | <property name="text"> |
---|
297 | <string>TextLabel</string> |
---|
298 | </property> |
---|
299 | </widget> |
---|
300 | </item> |
---|
301 | <item row="1" column="0"> |
---|
302 | <widget class="QLabel" name="label_6"> |
---|
303 | <property name="toolTip"> |
---|
304 | <string><html><head/><body><p>Error of average point count in selected region.</p></body></html></string> |
---|
305 | </property> |
---|
306 | <property name="text"> |
---|
307 | <string>Avg error:</string> |
---|
308 | </property> |
---|
309 | </widget> |
---|
310 | </item> |
---|
311 | <item row="1" column="1"> |
---|
312 | <widget class="QLabel" name="lblAvgErr"> |
---|
313 | <property name="toolTip"> |
---|
314 | <string><html><head/><body><p>Error of average point count in selected region.</p></body></html></string> |
---|
315 | </property> |
---|
316 | <property name="text"> |
---|
317 | <string>TextLabel</string> |
---|
318 | </property> |
---|
319 | </widget> |
---|
320 | </item> |
---|
321 | <item row="2" column="0"> |
---|
322 | <widget class="QLabel" name="label_7"> |
---|
323 | <property name="toolTip"> |
---|
324 | <string><html><head/><body><p>Total number of points in the selected region.</p></body></html></string> |
---|
325 | </property> |
---|
326 | <property name="text"> |
---|
327 | <string>Num. of points:</string> |
---|
328 | </property> |
---|
329 | </widget> |
---|
330 | </item> |
---|
331 | <item row="2" column="1"> |
---|
332 | <widget class="QLabel" name="lblNumPoints"> |
---|
333 | <property name="toolTip"> |
---|
334 | <string><html><head/><body><p>Total number of points in the selected region.</p></body></html></string> |
---|
335 | </property> |
---|
336 | <property name="text"> |
---|
337 | <string>TextLabel</string> |
---|
338 | </property> |
---|
339 | </widget> |
---|
340 | </item> |
---|
341 | <item row="3" column="0"> |
---|
342 | <widget class="QLabel" name="label_8"> |
---|
343 | <property name="toolTip"> |
---|
344 | <string><html><head/><body><p>Sum of point intensities for all points in the selected region.</p></body></html></string> |
---|
345 | </property> |
---|
346 | <property name="text"> |
---|
347 | <string>Sum:</string> |
---|
348 | </property> |
---|
349 | </widget> |
---|
350 | </item> |
---|
351 | <item row="3" column="1"> |
---|
352 | <widget class="QLabel" name="lblSum"> |
---|
353 | <property name="toolTip"> |
---|
354 | <string><html><head/><body><p>Sum of point intensities for all points in the selected region.</p></body></html></string> |
---|
355 | </property> |
---|
356 | <property name="text"> |
---|
357 | <string>TextLabel</string> |
---|
358 | </property> |
---|
359 | </widget> |
---|
360 | </item> |
---|
361 | <item row="4" column="0"> |
---|
362 | <widget class="QLabel" name="label_9"> |
---|
363 | <property name="toolTip"> |
---|
364 | <string><html><head/><body><p>Error of point intensity sum for all points in the selected region.</p></body></html></string> |
---|
365 | </property> |
---|
366 | <property name="text"> |
---|
367 | <string>Sum error:</string> |
---|
368 | </property> |
---|
369 | </widget> |
---|
370 | </item> |
---|
371 | <item row="4" column="1"> |
---|
372 | <widget class="QLabel" name="lblSumErr"> |
---|
373 | <property name="toolTip"> |
---|
374 | <string><html><head/><body><p>Error of point intensity sum for all points in the selected region.</p></body></html></string> |
---|
375 | </property> |
---|
376 | <property name="text"> |
---|
377 | <string>TextLabel</string> |
---|
378 | </property> |
---|
379 | </widget> |
---|
380 | </item> |
---|
381 | </layout> |
---|
382 | </item> |
---|
383 | </layout> |
---|
384 | </widget> |
---|
385 | </item> |
---|
386 | <item row="2" column="0"> |
---|
387 | <spacer name="verticalSpacer"> |
---|
388 | <property name="orientation"> |
---|
389 | <enum>Qt::Vertical</enum> |
---|
390 | </property> |
---|
391 | <property name="sizeHint" stdset="0"> |
---|
392 | <size> |
---|
393 | <width>20</width> |
---|
394 | <height>18</height> |
---|
395 | </size> |
---|
396 | </property> |
---|
397 | </spacer> |
---|
398 | </item> |
---|
399 | <item row="3" column="1"> |
---|
400 | <widget class="QDialogButtonBox" name="buttonBox"> |
---|
401 | <property name="orientation"> |
---|
402 | <enum>Qt::Horizontal</enum> |
---|
403 | </property> |
---|
404 | <property name="standardButtons"> |
---|
405 | <set>QDialogButtonBox::Close</set> |
---|
406 | </property> |
---|
407 | </widget> |
---|
408 | </item> |
---|
409 | </layout> |
---|
410 | </widget> |
---|
411 | <resources/> |
---|
412 | <connections> |
---|
413 | <connection> |
---|
414 | <sender>buttonBox</sender> |
---|
415 | <signal>accepted()</signal> |
---|
416 | <receiver>BoxSumUI</receiver> |
---|
417 | <slot>accept()</slot> |
---|
418 | <hints> |
---|
419 | <hint type="sourcelabel"> |
---|
420 | <x>248</x> |
---|
421 | <y>254</y> |
---|
422 | </hint> |
---|
423 | <hint type="destinationlabel"> |
---|
424 | <x>157</x> |
---|
425 | <y>274</y> |
---|
426 | </hint> |
---|
427 | </hints> |
---|
428 | </connection> |
---|
429 | <connection> |
---|
430 | <sender>buttonBox</sender> |
---|
431 | <signal>rejected()</signal> |
---|
432 | <receiver>BoxSumUI</receiver> |
---|
433 | <slot>reject()</slot> |
---|
434 | <hints> |
---|
435 | <hint type="sourcelabel"> |
---|
436 | <x>316</x> |
---|
437 | <y>260</y> |
---|
438 | </hint> |
---|
439 | <hint type="destinationlabel"> |
---|
440 | <x>286</x> |
---|
441 | <y>274</y> |
---|
442 | </hint> |
---|
443 | </hints> |
---|
444 | </connection> |
---|
445 | </connections> |
---|
446 | </ui> |
---|