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

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

Fitting connected. Initial prototype

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