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

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 6a3e1fe was 6a3e1fe, checked in by Piotr Rozyczko <rozyczko@…>, 6 years ago

Implemented hash method for certain QStandardItem objects, allowing them to be used as dict keys. SASVIEW-806
Minor inversion perspective fixes. SASVIEW-338

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