source: sasview/src/sas/qtgui/Perspectives/Inversion/UI/TabbedInversionUI.ui @ fa81e94

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalc
Last change on this file since fa81e94 was fa81e94, checked in by Piotr Rozyczko <rozyczko@…>, 6 years ago

Initial commit of the P(r) inversion perspective.
Code merged from Jeff Krzywon's ESS_GUI_Pr branch.
Also, minor 2to3 mods to sascalc/sasgui to enble error free setup.

  • Property mode set to 100755
File size: 19.3 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>PrInversion</class>
4 <widget class="QDialog" name="PrInversion">
5  <property name="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>458</width>
10    <height>679</height>
11   </rect>
12  </property>
13  <property name="sizePolicy">
14   <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
15    <horstretch>0</horstretch>
16    <verstretch>0</verstretch>
17   </sizepolicy>
18  </property>
19  <property name="minimumSize">
20   <size>
21    <width>458</width>
22    <height>679</height>
23   </size>
24  </property>
25  <property name="maximumSize">
26   <size>
27    <width>16777215</width>
28    <height>16777215</height>
29   </size>
30  </property>
31  <property name="windowTitle">
32   <string>P(r) Inversion</string>
33  </property>
34  <layout class="QGridLayout" name="gridLayout_7">
35   <item row="4" column="0">
36    <layout class="QHBoxLayout" name="horizontalLayout_8">
37     <property name="sizeConstraint">
38      <enum>QLayout::SetDefaultConstraint</enum>
39     </property>
40     <item>
41      <widget class="QPushButton" name="removeButton">
42       <property name="text">
43        <string>Remove</string>
44       </property>
45      </widget>
46     </item>
47     <item>
48      <widget class="QPushButton" name="calculateThisButton">
49       <property name="text">
50        <string>Calculate</string>
51       </property>
52      </widget>
53     </item>
54     <item>
55      <widget class="QPushButton" name="calculateAllButton">
56       <property name="sizePolicy">
57        <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
58         <horstretch>0</horstretch>
59         <verstretch>0</verstretch>
60        </sizepolicy>
61       </property>
62       <property name="text">
63        <string>Calculate All</string>
64       </property>
65      </widget>
66     </item>
67     <item>
68      <spacer name="horizontalSpacer">
69       <property name="orientation">
70        <enum>Qt::Horizontal</enum>
71       </property>
72       <property name="sizeType">
73        <enum>QSizePolicy::Expanding</enum>
74       </property>
75       <property name="sizeHint" stdset="0">
76        <size>
77         <width>40</width>
78         <height>20</height>
79        </size>
80       </property>
81      </spacer>
82     </item>
83     <item>
84      <widget class="QPushButton" name="helpButton">
85       <property name="sizePolicy">
86        <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
87         <horstretch>0</horstretch>
88         <verstretch>0</verstretch>
89        </sizepolicy>
90       </property>
91       <property name="text">
92        <string>Help</string>
93       </property>
94      </widget>
95     </item>
96    </layout>
97   </item>
98   <item row="3" column="0">
99    <spacer name="verticalSpacer">
100     <property name="orientation">
101      <enum>Qt::Vertical</enum>
102     </property>
103     <property name="sizeHint" stdset="0">
104      <size>
105       <width>20</width>
106       <height>2</height>
107      </size>
108     </property>
109    </spacer>
110   </item>
111   <item row="1" column="0" rowspan="2">
112    <widget class="QTabWidget" name="PrTabWidget">
113     <property name="sizePolicy">
114      <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
115       <horstretch>0</horstretch>
116       <verstretch>0</verstretch>
117      </sizepolicy>
118     </property>
119     <property name="minimumSize">
120      <size>
121       <width>0</width>
122       <height>0</height>
123      </size>
124     </property>
125     <property name="currentIndex">
126      <number>0</number>
127     </property>
128     <widget class="QWidget" name="tabMain">
129      <attribute name="title">
130       <string>P(r) Parameters</string>
131      </attribute>
132      <layout class="QVBoxLayout" name="verticalLayout_6" stretch="0,1,1,0,0">
133       <item>
134        <widget class="QGroupBox" name="dataSourceGroupBox">
135         <property name="title">
136          <string>I(q) data source</string>
137         </property>
138         <layout class="QGridLayout" name="gridLayout_2">
139          <item row="1" column="0">
140           <layout class="QHBoxLayout" name="horizontalLayout_3" stretch="2,1,0,2,2">
141            <item>
142             <widget class="QLabel" name="label_5">
143              <property name="text">
144               <string>Background Level:</string>
145              </property>
146             </widget>
147            </item>
148            <item>
149             <widget class="QLineEdit" name="backgroundInput">
150              <property name="enabled">
151               <bool>false</bool>
152              </property>
153              <property name="text">
154               <string>0.0</string>
155              </property>
156             </widget>
157            </item>
158            <item>
159             <widget class="QLabel" name="label_10">
160              <property name="text">
161               <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Å&lt;span style=&quot; vertical-align:super;&quot;&gt;-1&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
162              </property>
163             </widget>
164            </item>
165            <item>
166             <widget class="QRadioButton" name="estimateBgd">
167              <property name="text">
168               <string>Estimate</string>
169              </property>
170             </widget>
171            </item>
172            <item>
173             <widget class="QRadioButton" name="manualBgd">
174              <property name="text">
175               <string>Manual Input</string>
176              </property>
177             </widget>
178            </item>
179           </layout>
180          </item>
181          <item row="0" column="0">
182           <layout class="QHBoxLayout" name="horizontalLayout_2" stretch="1,3">
183            <item>
184             <widget class="QLabel" name="label">
185              <property name="text">
186               <string>Data File Name:</string>
187              </property>
188             </widget>
189            </item>
190            <item>
191             <widget class="QComboBox" name="dataList"/>
192            </item>
193           </layout>
194          </item>
195         </layout>
196        </widget>
197       </item>
198       <item>
199        <widget class="QGroupBox" name="qRangeGroupBox">
200         <property name="title">
201          <string>Total Q range</string>
202         </property>
203         <layout class="QGridLayout" name="gridLayout_3">
204          <item row="0" column="0">
205           <layout class="QHBoxLayout" name="horizontalLayout_4">
206            <item>
207             <widget class="QLabel" name="label_7">
208              <property name="text">
209               <string>Min:</string>
210              </property>
211             </widget>
212            </item>
213            <item>
214             <widget class="QLineEdit" name="minQInput">
215              <property name="enabled">
216               <bool>true</bool>
217              </property>
218             </widget>
219            </item>
220            <item>
221             <widget class="QLabel" name="label_11">
222              <property name="text">
223               <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Å&lt;span style=&quot; vertical-align:super;&quot;&gt;-1&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
224              </property>
225             </widget>
226            </item>
227            <item>
228             <widget class="QLabel" name="label_8">
229              <property name="text">
230               <string>Max:</string>
231              </property>
232             </widget>
233            </item>
234            <item>
235             <widget class="QLineEdit" name="maxQInput">
236              <property name="enabled">
237               <bool>true</bool>
238              </property>
239             </widget>
240            </item>
241            <item>
242             <widget class="QLabel" name="label_9">
243              <property name="text">
244               <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Å&lt;span style=&quot; vertical-align:super;&quot;&gt;-1&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
245              </property>
246             </widget>
247            </item>
248           </layout>
249          </item>
250         </layout>
251        </widget>
252       </item>
253       <item>
254        <widget class="QGroupBox" name="slitParamsGroupBox">
255         <property name="title">
256          <string>Slit Parameters</string>
257         </property>
258         <layout class="QGridLayout" name="gridLayout">
259          <item row="0" column="0">
260           <layout class="QHBoxLayout" name="horizontalLayout">
261            <item>
262             <widget class="QLabel" name="label_3">
263              <property name="text">
264               <string>Height</string>
265              </property>
266             </widget>
267            </item>
268            <item>
269             <widget class="QLineEdit" name="slitHeightInput">
270              <property name="enabled">
271               <bool>true</bool>
272              </property>
273             </widget>
274            </item>
275            <item>
276             <widget class="QLabel" name="label_6">
277              <property name="text">
278               <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Å&lt;span style=&quot; vertical-align:super;&quot;&gt;-1&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
279              </property>
280             </widget>
281            </item>
282            <item>
283             <widget class="QLabel" name="label_4">
284              <property name="text">
285               <string>Width</string>
286              </property>
287             </widget>
288            </item>
289            <item>
290             <widget class="QLineEdit" name="slitWidthInput">
291              <property name="enabled">
292               <bool>true</bool>
293              </property>
294             </widget>
295            </item>
296            <item>
297             <widget class="QLabel" name="label_2">
298              <property name="text">
299               <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Å&lt;span style=&quot; vertical-align:super;&quot;&gt;-1&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
300              </property>
301             </widget>
302            </item>
303           </layout>
304          </item>
305         </layout>
306        </widget>
307       </item>
308       <item>
309        <widget class="QGroupBox" name="paramGroupBox">
310         <property name="sizePolicy">
311          <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
312           <horstretch>0</horstretch>
313           <verstretch>0</verstretch>
314          </sizepolicy>
315         </property>
316         <property name="toolTip">
317          <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
318&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
319p, li { white-space: pre-wrap; }
320&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:8pt; font-weight:400; font-style:normal;&quot;&gt;
321&lt;pre style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&gt;&lt;span style=&quot; font-family:'Courier New'; font-size:9pt; color:#000000;&quot;&gt;P(r) is found by fitting a set of base functions to I(Q). The minimization involves a regularization term to ensure a smooth P(r). The regularization constant gives the size of that term. The suggested value is the value above which the output P(r) will have only one peak.&lt;/span&gt;&lt;/pre&gt;&lt;/body&gt;&lt;/html&gt;</string>
322         </property>
323         <property name="title">
324          <string>Parameters</string>
325         </property>
326         <layout class="QGridLayout" name="gridLayout_8">
327          <item row="1" column="0">
328           <widget class="QLabel" name="label_13">
329            <property name="text">
330             <string>Regularization constant</string>
331            </property>
332           </widget>
333          </item>
334          <item row="0" column="2">
335           <widget class="QPushButton" name="noOfTermsSuggestionButton">
336            <property name="enabled">
337             <bool>false</bool>
338            </property>
339            <property name="text">
340             <string/>
341            </property>
342           </widget>
343          </item>
344          <item row="2" column="2">
345           <widget class="QPushButton" name="explorerButton">
346            <property name="sizePolicy">
347             <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
348              <horstretch>0</horstretch>
349              <verstretch>0</verstretch>
350             </sizepolicy>
351            </property>
352            <property name="toolTip">
353             <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Open the D&lt;span style=&quot; vertical-align:sub;&quot;&gt;max&lt;/span&gt; explorer window.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
354            </property>
355            <property name="layoutDirection">
356             <enum>Qt::LeftToRight</enum>
357            </property>
358            <property name="text">
359             <string>Explore</string>
360            </property>
361           </widget>
362          </item>
363          <item row="0" column="1">
364           <widget class="QLineEdit" name="noOfTermsInput"/>
365          </item>
366          <item row="2" column="1">
367           <widget class="QLineEdit" name="maxDistanceInput"/>
368          </item>
369          <item row="0" column="0">
370           <widget class="QLabel" name="label_12">
371            <property name="text">
372             <string>Number of Terms</string>
373            </property>
374           </widget>
375          </item>
376          <item row="1" column="2">
377           <widget class="QPushButton" name="regConstantSuggestionButton">
378            <property name="enabled">
379             <bool>false</bool>
380            </property>
381            <property name="text">
382             <string/>
383            </property>
384           </widget>
385          </item>
386          <item row="2" column="0">
387           <widget class="QLabel" name="label_14">
388            <property name="text">
389             <string>Max distance [Å]</string>
390            </property>
391           </widget>
392          </item>
393          <item row="1" column="1">
394           <widget class="QLineEdit" name="regularizationConstantInput"/>
395          </item>
396         </layout>
397        </widget>
398       </item>
399       <item>
400        <widget class="QGroupBox" name="outputsGroupBox">
401         <property name="title">
402          <string>Outputs</string>
403         </property>
404         <layout class="QGridLayout" name="gridLayout_4">
405          <item row="0" column="1">
406           <widget class="QLabel" name="label_23">
407            <property name="text">
408             <string>Calculated Value</string>
409            </property>
410            <property name="alignment">
411             <set>Qt::AlignCenter</set>
412            </property>
413           </widget>
414          </item>
415          <item row="0" column="2">
416           <widget class="QLabel" name="label_28">
417            <property name="text">
418             <string>Units</string>
419            </property>
420           </widget>
421          </item>
422          <item row="6" column="1">
423           <widget class="QLineEdit" name="oscillationValue">
424            <property name="enabled">
425             <bool>false</bool>
426            </property>
427           </widget>
428          </item>
429          <item row="3" column="0">
430           <widget class="QLabel" name="label_17">
431            <property name="text">
432             <string>Background</string>
433            </property>
434           </widget>
435          </item>
436          <item row="7" column="1">
437           <widget class="QLineEdit" name="posFractionValue">
438            <property name="enabled">
439             <bool>false</bool>
440            </property>
441           </widget>
442          </item>
443          <item row="2" column="2">
444           <widget class="QLabel" name="label_25">
445            <property name="text">
446             <string>Å-1</string>
447            </property>
448           </widget>
449          </item>
450          <item row="3" column="1">
451           <widget class="QLineEdit" name="backgroundValue">
452            <property name="enabled">
453             <bool>false</bool>
454            </property>
455           </widget>
456          </item>
457          <item row="1" column="0">
458           <widget class="QLabel" name="label_15">
459            <property name="text">
460             <string>Rg</string>
461            </property>
462           </widget>
463          </item>
464          <item row="1" column="2">
465           <widget class="QLabel" name="label_24">
466            <property name="text">
467             <string>Å</string>
468            </property>
469           </widget>
470          </item>
471          <item row="6" column="0">
472           <widget class="QLabel" name="label_20">
473            <property name="text">
474             <string>Oscillations</string>
475            </property>
476           </widget>
477          </item>
478          <item row="4" column="0">
479           <widget class="QLabel" name="label_18">
480            <property name="text">
481             <string>Computation Time</string>
482            </property>
483           </widget>
484          </item>
485          <item row="4" column="2">
486           <widget class="QLabel" name="label_27">
487            <property name="text">
488             <string>secs</string>
489            </property>
490           </widget>
491          </item>
492          <item row="2" column="0">
493           <widget class="QLabel" name="label_16">
494            <property name="text">
495             <string>I(Q=0)</string>
496            </property>
497           </widget>
498          </item>
499          <item row="3" column="2">
500           <widget class="QLabel" name="label_26">
501            <property name="text">
502             <string>Å-1</string>
503            </property>
504           </widget>
505          </item>
506          <item row="0" column="0">
507           <widget class="QLabel" name="label_22">
508            <property name="text">
509             <string>Parameter</string>
510            </property>
511           </widget>
512          </item>
513          <item row="8" column="0">
514           <widget class="QLabel" name="label_29">
515            <property name="text">
516             <string>1-sigma positive fraction</string>
517            </property>
518           </widget>
519          </item>
520          <item row="2" column="1">
521           <widget class="QLineEdit" name="iQ0Value">
522            <property name="enabled">
523             <bool>false</bool>
524            </property>
525           </widget>
526          </item>
527          <item row="5" column="0">
528           <widget class="QLabel" name="label_19">
529            <property name="text">
530             <string>Chi^2/dof</string>
531            </property>
532           </widget>
533          </item>
534          <item row="1" column="1">
535           <widget class="QLineEdit" name="rgValue">
536            <property name="enabled">
537             <bool>false</bool>
538            </property>
539           </widget>
540          </item>
541          <item row="5" column="1">
542           <widget class="QLineEdit" name="chiDofValue">
543            <property name="enabled">
544             <bool>false</bool>
545            </property>
546           </widget>
547          </item>
548          <item row="4" column="1">
549           <widget class="QLineEdit" name="computationTimeValue">
550            <property name="enabled">
551             <bool>false</bool>
552            </property>
553           </widget>
554          </item>
555          <item row="7" column="0">
556           <widget class="QLabel" name="label_21">
557            <property name="text">
558             <string>Positive Fraction</string>
559            </property>
560           </widget>
561          </item>
562          <item row="8" column="1">
563           <widget class="QLineEdit" name="sigmaPosFractionValue">
564            <property name="enabled">
565             <bool>false</bool>
566            </property>
567           </widget>
568          </item>
569         </layout>
570        </widget>
571       </item>
572      </layout>
573     </widget>
574    </widget>
575   </item>
576  </layout>
577 </widget>
578 <resources/>
579 <connections/>
580</ui>
Note: See TracBrowser for help on using the repository browser.