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

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

Basic setup of Pr Qt window complete.

  • Property mode set to 100644
File size: 20.2 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="groupBox">
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">
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="QLineEdit" name="dataFileName">
191              <property name="enabled">
192               <bool>true</bool>
193              </property>
194              <property name="frame">
195               <bool>false</bool>
196              </property>
197              <property name="readOnly">
198               <bool>false</bool>
199              </property>
200             </widget>
201            </item>
202           </layout>
203          </item>
204         </layout>
205        </widget>
206       </item>
207       <item>
208        <widget class="QGroupBox" name="groupBox_3">
209         <property name="title">
210          <string>Total Q range</string>
211         </property>
212         <layout class="QGridLayout" name="gridLayout_3">
213          <item row="0" column="0">
214           <layout class="QHBoxLayout" name="horizontalLayout_4">
215            <item>
216             <widget class="QLabel" name="label_7">
217              <property name="text">
218               <string>Min:</string>
219              </property>
220             </widget>
221            </item>
222            <item>
223             <widget class="QLineEdit" name="minQInput">
224              <property name="enabled">
225               <bool>true</bool>
226              </property>
227             </widget>
228            </item>
229            <item>
230             <widget class="QLabel" name="label_11">
231              <property name="text">
232               <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>
233              </property>
234             </widget>
235            </item>
236            <item>
237             <widget class="QLabel" name="label_8">
238              <property name="text">
239               <string>Max:</string>
240              </property>
241             </widget>
242            </item>
243            <item>
244             <widget class="QLineEdit" name="maxQInput">
245              <property name="enabled">
246               <bool>true</bool>
247              </property>
248             </widget>
249            </item>
250            <item>
251             <widget class="QLabel" name="label_9">
252              <property name="text">
253               <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>
254              </property>
255             </widget>
256            </item>
257           </layout>
258          </item>
259         </layout>
260        </widget>
261       </item>
262       <item>
263        <widget class="QGroupBox" name="groupBox_2">
264         <property name="title">
265          <string>Slit Parameters</string>
266         </property>
267         <layout class="QGridLayout" name="gridLayout">
268          <item row="0" column="0">
269           <layout class="QHBoxLayout" name="horizontalLayout">
270            <item>
271             <widget class="QLabel" name="label_3">
272              <property name="text">
273               <string>Height</string>
274              </property>
275             </widget>
276            </item>
277            <item>
278             <widget class="QLineEdit" name="slitHeightInput">
279              <property name="enabled">
280               <bool>true</bool>
281              </property>
282             </widget>
283            </item>
284            <item>
285             <widget class="QLabel" name="label_6">
286              <property name="text">
287               <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>
288              </property>
289             </widget>
290            </item>
291            <item>
292             <widget class="QLabel" name="label_4">
293              <property name="text">
294               <string>Width</string>
295              </property>
296             </widget>
297            </item>
298            <item>
299             <widget class="QLineEdit" name="slitWidthInput">
300              <property name="enabled">
301               <bool>true</bool>
302              </property>
303             </widget>
304            </item>
305            <item>
306             <widget class="QLabel" name="label_2">
307              <property name="text">
308               <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>
309              </property>
310             </widget>
311            </item>
312           </layout>
313          </item>
314         </layout>
315        </widget>
316       </item>
317       <item>
318        <widget class="QGroupBox" name="groupBox_5">
319         <property name="sizePolicy">
320          <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
321           <horstretch>0</horstretch>
322           <verstretch>0</verstretch>
323          </sizepolicy>
324         </property>
325         <property name="toolTip">
326          <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;
327&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;
328p, li { white-space: pre-wrap; }
329&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;
330&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>
331         </property>
332         <property name="title">
333          <string>Parameters</string>
334         </property>
335         <layout class="QGridLayout" name="gridLayout_8">
336          <item row="1" column="0">
337           <widget class="QLabel" name="label_13">
338            <property name="text">
339             <string>Regularization constant</string>
340            </property>
341           </widget>
342          </item>
343          <item row="0" column="2">
344           <widget class="QPushButton" name="noOfTermsSuggestionButton">
345            <property name="enabled">
346             <bool>false</bool>
347            </property>
348            <property name="text">
349             <string/>
350            </property>
351           </widget>
352          </item>
353          <item row="2" column="2">
354           <widget class="QPushButton" name="explorerButton">
355            <property name="sizePolicy">
356             <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
357              <horstretch>0</horstretch>
358              <verstretch>0</verstretch>
359             </sizepolicy>
360            </property>
361            <property name="toolTip">
362             <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>
363            </property>
364            <property name="layoutDirection">
365             <enum>Qt::LeftToRight</enum>
366            </property>
367            <property name="text">
368             <string>Explore</string>
369            </property>
370           </widget>
371          </item>
372          <item row="0" column="1">
373           <widget class="QLineEdit" name="noOfTermsInput"/>
374          </item>
375          <item row="2" column="1">
376           <widget class="QLineEdit" name="maxDistanceInput"/>
377          </item>
378          <item row="0" column="0">
379           <widget class="QLabel" name="label_12">
380            <property name="text">
381             <string>Number of Terms</string>
382            </property>
383           </widget>
384          </item>
385          <item row="1" column="2">
386           <widget class="QPushButton" name="regConstantSuggestionButton">
387            <property name="enabled">
388             <bool>false</bool>
389            </property>
390            <property name="text">
391             <string/>
392            </property>
393           </widget>
394          </item>
395          <item row="2" column="0">
396           <widget class="QLabel" name="label_14">
397            <property name="text">
398             <string>Max distance [Å]</string>
399            </property>
400           </widget>
401          </item>
402          <item row="1" column="1">
403           <widget class="QLineEdit" name="regularizationConstantInput"/>
404          </item>
405         </layout>
406        </widget>
407       </item>
408      </layout>
409     </widget>
410     <widget class="QWidget" name="tabOptions">
411      <attribute name="title">
412       <string>Outputs</string>
413      </attribute>
414      <layout class="QGridLayout" name="gridLayout_6">
415       <item row="0" column="0">
416        <widget class="QGroupBox" name="groupBox_4">
417         <property name="title">
418          <string>Outputs</string>
419         </property>
420         <layout class="QGridLayout" name="gridLayout_4">
421          <item row="0" column="1">
422           <widget class="QLabel" name="label_23">
423            <property name="text">
424             <string>Calculated Value</string>
425            </property>
426            <property name="alignment">
427             <set>Qt::AlignCenter</set>
428            </property>
429           </widget>
430          </item>
431          <item row="0" column="2">
432           <widget class="QLabel" name="label_28">
433            <property name="text">
434             <string>Units</string>
435            </property>
436           </widget>
437          </item>
438          <item row="6" column="1">
439           <widget class="QLineEdit" name="oscillationValue">
440            <property name="enabled">
441             <bool>false</bool>
442            </property>
443           </widget>
444          </item>
445          <item row="3" column="0">
446           <widget class="QLabel" name="label_17">
447            <property name="text">
448             <string>Background</string>
449            </property>
450           </widget>
451          </item>
452          <item row="7" column="1">
453           <widget class="QLineEdit" name="posFractionValue">
454            <property name="enabled">
455             <bool>false</bool>
456            </property>
457           </widget>
458          </item>
459          <item row="2" column="2">
460           <widget class="QLabel" name="label_25">
461            <property name="text">
462             <string>Å-1</string>
463            </property>
464           </widget>
465          </item>
466          <item row="3" column="1">
467           <widget class="QLineEdit" name="backgroundValue">
468            <property name="enabled">
469             <bool>false</bool>
470            </property>
471           </widget>
472          </item>
473          <item row="1" column="0">
474           <widget class="QLabel" name="label_15">
475            <property name="text">
476             <string>Rg</string>
477            </property>
478           </widget>
479          </item>
480          <item row="1" column="2">
481           <widget class="QLabel" name="label_24">
482            <property name="text">
483             <string>Å</string>
484            </property>
485           </widget>
486          </item>
487          <item row="6" column="0">
488           <widget class="QLabel" name="label_20">
489            <property name="text">
490             <string>Oscillations</string>
491            </property>
492           </widget>
493          </item>
494          <item row="4" column="0">
495           <widget class="QLabel" name="label_18">
496            <property name="text">
497             <string>Computation Time</string>
498            </property>
499           </widget>
500          </item>
501          <item row="4" column="2">
502           <widget class="QLabel" name="label_27">
503            <property name="text">
504             <string>secs</string>
505            </property>
506           </widget>
507          </item>
508          <item row="2" column="0">
509           <widget class="QLabel" name="label_16">
510            <property name="text">
511             <string>I(Q=0)</string>
512            </property>
513           </widget>
514          </item>
515          <item row="3" column="2">
516           <widget class="QLabel" name="label_26">
517            <property name="text">
518             <string>Å-1</string>
519            </property>
520           </widget>
521          </item>
522          <item row="0" column="0">
523           <widget class="QLabel" name="label_22">
524            <property name="text">
525             <string>Parameter</string>
526            </property>
527           </widget>
528          </item>
529          <item row="8" column="0">
530           <widget class="QLabel" name="label_29">
531            <property name="text">
532             <string>1-sigma positive fraction</string>
533            </property>
534           </widget>
535          </item>
536          <item row="2" column="1">
537           <widget class="QLineEdit" name="iQ0Value">
538            <property name="enabled">
539             <bool>false</bool>
540            </property>
541           </widget>
542          </item>
543          <item row="5" column="0">
544           <widget class="QLabel" name="label_19">
545            <property name="text">
546             <string>Chi^2/dof</string>
547            </property>
548           </widget>
549          </item>
550          <item row="1" column="1">
551           <widget class="QLineEdit" name="rgValue">
552            <property name="enabled">
553             <bool>false</bool>
554            </property>
555           </widget>
556          </item>
557          <item row="5" column="1">
558           <widget class="QLineEdit" name="chiDofValue">
559            <property name="enabled">
560             <bool>false</bool>
561            </property>
562           </widget>
563          </item>
564          <item row="4" column="1">
565           <widget class="QLineEdit" name="computationTimeValue">
566            <property name="enabled">
567             <bool>false</bool>
568            </property>
569           </widget>
570          </item>
571          <item row="7" column="0">
572           <widget class="QLabel" name="label_21">
573            <property name="text">
574             <string>Positive Fraction</string>
575            </property>
576           </widget>
577          </item>
578          <item row="8" column="1">
579           <widget class="QLineEdit" name="sigmaPosFractionValue">
580            <property name="enabled">
581             <bool>false</bool>
582            </property>
583           </widget>
584          </item>
585         </layout>
586        </widget>
587       </item>
588       <item row="1" column="0">
589        <spacer name="verticalSpacer_2">
590         <property name="orientation">
591          <enum>Qt::Vertical</enum>
592         </property>
593         <property name="sizeHint" stdset="0">
594          <size>
595           <width>20</width>
596           <height>40</height>
597          </size>
598         </property>
599        </spacer>
600       </item>
601      </layout>
602     </widget>
603    </widget>
604   </item>
605  </layout>
606 </widget>
607 <resources/>
608 <connections/>
609</ui>
Note: See TracBrowser for help on using the repository browser.