source: sasview/src/sas/qtgui/Calculators/UI/SldPanel.ui @ d738feb

ESS_GUIESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalc
Last change on this file since d738feb was d738feb, checked in by Tim Snow <tim.snow@…>, 6 years ago

Modifications to SLD panel

First round of modifications to change the button layout and recalculation behaviour for user friendlieness.

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