source: sasview/src/sas/qtgui/Perspectives/PrInversion/UI/TabbedPrInversionUI.ui @ bde1a6b

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 bde1a6b was bde1a6b, checked in by krzywon, 6 years ago

Data loading into p(r) properly and estimates running.

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