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

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

Finished P(r) GUI. Added basic methods for closing window.

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