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

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

Allow P(r) to calculate current data set or all. Update documentation and error handling.

  • Property mode set to 100644
File size: 19.7 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="calculateThisButton">
42       <property name="text">
43        <string>Calculate</string>
44       </property>
45      </widget>
46     </item>
47     <item>
48      <widget class="QPushButton" name="calculateAllButton">
49       <property name="sizePolicy">
50        <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
51         <horstretch>0</horstretch>
52         <verstretch>0</verstretch>
53        </sizepolicy>
54       </property>
55       <property name="text">
56        <string>Calculate All</string>
57       </property>
58      </widget>
59     </item>
60     <item>
61      <spacer name="horizontalSpacer">
62       <property name="orientation">
63        <enum>Qt::Horizontal</enum>
64       </property>
65       <property name="sizeType">
66        <enum>QSizePolicy::Expanding</enum>
67       </property>
68       <property name="sizeHint" stdset="0">
69        <size>
70         <width>40</width>
71         <height>20</height>
72        </size>
73       </property>
74      </spacer>
75     </item>
76     <item>
77      <widget class="QPushButton" name="helpButton">
78       <property name="sizePolicy">
79        <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
80         <horstretch>0</horstretch>
81         <verstretch>0</verstretch>
82        </sizepolicy>
83       </property>
84       <property name="text">
85        <string>Help</string>
86       </property>
87      </widget>
88     </item>
89    </layout>
90   </item>
91   <item row="2" column="0">
92    <spacer name="verticalSpacer">
93     <property name="orientation">
94      <enum>Qt::Vertical</enum>
95     </property>
96     <property name="sizeHint" stdset="0">
97      <size>
98       <width>20</width>
99       <height>2</height>
100      </size>
101     </property>
102    </spacer>
103   </item>
104   <item row="1" column="0">
105    <widget class="QTabWidget" name="PrTabWidget">
106     <property name="sizePolicy">
107      <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
108       <horstretch>0</horstretch>
109       <verstretch>0</verstretch>
110      </sizepolicy>
111     </property>
112     <property name="minimumSize">
113      <size>
114       <width>0</width>
115       <height>0</height>
116      </size>
117     </property>
118     <property name="currentIndex">
119      <number>0</number>
120     </property>
121     <widget class="QWidget" name="tabMain">
122      <attribute name="title">
123       <string>P(r) Parameters</string>
124      </attribute>
125      <layout class="QVBoxLayout" name="verticalLayout_6" stretch="0,1,1,0">
126       <item>
127        <widget class="QGroupBox" name="dataSourceGroupBox">
128         <property name="title">
129          <string>I(q) data source</string>
130         </property>
131         <layout class="QGridLayout" name="gridLayout_2">
132          <item row="1" column="0">
133           <layout class="QHBoxLayout" name="horizontalLayout_3" stretch="2,1,0,2,2">
134            <item>
135             <widget class="QLabel" name="label_5">
136              <property name="text">
137               <string>Background Level:</string>
138              </property>
139             </widget>
140            </item>
141            <item>
142             <widget class="QLineEdit" name="backgroundInput">
143              <property name="enabled">
144               <bool>false</bool>
145              </property>
146              <property name="text">
147               <string>0.0</string>
148              </property>
149             </widget>
150            </item>
151            <item>
152             <widget class="QLabel" name="label_10">
153              <property name="text">
154               <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>
155              </property>
156             </widget>
157            </item>
158            <item>
159             <widget class="QRadioButton" name="estimateBgd">
160              <property name="text">
161               <string>Estimate</string>
162              </property>
163             </widget>
164            </item>
165            <item>
166             <widget class="QRadioButton" name="manualBgd">
167              <property name="text">
168               <string>Manual Input</string>
169              </property>
170             </widget>
171            </item>
172           </layout>
173          </item>
174          <item row="0" column="0">
175           <layout class="QHBoxLayout" name="horizontalLayout_2" stretch="1,3">
176            <item>
177             <widget class="QLabel" name="label">
178              <property name="text">
179               <string>Data File Name:</string>
180              </property>
181             </widget>
182            </item>
183            <item>
184             <widget class="QComboBox" name="dataList"/>
185            </item>
186           </layout>
187          </item>
188         </layout>
189        </widget>
190       </item>
191       <item>
192        <widget class="QGroupBox" name="qRangeGroupBox">
193         <property name="title">
194          <string>Total Q range</string>
195         </property>
196         <layout class="QGridLayout" name="gridLayout_3">
197          <item row="0" column="0">
198           <layout class="QHBoxLayout" name="horizontalLayout_4">
199            <item>
200             <widget class="QLabel" name="label_7">
201              <property name="text">
202               <string>Min:</string>
203              </property>
204             </widget>
205            </item>
206            <item>
207             <widget class="QLineEdit" name="minQInput">
208              <property name="enabled">
209               <bool>true</bool>
210              </property>
211             </widget>
212            </item>
213            <item>
214             <widget class="QLabel" name="label_11">
215              <property name="text">
216               <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>
217              </property>
218             </widget>
219            </item>
220            <item>
221             <widget class="QLabel" name="label_8">
222              <property name="text">
223               <string>Max:</string>
224              </property>
225             </widget>
226            </item>
227            <item>
228             <widget class="QLineEdit" name="maxQInput">
229              <property name="enabled">
230               <bool>true</bool>
231              </property>
232             </widget>
233            </item>
234            <item>
235             <widget class="QLabel" name="label_9">
236              <property name="text">
237               <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>
238              </property>
239             </widget>
240            </item>
241           </layout>
242          </item>
243         </layout>
244        </widget>
245       </item>
246       <item>
247        <widget class="QGroupBox" name="slitParamsGroupBox">
248         <property name="title">
249          <string>Slit Parameters</string>
250         </property>
251         <layout class="QGridLayout" name="gridLayout">
252          <item row="0" column="0">
253           <layout class="QHBoxLayout" name="horizontalLayout">
254            <item>
255             <widget class="QLabel" name="label_3">
256              <property name="text">
257               <string>Height</string>
258              </property>
259             </widget>
260            </item>
261            <item>
262             <widget class="QLineEdit" name="slitHeightInput">
263              <property name="enabled">
264               <bool>true</bool>
265              </property>
266             </widget>
267            </item>
268            <item>
269             <widget class="QLabel" name="label_6">
270              <property name="text">
271               <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>
272              </property>
273             </widget>
274            </item>
275            <item>
276             <widget class="QLabel" name="label_4">
277              <property name="text">
278               <string>Width</string>
279              </property>
280             </widget>
281            </item>
282            <item>
283             <widget class="QLineEdit" name="slitWidthInput">
284              <property name="enabled">
285               <bool>true</bool>
286              </property>
287             </widget>
288            </item>
289            <item>
290             <widget class="QLabel" name="label_2">
291              <property name="text">
292               <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>
293              </property>
294             </widget>
295            </item>
296           </layout>
297          </item>
298         </layout>
299        </widget>
300       </item>
301       <item>
302        <widget class="QGroupBox" name="paramGroupBox">
303         <property name="sizePolicy">
304          <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
305           <horstretch>0</horstretch>
306           <verstretch>0</verstretch>
307          </sizepolicy>
308         </property>
309         <property name="toolTip">
310          <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;
311&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;
312p, li { white-space: pre-wrap; }
313&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;
314&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>
315         </property>
316         <property name="title">
317          <string>Parameters</string>
318         </property>
319         <layout class="QGridLayout" name="gridLayout_8">
320          <item row="1" column="0">
321           <widget class="QLabel" name="label_13">
322            <property name="text">
323             <string>Regularization constant</string>
324            </property>
325           </widget>
326          </item>
327          <item row="0" column="2">
328           <widget class="QPushButton" name="noOfTermsSuggestionButton">
329            <property name="enabled">
330             <bool>false</bool>
331            </property>
332            <property name="text">
333             <string/>
334            </property>
335           </widget>
336          </item>
337          <item row="2" column="2">
338           <widget class="QPushButton" name="explorerButton">
339            <property name="sizePolicy">
340             <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
341              <horstretch>0</horstretch>
342              <verstretch>0</verstretch>
343             </sizepolicy>
344            </property>
345            <property name="toolTip">
346             <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>
347            </property>
348            <property name="layoutDirection">
349             <enum>Qt::LeftToRight</enum>
350            </property>
351            <property name="text">
352             <string>Explore</string>
353            </property>
354           </widget>
355          </item>
356          <item row="0" column="1">
357           <widget class="QLineEdit" name="noOfTermsInput"/>
358          </item>
359          <item row="2" column="1">
360           <widget class="QLineEdit" name="maxDistanceInput"/>
361          </item>
362          <item row="0" column="0">
363           <widget class="QLabel" name="label_12">
364            <property name="text">
365             <string>Number of Terms</string>
366            </property>
367           </widget>
368          </item>
369          <item row="1" column="2">
370           <widget class="QPushButton" name="regConstantSuggestionButton">
371            <property name="enabled">
372             <bool>false</bool>
373            </property>
374            <property name="text">
375             <string/>
376            </property>
377           </widget>
378          </item>
379          <item row="2" column="0">
380           <widget class="QLabel" name="label_14">
381            <property name="text">
382             <string>Max distance [Å]</string>
383            </property>
384           </widget>
385          </item>
386          <item row="1" column="1">
387           <widget class="QLineEdit" name="regularizationConstantInput"/>
388          </item>
389         </layout>
390        </widget>
391       </item>
392      </layout>
393     </widget>
394     <widget class="QWidget" name="tabOptions">
395      <attribute name="title">
396       <string>Outputs</string>
397      </attribute>
398      <layout class="QGridLayout" name="gridLayout_6">
399       <item row="0" column="0">
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       <item row="1" column="0">
573        <spacer name="verticalSpacer_2">
574         <property name="orientation">
575          <enum>Qt::Vertical</enum>
576         </property>
577         <property name="sizeHint" stdset="0">
578          <size>
579           <width>20</width>
580           <height>40</height>
581          </size>
582         </property>
583        </spacer>
584       </item>
585      </layout>
586     </widget>
587    </widget>
588   </item>
589  </layout>
590 </widget>
591 <resources/>
592 <connections/>
593</ui>
Note: See TracBrowser for help on using the repository browser.