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

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

P(r) calculation threads running in Qt GUI.

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