1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <ui version="4.0"> |
---|
3 | <class>SldPanel</class> |
---|
4 | <widget class="QDialog" name="SldPanel"> |
---|
5 | <property name="geometry"> |
---|
6 | <rect> |
---|
7 | <x>0</x> |
---|
8 | <y>0</y> |
---|
9 | <width>447</width> |
---|
10 | <height>403</height> |
---|
11 | </rect> |
---|
12 | </property> |
---|
13 | <property name="sizePolicy"> |
---|
14 | <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> |
---|
15 | <horstretch>0</horstretch> |
---|
16 | <verstretch>0</verstretch> |
---|
17 | </sizepolicy> |
---|
18 | </property> |
---|
19 | <property name="windowTitle"> |
---|
20 | <string>SLD Calculator</string> |
---|
21 | </property> |
---|
22 | <property name="windowIcon"> |
---|
23 | <iconset resource="main_resources.qrc"> |
---|
24 | <normaloff>:/res/ball.ico</normaloff>:/res/ball.ico</iconset> |
---|
25 | </property> |
---|
26 | <layout class="QGridLayout" name="gridLayout_2"> |
---|
27 | <item row="0" column="0"> |
---|
28 | <widget class="QGroupBox" name="groupBoxInput"> |
---|
29 | <property name="title"> |
---|
30 | <string>Input</string> |
---|
31 | </property> |
---|
32 | <layout class="QGridLayout" name="gridLayoutInput"> |
---|
33 | <item row="1" column="0"> |
---|
34 | <widget class="QLabel" name="label_8"> |
---|
35 | <property name="text"> |
---|
36 | <string>Mass Density</string> |
---|
37 | </property> |
---|
38 | </widget> |
---|
39 | </item> |
---|
40 | <item row="1" column="2"> |
---|
41 | <widget class="QLabel" name="label_16"> |
---|
42 | <property name="text"> |
---|
43 | <string>g/cm³</string> |
---|
44 | </property> |
---|
45 | </widget> |
---|
46 | </item> |
---|
47 | <item row="0" column="2"> |
---|
48 | <widget class="QLabel" name="label_10"> |
---|
49 | <property name="text"> |
---|
50 | <string>e.g. H2O</string> |
---|
51 | </property> |
---|
52 | </widget> |
---|
53 | </item> |
---|
54 | <item row="0" column="1"> |
---|
55 | <widget class="QLineEdit" name="editMolecularFormula"/> |
---|
56 | </item> |
---|
57 | <item row="1" column="1"> |
---|
58 | <widget class="QLineEdit" name="editMassDensity"/> |
---|
59 | </item> |
---|
60 | <item row="2" column="1"> |
---|
61 | <widget class="QLineEdit" name="editWavelength"> |
---|
62 | <property name="styleSheet"> |
---|
63 | <string notr="true"/> |
---|
64 | </property> |
---|
65 | <property name="readOnly"> |
---|
66 | <bool>false</bool> |
---|
67 | </property> |
---|
68 | </widget> |
---|
69 | </item> |
---|
70 | <item row="2" column="2"> |
---|
71 | <widget class="QLabel" name="label_12"> |
---|
72 | <property name="text"> |
---|
73 | <string>Ã
</string> |
---|
74 | </property> |
---|
75 | </widget> |
---|
76 | </item> |
---|
77 | <item row="0" column="0"> |
---|
78 | <widget class="QLabel" name="label_9"> |
---|
79 | <property name="text"> |
---|
80 | <string>Molecular Formula</string> |
---|
81 | </property> |
---|
82 | </widget> |
---|
83 | </item> |
---|
84 | <item row="2" column="0"> |
---|
85 | <widget class="QLabel" name="label_11"> |
---|
86 | <property name="text"> |
---|
87 | <string>Wavelength</string> |
---|
88 | </property> |
---|
89 | </widget> |
---|
90 | </item> |
---|
91 | </layout> |
---|
92 | </widget> |
---|
93 | </item> |
---|
94 | <item row="1" column="0"> |
---|
95 | <widget class="QGroupBox" name="groupBoxOutput"> |
---|
96 | <property name="title"> |
---|
97 | <string>Output</string> |
---|
98 | </property> |
---|
99 | <layout class="QGridLayout" name="gridLayoutOutput"> |
---|
100 | <item row="0" column="0"> |
---|
101 | <widget class="QLabel" name="label_17"> |
---|
102 | <property name="text"> |
---|
103 | <string>Neutron SLD</string> |
---|
104 | </property> |
---|
105 | </widget> |
---|
106 | </item> |
---|
107 | <item row="0" column="1"> |
---|
108 | <widget class="QLineEdit" name="editNeutronSldReal"> |
---|
109 | <property name="readOnly"> |
---|
110 | <bool>true</bool> |
---|
111 | </property> |
---|
112 | </widget> |
---|
113 | </item> |
---|
114 | <item row="0" column="2"> |
---|
115 | <widget class="QLabel" name="label_18"> |
---|
116 | <property name="text"> |
---|
117 | <string>-i</string> |
---|
118 | </property> |
---|
119 | </widget> |
---|
120 | </item> |
---|
121 | <item row="0" column="3"> |
---|
122 | <widget class="QLineEdit" name="editNeutronSldImag"> |
---|
123 | <property name="readOnly"> |
---|
124 | <bool>true</bool> |
---|
125 | </property> |
---|
126 | </widget> |
---|
127 | </item> |
---|
128 | <item row="0" column="4"> |
---|
129 | <widget class="QLabel" name="label_5"> |
---|
130 | <property name="text"> |
---|
131 | <string>1/Ã
²</string> |
---|
132 | </property> |
---|
133 | </widget> |
---|
134 | </item> |
---|
135 | <item row="1" column="0"> |
---|
136 | <widget class="QLabel" name="label_19"> |
---|
137 | <property name="text"> |
---|
138 | <string>Cu Ka SLD</string> |
---|
139 | </property> |
---|
140 | </widget> |
---|
141 | </item> |
---|
142 | <item row="1" column="1"> |
---|
143 | <widget class="QLineEdit" name="editCuKaSldReal"> |
---|
144 | <property name="styleSheet"> |
---|
145 | <string notr="true"/> |
---|
146 | </property> |
---|
147 | <property name="readOnly"> |
---|
148 | <bool>true</bool> |
---|
149 | </property> |
---|
150 | </widget> |
---|
151 | </item> |
---|
152 | <item row="1" column="2"> |
---|
153 | <widget class="QLabel" name="label_20"> |
---|
154 | <property name="text"> |
---|
155 | <string>-i</string> |
---|
156 | </property> |
---|
157 | </widget> |
---|
158 | </item> |
---|
159 | <item row="1" column="3"> |
---|
160 | <widget class="QLineEdit" name="editCuKaSldImag"> |
---|
161 | <property name="readOnly"> |
---|
162 | <bool>true</bool> |
---|
163 | </property> |
---|
164 | </widget> |
---|
165 | </item> |
---|
166 | <item row="1" column="4"> |
---|
167 | <widget class="QLabel" name="label_6"> |
---|
168 | <property name="text"> |
---|
169 | <string>1/Ã
²</string> |
---|
170 | </property> |
---|
171 | </widget> |
---|
172 | </item> |
---|
173 | <item row="2" column="0"> |
---|
174 | <widget class="QLabel" name="label"> |
---|
175 | <property name="text"> |
---|
176 | <string>Mo Ka SLD</string> |
---|
177 | </property> |
---|
178 | </widget> |
---|
179 | </item> |
---|
180 | <item row="2" column="1"> |
---|
181 | <widget class="QLineEdit" name="editMoKaSldReal"> |
---|
182 | <property name="readOnly"> |
---|
183 | <bool>true</bool> |
---|
184 | </property> |
---|
185 | </widget> |
---|
186 | </item> |
---|
187 | <item row="2" column="2"> |
---|
188 | <widget class="QLabel" name="label_2"> |
---|
189 | <property name="text"> |
---|
190 | <string>-i</string> |
---|
191 | </property> |
---|
192 | </widget> |
---|
193 | </item> |
---|
194 | <item row="2" column="3"> |
---|
195 | <widget class="QLineEdit" name="editMoKaSldImag"> |
---|
196 | <property name="readOnly"> |
---|
197 | <bool>true</bool> |
---|
198 | </property> |
---|
199 | </widget> |
---|
200 | </item> |
---|
201 | <item row="2" column="4"> |
---|
202 | <widget class="QLabel" name="label_7"> |
---|
203 | <property name="text"> |
---|
204 | <string>1/Ã
²</string> |
---|
205 | </property> |
---|
206 | </widget> |
---|
207 | </item> |
---|
208 | <item row="3" column="0" colspan="5"> |
---|
209 | <widget class="QFrame" name="frame"> |
---|
210 | <property name="minimumSize"> |
---|
211 | <size> |
---|
212 | <width>0</width> |
---|
213 | <height>5</height> |
---|
214 | </size> |
---|
215 | </property> |
---|
216 | <property name="frameShape"> |
---|
217 | <enum>QFrame::HLine</enum> |
---|
218 | </property> |
---|
219 | <property name="frameShadow"> |
---|
220 | <enum>QFrame::Raised</enum> |
---|
221 | </property> |
---|
222 | <property name="lineWidth"> |
---|
223 | <number>1</number> |
---|
224 | </property> |
---|
225 | <property name="midLineWidth"> |
---|
226 | <number>0</number> |
---|
227 | </property> |
---|
228 | </widget> |
---|
229 | </item> |
---|
230 | <item row="4" column="0"> |
---|
231 | <widget class="QLabel" name="label_21"> |
---|
232 | <property name="text"> |
---|
233 | <string>Neutron Inc. Xs</string> |
---|
234 | </property> |
---|
235 | </widget> |
---|
236 | </item> |
---|
237 | <item row="4" column="1"> |
---|
238 | <widget class="QLineEdit" name="editNeutronIncXs"> |
---|
239 | <property name="readOnly"> |
---|
240 | <bool>true</bool> |
---|
241 | </property> |
---|
242 | </widget> |
---|
243 | </item> |
---|
244 | <item row="4" column="2" colspan="2"> |
---|
245 | <widget class="QLabel" name="label_22"> |
---|
246 | <property name="text"> |
---|
247 | <string>1/cm</string> |
---|
248 | </property> |
---|
249 | </widget> |
---|
250 | </item> |
---|
251 | <item row="5" column="0"> |
---|
252 | <widget class="QLabel" name="label_23"> |
---|
253 | <property name="text"> |
---|
254 | <string>Neutron Abs. Xs</string> |
---|
255 | </property> |
---|
256 | </widget> |
---|
257 | </item> |
---|
258 | <item row="5" column="1"> |
---|
259 | <widget class="QLineEdit" name="editNeutronAbsXs"> |
---|
260 | <property name="readOnly"> |
---|
261 | <bool>true</bool> |
---|
262 | </property> |
---|
263 | </widget> |
---|
264 | </item> |
---|
265 | <item row="5" column="2" colspan="2"> |
---|
266 | <widget class="QLabel" name="label_24"> |
---|
267 | <property name="text"> |
---|
268 | <string>1/cm</string> |
---|
269 | </property> |
---|
270 | </widget> |
---|
271 | </item> |
---|
272 | <item row="6" column="0"> |
---|
273 | <widget class="QLabel" name="label_3"> |
---|
274 | <property name="text"> |
---|
275 | <string>Neutron 1/e length</string> |
---|
276 | </property> |
---|
277 | </widget> |
---|
278 | </item> |
---|
279 | <item row="6" column="1"> |
---|
280 | <widget class="QLineEdit" name="editNeutronLength"> |
---|
281 | <property name="readOnly"> |
---|
282 | <bool>true</bool> |
---|
283 | </property> |
---|
284 | </widget> |
---|
285 | </item> |
---|
286 | <item row="6" column="2" colspan="2"> |
---|
287 | <widget class="QLabel" name="label_4"> |
---|
288 | <property name="text"> |
---|
289 | <string>cm</string> |
---|
290 | </property> |
---|
291 | </widget> |
---|
292 | </item> |
---|
293 | </layout> |
---|
294 | </widget> |
---|
295 | </item> |
---|
296 | <item row="2" column="0"> |
---|
297 | <spacer name="verticalSpacer"> |
---|
298 | <property name="orientation"> |
---|
299 | <enum>Qt::Vertical</enum> |
---|
300 | </property> |
---|
301 | <property name="sizeHint" stdset="0"> |
---|
302 | <size> |
---|
303 | <width>20</width> |
---|
304 | <height>40</height> |
---|
305 | </size> |
---|
306 | </property> |
---|
307 | </spacer> |
---|
308 | </item> |
---|
309 | <item row="3" column="0"> |
---|
310 | <widget class="QDialogButtonBox" name="buttonBox"> |
---|
311 | <property name="orientation"> |
---|
312 | <enum>Qt::Horizontal</enum> |
---|
313 | </property> |
---|
314 | <property name="standardButtons"> |
---|
315 | <set>QDialogButtonBox::Close|QDialogButtonBox::Help|QDialogButtonBox::Reset</set> |
---|
316 | </property> |
---|
317 | <property name="centerButtons"> |
---|
318 | <bool>true</bool> |
---|
319 | </property> |
---|
320 | </widget> |
---|
321 | </item> |
---|
322 | </layout> |
---|
323 | </widget> |
---|
324 | <tabstops> |
---|
325 | <tabstop>editMolecularFormula</tabstop> |
---|
326 | <tabstop>editMassDensity</tabstop> |
---|
327 | <tabstop>editWavelength</tabstop> |
---|
328 | <tabstop>editNeutronSldReal</tabstop> |
---|
329 | <tabstop>editNeutronSldImag</tabstop> |
---|
330 | <tabstop>editCuKaSldReal</tabstop> |
---|
331 | <tabstop>editCuKaSldImag</tabstop> |
---|
332 | <tabstop>editMoKaSldReal</tabstop> |
---|
333 | <tabstop>editMoKaSldImag</tabstop> |
---|
334 | <tabstop>editNeutronIncXs</tabstop> |
---|
335 | <tabstop>editNeutronAbsXs</tabstop> |
---|
336 | <tabstop>editNeutronLength</tabstop> |
---|
337 | <tabstop>buttonBox</tabstop> |
---|
338 | </tabstops> |
---|
339 | <resources> |
---|
340 | <include location="main_resources.qrc"/> |
---|
341 | </resources> |
---|
342 | <connections> |
---|
343 | <connection> |
---|
344 | <sender>buttonBox</sender> |
---|
345 | <signal>accepted()</signal> |
---|
346 | <receiver>SldPanel</receiver> |
---|
347 | <slot>accept()</slot> |
---|
348 | <hints> |
---|
349 | <hint type="sourcelabel"> |
---|
350 | <x>248</x> |
---|
351 | <y>254</y> |
---|
352 | </hint> |
---|
353 | <hint type="destinationlabel"> |
---|
354 | <x>157</x> |
---|
355 | <y>274</y> |
---|
356 | </hint> |
---|
357 | </hints> |
---|
358 | </connection> |
---|
359 | <connection> |
---|
360 | <sender>buttonBox</sender> |
---|
361 | <signal>rejected()</signal> |
---|
362 | <receiver>SldPanel</receiver> |
---|
363 | <slot>reject()</slot> |
---|
364 | <hints> |
---|
365 | <hint type="sourcelabel"> |
---|
366 | <x>316</x> |
---|
367 | <y>260</y> |
---|
368 | </hint> |
---|
369 | <hint type="destinationlabel"> |
---|
370 | <x>286</x> |
---|
371 | <y>274</y> |
---|
372 | </hint> |
---|
373 | </hints> |
---|
374 | </connection> |
---|
375 | </connections> |
---|
376 | </ui> |
---|