source: sasview/src/sas/qtgui/Perspectives/Fitting/UI/FittingWidgetUI.ui @ 9d266d2

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

Added data weighting prototype

  • Property mode set to 100755
File size: 25.5 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>FittingWidgetUI</class>
4 <widget class="QWidget" name="FittingWidgetUI">
5  <property name="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>514</width>
10    <height>669</height>
11   </rect>
12  </property>
13  <property name="windowTitle">
14   <string>FittingWidget</string>
15  </property>
16  <layout class="QGridLayout" name="gridLayout_15">
17   <item row="0" column="0">
18    <widget class="QLabel" name="label">
19     <property name="text">
20      <string>File name:</string>
21     </property>
22    </widget>
23   </item>
24   <item row="0" column="1">
25    <widget class="QLabel" name="lblFilename">
26     <property name="text">
27      <string>None</string>
28     </property>
29    </widget>
30   </item>
31   <item row="0" column="2" colspan="4">
32    <spacer name="horizontalSpacer_4">
33     <property name="orientation">
34      <enum>Qt::Horizontal</enum>
35     </property>
36     <property name="sizeHint" stdset="0">
37      <size>
38       <width>459</width>
39       <height>20</height>
40      </size>
41     </property>
42    </spacer>
43   </item>
44   <item row="2" column="3">
45    <widget class="QPushButton" name="cmdPlot">
46     <property name="sizePolicy">
47      <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
48       <horstretch>0</horstretch>
49       <verstretch>0</verstretch>
50      </sizepolicy>
51     </property>
52     <property name="minimumSize">
53      <size>
54       <width>75</width>
55       <height>23</height>
56      </size>
57     </property>
58     <property name="text">
59      <string>Show Plot</string>
60     </property>
61    </widget>
62   </item>
63   <item row="2" column="4">
64    <widget class="QPushButton" name="cmdFit">
65     <property name="sizePolicy">
66      <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
67       <horstretch>0</horstretch>
68       <verstretch>0</verstretch>
69      </sizepolicy>
70     </property>
71     <property name="minimumSize">
72      <size>
73       <width>75</width>
74       <height>23</height>
75      </size>
76     </property>
77     <property name="text">
78      <string>Fit</string>
79     </property>
80    </widget>
81   </item>
82   <item row="2" column="5">
83    <widget class="QPushButton" name="cmdHelp">
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="minimumSize">
91      <size>
92       <width>75</width>
93       <height>23</height>
94      </size>
95     </property>
96     <property name="text">
97      <string>Help</string>
98     </property>
99    </widget>
100   </item>
101   <item row="2" column="0" colspan="3">
102    <spacer name="horizontalSpacer">
103     <property name="orientation">
104      <enum>Qt::Horizontal</enum>
105     </property>
106     <property name="sizeHint" stdset="0">
107      <size>
108       <width>273</width>
109       <height>20</height>
110      </size>
111     </property>
112    </spacer>
113   </item>
114   <item row="1" column="0" colspan="6">
115    <widget class="QTabWidget" name="tabFitting">
116     <property name="currentIndex">
117      <number>0</number>
118     </property>
119     <widget class="QWidget" name="tab_3">
120      <attribute name="title">
121       <string>Model</string>
122      </attribute>
123      <layout class="QGridLayout" name="gridLayout_19">
124       <item row="0" column="0" colspan="4">
125        <widget class="QGroupBox" name="groupBox_6">
126         <property name="sizePolicy">
127          <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
128           <horstretch>0</horstretch>
129           <verstretch>0</verstretch>
130          </sizepolicy>
131         </property>
132         <property name="title">
133          <string>Model </string>
134         </property>
135         <layout class="QGridLayout" name="gridLayout_2">
136          <item row="0" column="0">
137           <layout class="QGridLayout" name="gridLayout">
138            <item row="0" column="0">
139             <widget class="QLabel" name="label_2">
140              <property name="text">
141               <string>Category</string>
142              </property>
143             </widget>
144            </item>
145            <item row="0" column="1">
146             <widget class="QLabel" name="lblModel">
147              <property name="text">
148               <string>Model name</string>
149              </property>
150             </widget>
151            </item>
152            <item row="0" column="2">
153             <widget class="QLabel" name="lblStructure">
154              <property name="text">
155               <string>Structure factor</string>
156              </property>
157             </widget>
158            </item>
159            <item row="1" column="0">
160             <widget class="QComboBox" name="cbCategory"/>
161            </item>
162            <item row="1" column="1">
163             <widget class="QComboBox" name="cbModel"/>
164            </item>
165            <item row="1" column="2">
166             <widget class="QComboBox" name="cbStructureFactor"/>
167            </item>
168           </layout>
169          </item>
170          <item row="1" column="0">
171           <widget class="QTreeView" name="lstParams">
172            <property name="styleSheet">
173             <string notr="true"/>
174            </property>
175            <property name="selectionMode">
176             <enum>QAbstractItemView::ExtendedSelection</enum>
177            </property>
178           </widget>
179          </item>
180         </layout>
181        </widget>
182       </item>
183       <item row="1" column="0">
184        <widget class="QGroupBox" name="groupBox_7">
185         <property name="title">
186          <string>Options </string>
187         </property>
188         <layout class="QGridLayout" name="gridLayout_16">
189          <item row="0" column="0">
190           <widget class="QCheckBox" name="chkPolydispersity">
191            <property name="enabled">
192             <bool>true</bool>
193            </property>
194            <property name="toolTip">
195             <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Switch on orientational polydispersity.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
196            </property>
197            <property name="text">
198             <string>Polydispersity</string>
199            </property>
200            <property name="checkable">
201             <bool>true</bool>
202            </property>
203           </widget>
204          </item>
205          <item row="1" column="0">
206           <widget class="QCheckBox" name="chk2DView">
207            <property name="enabled">
208             <bool>true</bool>
209            </property>
210            <property name="toolTip">
211             <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Switch on 2D view of the model.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
212            </property>
213            <property name="text">
214             <string>2D view</string>
215            </property>
216            <property name="checkable">
217             <bool>true</bool>
218            </property>
219           </widget>
220          </item>
221          <item row="2" column="0">
222           <widget class="QCheckBox" name="chkMagnetism">
223            <property name="enabled">
224             <bool>true</bool>
225            </property>
226            <property name="toolTip">
227             <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Switch on magnetic scattering parameters.&lt;/p&gt;&lt;p&gt;This option is available only for 2D models.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
228            </property>
229            <property name="text">
230             <string>Magnetism</string>
231            </property>
232            <property name="checkable">
233             <bool>true</bool>
234            </property>
235           </widget>
236          </item>
237         </layout>
238        </widget>
239       </item>
240       <item row="1" column="1">
241        <widget class="QGroupBox" name="groupBox_8">
242         <property name="title">
243          <string>Fitting details </string>
244         </property>
245         <layout class="QGridLayout" name="gridLayout_17">
246          <item row="0" column="0" colspan="2">
247           <layout class="QGridLayout" name="gridLayout_8">
248            <item row="0" column="0">
249             <widget class="QLabel" name="label_16">
250              <property name="text">
251               <string>Min range</string>
252              </property>
253             </widget>
254            </item>
255            <item row="0" column="1">
256             <widget class="QLabel" name="lblMinRangeDef">
257              <property name="text">
258               <string>0.005</string>
259              </property>
260             </widget>
261            </item>
262            <item row="0" column="2">
263             <widget class="QLabel" name="label_17">
264              <property name="text">
265               <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>
266              </property>
267             </widget>
268            </item>
269            <item row="1" column="0">
270             <widget class="QLabel" name="label_18">
271              <property name="text">
272               <string>Max range</string>
273              </property>
274             </widget>
275            </item>
276            <item row="1" column="1">
277             <widget class="QLabel" name="lblMaxRangeDef">
278              <property name="text">
279               <string>0.1</string>
280              </property>
281             </widget>
282            </item>
283            <item row="1" column="2">
284             <widget class="QLabel" name="label_19">
285              <property name="text">
286               <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>
287              </property>
288             </widget>
289            </item>
290           </layout>
291          </item>
292          <item row="1" column="0">
293           <widget class="QLabel" name="label_20">
294            <property name="text">
295             <string>Smearing:</string>
296            </property>
297           </widget>
298          </item>
299          <item row="1" column="1">
300           <widget class="QLabel" name="lblCurrentSmearing">
301            <property name="text">
302             <string>None</string>
303            </property>
304           </widget>
305          </item>
306         </layout>
307        </widget>
308       </item>
309       <item row="1" column="2">
310        <spacer name="horizontalSpacer_3">
311         <property name="orientation">
312          <enum>Qt::Horizontal</enum>
313         </property>
314         <property name="sizeHint" stdset="0">
315          <size>
316           <width>207</width>
317           <height>20</height>
318          </size>
319         </property>
320        </spacer>
321       </item>
322       <item row="1" column="3">
323        <widget class="QGroupBox" name="groupBox_9">
324         <property name="title">
325          <string>Fitting error</string>
326         </property>
327         <layout class="QGridLayout" name="gridLayout_18">
328          <item row="0" column="0">
329           <layout class="QHBoxLayout" name="horizontalLayout_2">
330            <item>
331             <widget class="QLabel" name="label_23">
332              <property name="text">
333               <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;χ&lt;/span&gt;&lt;span style=&quot; font-weight:600; vertical-align:super;&quot;&gt;2&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
334              </property>
335             </widget>
336            </item>
337            <item>
338             <widget class="QLabel" name="lblChi2Value">
339              <property name="text">
340               <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;0.01625&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
341              </property>
342             </widget>
343            </item>
344           </layout>
345          </item>
346         </layout>
347        </widget>
348       </item>
349      </layout>
350     </widget>
351     <widget class="QWidget" name="QRanges">
352      <attribute name="title">
353       <string>Fit Options</string>
354      </attribute>
355      <layout class="QGridLayout" name="gridLayout_7">
356       <item row="0" column="0">
357        <widget class="QGroupBox" name="groupBox">
358         <property name="title">
359          <string>Fitting range</string>
360         </property>
361         <layout class="QGridLayout" name="gridLayout_4">
362          <item row="0" column="0" rowspan="2">
363           <layout class="QGridLayout" name="gridLayout_3">
364            <item row="0" column="0">
365             <widget class="QLabel" name="label_5">
366              <property name="text">
367               <string>Min range</string>
368              </property>
369             </widget>
370            </item>
371            <item row="0" column="1">
372             <widget class="QLineEdit" name="txtMinRange"/>
373            </item>
374            <item row="0" column="2">
375             <widget class="QLabel" name="label_7">
376              <property name="text">
377               <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>
378              </property>
379             </widget>
380            </item>
381            <item row="1" column="0">
382             <widget class="QLabel" name="label_6">
383              <property name="text">
384               <string>Max range</string>
385              </property>
386             </widget>
387            </item>
388            <item row="1" column="1">
389             <widget class="QLineEdit" name="txtMaxRange"/>
390            </item>
391            <item row="1" column="2">
392             <widget class="QLabel" name="label_8">
393              <property name="text">
394               <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>
395              </property>
396             </widget>
397            </item>
398           </layout>
399          </item>
400          <item row="0" column="1" rowspan="2">
401           <spacer name="horizontalSpacer_5">
402            <property name="orientation">
403             <enum>Qt::Horizontal</enum>
404            </property>
405            <property name="sizeHint" stdset="0">
406             <size>
407              <width>217</width>
408              <height>20</height>
409             </size>
410            </property>
411           </spacer>
412          </item>
413          <item row="0" column="2">
414           <widget class="QPushButton" name="cmdReset">
415            <property name="text">
416             <string>Reset</string>
417            </property>
418           </widget>
419          </item>
420          <item row="1" column="2">
421           <widget class="QPushButton" name="cmdMaskEdit">
422            <property name="text">
423             <string>Mask Editor</string>
424            </property>
425           </widget>
426          </item>
427         </layout>
428        </widget>
429       </item>
430       <item row="1" column="0">
431        <widget class="QGroupBox" name="groupBox_2">
432         <property name="title">
433          <string>Data points</string>
434         </property>
435         <layout class="QGridLayout" name="gridLayout_6">
436          <item row="0" column="0">
437           <layout class="QGridLayout" name="gridLayout_5">
438            <item row="0" column="0">
439             <widget class="QLabel" name="label_10">
440              <property name="text">
441               <string>Npts</string>
442              </property>
443             </widget>
444            </item>
445            <item row="0" column="1">
446             <widget class="QLineEdit" name="txtNpts"/>
447            </item>
448            <item row="0" column="2">
449             <widget class="QCheckBox" name="chkLogData">
450              <property name="text">
451               <string>Log spaced points</string>
452              </property>
453             </widget>
454            </item>
455            <item row="1" column="0">
456             <widget class="QLabel" name="label_11">
457              <property name="text">
458               <string>Npts(Fit)</string>
459              </property>
460             </widget>
461            </item>
462            <item row="1" column="1">
463             <widget class="QLineEdit" name="txtNptsFit"/>
464            </item>
465            <item row="2" column="0">
466             <widget class="QLabel" name="label_12">
467              <property name="text">
468               <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;χ&lt;span style=&quot; vertical-align:super;&quot;&gt;2&lt;/span&gt;/Npts&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
469              </property>
470             </widget>
471            </item>
472            <item row="2" column="1">
473             <widget class="QLineEdit" name="txtChi2"/>
474            </item>
475            <item row="2" column="3">
476             <widget class="QPushButton" name="cmdComputePoints">
477              <property name="text">
478               <string>Compute</string>
479              </property>
480             </widget>
481            </item>
482            <item row="1" column="2">
483             <spacer name="horizontalSpacer_7">
484              <property name="orientation">
485               <enum>Qt::Horizontal</enum>
486              </property>
487              <property name="sizeHint" stdset="0">
488               <size>
489                <width>40</width>
490                <height>20</height>
491               </size>
492              </property>
493             </spacer>
494            </item>
495           </layout>
496          </item>
497         </layout>
498        </widget>
499       </item>
500       <item row="2" column="0">
501        <widget class="QGroupBox" name="boxWeighting">
502         <property name="title">
503          <string>Weighting</string>
504         </property>
505         <layout class="QGridLayout" name="gridLayout_12">
506          <item row="0" column="0">
507           <layout class="QVBoxLayout" name="verticalLayout">
508            <item>
509             <widget class="QRadioButton" name="rbWeighting1">
510              <property name="text">
511               <string>None</string>
512              </property>
513              <property name="checked">
514               <bool>true</bool>
515              </property>
516             </widget>
517            </item>
518            <item>
519             <widget class="QRadioButton" name="rbWeighting2">
520              <property name="text">
521               <string>Use dI Data</string>
522              </property>
523             </widget>
524            </item>
525            <item>
526             <widget class="QRadioButton" name="rbWeighting3">
527              <property name="text">
528               <string>Use |sqrt(I Data)|</string>
529              </property>
530             </widget>
531            </item>
532            <item>
533             <widget class="QRadioButton" name="rbWeighting4">
534              <property name="text">
535               <string>Use |I Data|</string>
536              </property>
537             </widget>
538            </item>
539           </layout>
540          </item>
541         </layout>
542        </widget>
543       </item>
544       <item row="3" 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>347</height>
553          </size>
554         </property>
555        </spacer>
556       </item>
557      </layout>
558     </widget>
559     <widget class="QWidget" name="tab_5">
560      <attribute name="title">
561       <string>Resolution</string>
562      </attribute>
563      <layout class="QGridLayout" name="gridLayout_14">
564       <item row="0" column="0">
565        <widget class="QGroupBox" name="groupBox_4">
566         <property name="title">
567          <string>Instrumental Smearing</string>
568         </property>
569         <layout class="QGridLayout" name="gridLayout_13">
570          <item row="0" column="0">
571           <widget class="QComboBox" name="cbSmearing">
572            <property name="currentIndex">
573             <number>0</number>
574            </property>
575            <item>
576             <property name="text">
577              <string>None</string>
578             </property>
579            </item>
580            <item>
581             <property name="text">
582              <string>Use dQ Data</string>
583             </property>
584            </item>
585            <item>
586             <property name="text">
587              <string>Custom Pinhole Smear</string>
588             </property>
589            </item>
590            <item>
591             <property name="text">
592              <string>Custom Slit Smear</string>
593             </property>
594            </item>
595           </widget>
596          </item>
597          <item row="0" column="1">
598           <layout class="QGridLayout" name="gridLayout_11">
599            <item row="0" column="0">
600             <widget class="QLabel" name="lblSmearUp">
601              <property name="text">
602               <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;dQ&lt;span style=&quot; vertical-align:sub;&quot;&gt;low&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
603              </property>
604             </widget>
605            </item>
606            <item row="0" column="1">
607             <widget class="QLineEdit" name="txtSmearUp"/>
608            </item>
609            <item row="0" column="2">
610             <widget class="QLabel" name="label_14">
611              <property name="text">
612               <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>
613              </property>
614             </widget>
615            </item>
616            <item row="1" column="0">
617             <widget class="QLabel" name="lblSmearDown">
618              <property name="text">
619               <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;dQ&lt;span style=&quot; vertical-align:sub;&quot;&gt;high&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
620              </property>
621             </widget>
622            </item>
623            <item row="1" column="1">
624             <widget class="QLineEdit" name="txtSmearDown"/>
625            </item>
626            <item row="1" column="2">
627             <widget class="QLabel" name="label_15">
628              <property name="text">
629               <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>
630              </property>
631             </widget>
632            </item>
633           </layout>
634          </item>
635          <item row="0" column="2">
636           <spacer name="horizontalSpacer_2">
637            <property name="orientation">
638             <enum>Qt::Horizontal</enum>
639            </property>
640            <property name="sizeHint" stdset="0">
641             <size>
642              <width>71</width>
643              <height>20</height>
644             </size>
645            </property>
646           </spacer>
647          </item>
648         </layout>
649         <zorder>cbSmearing</zorder>
650         <zorder>horizontalSpacer_2</zorder>
651        </widget>
652       </item>
653       <item row="1" column="0">
654        <spacer name="verticalSpacer_2">
655         <property name="orientation">
656          <enum>Qt::Vertical</enum>
657         </property>
658         <property name="sizeHint" stdset="0">
659          <size>
660           <width>20</width>
661           <height>340</height>
662          </size>
663         </property>
664        </spacer>
665       </item>
666      </layout>
667     </widget>
668     <widget class="QWidget" name="tab_4">
669      <attribute name="title">
670       <string>Polydispersity</string>
671      </attribute>
672      <layout class="QGridLayout" name="gridLayout_10">
673       <item row="0" column="0">
674        <widget class="QGroupBox" name="groupBox_3">
675         <property name="title">
676          <string>Polydispersity and Orientational Distribution</string>
677         </property>
678         <layout class="QGridLayout" name="gridLayout_9">
679          <item row="0" column="0">
680           <widget class="QTableView" name="lstPoly"/>
681          </item>
682         </layout>
683        </widget>
684       </item>
685      </layout>
686     </widget>
687     <widget class="QWidget" name="tab_6">
688      <attribute name="title">
689       <string>Magnetism</string>
690      </attribute>
691      <layout class="QGridLayout" name="gridLayout_22">
692       <item row="0" column="0">
693        <widget class="QGroupBox" name="groupBox_10">
694         <property name="title">
695          <string>Polarisation/Magnetic Scattering </string>
696         </property>
697         <layout class="QGridLayout" name="gridLayout_21">
698          <item row="1" column="1">
699           <spacer name="horizontalSpacer_6">
700            <property name="orientation">
701             <enum>Qt::Horizontal</enum>
702            </property>
703            <property name="sizeHint" stdset="0">
704             <size>
705              <width>498</width>
706              <height>20</height>
707             </size>
708            </property>
709           </spacer>
710          </item>
711          <item row="0" column="0" colspan="3">
712           <widget class="QTableView" name="lstMagnetic"/>
713          </item>
714          <item row="1" column="2">
715           <widget class="QPushButton" name="cmdMagneticDisplay">
716            <property name="text">
717             <string>Display
718magnetic
719angles</string>
720            </property>
721           </widget>
722          </item>
723         </layout>
724        </widget>
725       </item>
726      </layout>
727     </widget>
728    </widget>
729   </item>
730  </layout>
731 </widget>
732 <resources/>
733 <connections/>
734</ui>
Note: See TracBrowser for help on using the repository browser.