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

ESS_GUI_iss959
Last change on this file since 6052c02 was 6052c02, checked in by Torin Cooper-Bennun <torin.cooper-bennun@…>, 6 years ago

added S(Q) tab with a preliminary (example) param. tree, incl. attempt to use comboboxes for some properties

  • Property mode set to 100755
File size: 17.9 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>487</width>
10    <height>605</height>
11   </rect>
12  </property>
13  <property name="sizePolicy">
14   <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
15    <horstretch>0</horstretch>
16    <verstretch>0</verstretch>
17   </sizepolicy>
18  </property>
19  <property name="minimumSize">
20   <size>
21    <width>434</width>
22    <height>466</height>
23   </size>
24  </property>
25  <property name="windowTitle">
26   <string>FittingWidget</string>
27  </property>
28  <layout class="QGridLayout" name="gridLayout_5">
29   <item row="0" column="0">
30    <layout class="QHBoxLayout" name="horizontalLayout">
31     <item>
32      <widget class="QLabel" name="label">
33       <property name="text">
34        <string>File name:</string>
35       </property>
36      </widget>
37     </item>
38     <item>
39      <layout class="QGridLayout" name="gridLayout_3">
40       <item row="0" column="0">
41        <widget class="QComboBox" name="cbFileNames">
42         <property name="toolTip">
43          <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Choose a file to set initial fit parameters.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
44         </property>
45         <property name="sizeAdjustPolicy">
46          <enum>QComboBox::AdjustToContents</enum>
47         </property>
48        </widget>
49       </item>
50       <item row="0" column="1">
51        <widget class="QLabel" name="lblFilename">
52         <property name="text">
53          <string>None</string>
54         </property>
55        </widget>
56       </item>
57      </layout>
58     </item>
59     <item>
60      <spacer name="horizontalSpacer_4">
61       <property name="orientation">
62        <enum>Qt::Horizontal</enum>
63       </property>
64       <property name="sizeHint" stdset="0">
65        <size>
66         <width>459</width>
67         <height>20</height>
68        </size>
69       </property>
70      </spacer>
71     </item>
72    </layout>
73   </item>
74   <item row="1" column="0">
75    <widget class="QTabWidget" name="tabFitting">
76     <property name="currentIndex">
77      <number>0</number>
78     </property>
79     <widget class="QWidget" name="tab_3">
80      <attribute name="title">
81       <string>Model</string>
82      </attribute>
83      <layout class="QGridLayout" name="gridLayout_4">
84       <item row="0" column="0" colspan="4">
85        <widget class="QGroupBox" name="groupBox_6">
86         <property name="sizePolicy">
87          <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
88           <horstretch>0</horstretch>
89           <verstretch>0</verstretch>
90          </sizepolicy>
91         </property>
92         <property name="title">
93          <string>Model </string>
94         </property>
95         <layout class="QGridLayout" name="gridLayout_2">
96          <item row="0" column="0">
97           <layout class="QGridLayout" name="gridLayout">
98            <item row="0" column="0">
99             <widget class="QLabel" name="label_2">
100              <property name="text">
101               <string>Category</string>
102              </property>
103             </widget>
104            </item>
105            <item row="0" column="1">
106             <widget class="QLabel" name="lblModel">
107              <property name="text">
108               <string>Model name</string>
109              </property>
110             </widget>
111            </item>
112            <item row="0" column="2">
113             <widget class="QLabel" name="lblStructure">
114              <property name="text">
115               <string>Structure factor</string>
116              </property>
117             </widget>
118            </item>
119            <item row="1" column="0">
120             <widget class="QComboBox" name="cbCategory">
121              <property name="toolTip">
122               <string>Select a category</string>
123              </property>
124             </widget>
125            </item>
126            <item row="1" column="1">
127             <widget class="QComboBox" name="cbModel">
128              <property name="toolTip">
129               <string>Select a model</string>
130              </property>
131             </widget>
132            </item>
133            <item row="1" column="2">
134             <widget class="QComboBox" name="cbStructureFactor">
135              <property name="toolTip">
136               <string>Select a structure factor</string>
137              </property>
138             </widget>
139            </item>
140           </layout>
141          </item>
142          <item row="1" column="0">
143           <widget class="QTreeView" name="lstParams">
144            <property name="styleSheet">
145             <string notr="true"/>
146            </property>
147            <property name="editTriggers">
148             <set>QAbstractItemView::CurrentChanged|QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed|QAbstractItemView::SelectedClicked</set>
149            </property>
150            <property name="selectionMode">
151             <enum>QAbstractItemView::ExtendedSelection</enum>
152            </property>
153           </widget>
154          </item>
155         </layout>
156        </widget>
157       </item>
158       <item row="1" column="0">
159        <widget class="QGroupBox" name="groupBox_7">
160         <property name="title">
161          <string>Options </string>
162         </property>
163         <layout class="QVBoxLayout" name="verticalLayout">
164          <item>
165           <widget class="QCheckBox" name="chkPolydispersity">
166            <property name="enabled">
167             <bool>true</bool>
168            </property>
169            <property name="toolTip">
170             <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>
171            </property>
172            <property name="text">
173             <string>Polydispersity</string>
174            </property>
175            <property name="checkable">
176             <bool>true</bool>
177            </property>
178           </widget>
179          </item>
180          <item>
181           <widget class="QCheckBox" name="chk2DView">
182            <property name="enabled">
183             <bool>true</bool>
184            </property>
185            <property name="toolTip">
186             <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>
187            </property>
188            <property name="text">
189             <string>2D view</string>
190            </property>
191            <property name="checkable">
192             <bool>true</bool>
193            </property>
194           </widget>
195          </item>
196          <item>
197           <widget class="QCheckBox" name="chkMagnetism">
198            <property name="enabled">
199             <bool>true</bool>
200            </property>
201            <property name="toolTip">
202             <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>
203            </property>
204            <property name="text">
205             <string>Magnetism</string>
206            </property>
207            <property name="checkable">
208             <bool>true</bool>
209            </property>
210           </widget>
211          </item>
212          <item>
213           <widget class="QCheckBox" name="chkChainFit">
214            <property name="enabled">
215             <bool>true</bool>
216            </property>
217            <property name="toolTip">
218             <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Switch on Chain Fitting (parameter reuse) for batch datasets.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
219            </property>
220            <property name="text">
221             <string>Chain fit</string>
222            </property>
223            <property name="checkable">
224             <bool>true</bool>
225            </property>
226           </widget>
227          </item>
228         </layout>
229        </widget>
230       </item>
231       <item row="1" column="1">
232        <widget class="QGroupBox" name="groupBox_8">
233         <property name="title">
234          <string>Fitting details </string>
235         </property>
236         <layout class="QGridLayout" name="gridLayout_17">
237          <item row="0" column="0" colspan="2">
238           <layout class="QGridLayout" name="gridLayout_8">
239            <item row="0" column="0">
240             <widget class="QLabel" name="label_16">
241              <property name="text">
242               <string>Min range</string>
243              </property>
244             </widget>
245            </item>
246            <item row="0" column="1">
247             <widget class="QLabel" name="lblMinRangeDef">
248              <property name="text">
249               <string>0.005</string>
250              </property>
251             </widget>
252            </item>
253            <item row="0" column="2">
254             <widget class="QLabel" name="label_17">
255              <property name="text">
256               <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>
257              </property>
258             </widget>
259            </item>
260            <item row="1" column="0">
261             <widget class="QLabel" name="label_18">
262              <property name="text">
263               <string>Max range</string>
264              </property>
265             </widget>
266            </item>
267            <item row="1" column="1">
268             <widget class="QLabel" name="lblMaxRangeDef">
269              <property name="text">
270               <string>0.1</string>
271              </property>
272             </widget>
273            </item>
274            <item row="1" column="2">
275             <widget class="QLabel" name="label_19">
276              <property name="text">
277               <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>
278              </property>
279             </widget>
280            </item>
281           </layout>
282          </item>
283          <item row="1" column="0">
284           <widget class="QLabel" name="label_20">
285            <property name="text">
286             <string>Smearing:</string>
287            </property>
288           </widget>
289          </item>
290          <item row="1" column="1">
291           <widget class="QLabel" name="lblCurrentSmearing">
292            <property name="text">
293             <string>None</string>
294            </property>
295           </widget>
296          </item>
297         </layout>
298        </widget>
299       </item>
300       <item row="1" column="2">
301        <spacer name="horizontalSpacer_3">
302         <property name="orientation">
303          <enum>Qt::Horizontal</enum>
304         </property>
305         <property name="sizeHint" stdset="0">
306          <size>
307           <width>207</width>
308           <height>20</height>
309          </size>
310         </property>
311        </spacer>
312       </item>
313       <item row="1" column="3">
314        <widget class="QGroupBox" name="groupBox_9">
315         <property name="title">
316          <string>Fitting error</string>
317         </property>
318         <layout class="QGridLayout" name="gridLayout_18">
319          <item row="0" column="0">
320           <layout class="QHBoxLayout" name="horizontalLayout_2">
321            <item>
322             <widget class="QLabel" name="label_23">
323              <property name="text">
324               <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>
325              </property>
326             </widget>
327            </item>
328            <item>
329             <widget class="QLabel" name="lblChi2Value">
330              <property name="text">
331               <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>
332              </property>
333             </widget>
334            </item>
335           </layout>
336          </item>
337         </layout>
338        </widget>
339       </item>
340      </layout>
341     </widget>
342     <widget class="QWidget" name="tabOptions">
343      <attribute name="title">
344       <string>Fit Options</string>
345      </attribute>
346     </widget>
347     <widget class="QWidget" name="tabResolution">
348      <attribute name="title">
349       <string>Resolution</string>
350      </attribute>
351     </widget>
352     <widget class="QWidget" name="tabStructure">
353      <attribute name="title">
354       <string>S(Q) Options</string>
355      </attribute>
356      <layout class="QGridLayout" name="gridLayout_7">
357       <property name="leftMargin">
358        <number>15</number>
359       </property>
360       <property name="topMargin">
361        <number>15</number>
362       </property>
363       <property name="rightMargin">
364        <number>15</number>
365       </property>
366       <property name="bottomMargin">
367        <number>15</number>
368       </property>
369       <item row="0" column="0">
370        <widget class="QTreeView" name="lstStructureOptions"/>
371       </item>
372      </layout>
373     </widget>
374     <widget class="QWidget" name="tab_4">
375      <attribute name="title">
376       <string>Polydispersity</string>
377      </attribute>
378      <layout class="QGridLayout" name="gridLayout_10">
379       <item row="0" column="0">
380        <widget class="QGroupBox" name="groupBox_3">
381         <property name="title">
382          <string>Polydispersity and Orientational Distribution</string>
383         </property>
384         <layout class="QGridLayout" name="gridLayout_9">
385          <item row="0" column="0">
386           <widget class="QTableView" name="lstPoly">
387            <property name="editTriggers">
388             <set>QAbstractItemView::AllEditTriggers</set>
389            </property>
390            <property name="alternatingRowColors">
391             <bool>true</bool>
392            </property>
393            <property name="selectionMode">
394             <enum>QAbstractItemView::ExtendedSelection</enum>
395            </property>
396            <property name="selectionBehavior">
397             <enum>QAbstractItemView::SelectRows</enum>
398            </property>
399           </widget>
400          </item>
401         </layout>
402        </widget>
403       </item>
404      </layout>
405     </widget>
406     <widget class="QWidget" name="tab_6">
407      <attribute name="title">
408       <string>Magnetism</string>
409      </attribute>
410      <layout class="QGridLayout" name="gridLayout_22">
411       <item row="0" column="0">
412        <widget class="QGroupBox" name="groupBox_10">
413         <property name="title">
414          <string>Polarisation/Magnetic Scattering </string>
415         </property>
416         <layout class="QGridLayout" name="gridLayout_21">
417          <item row="1" column="1">
418           <spacer name="horizontalSpacer_6">
419            <property name="orientation">
420             <enum>Qt::Horizontal</enum>
421            </property>
422            <property name="sizeHint" stdset="0">
423             <size>
424              <width>498</width>
425              <height>20</height>
426             </size>
427            </property>
428           </spacer>
429          </item>
430          <item row="0" column="0" colspan="3">
431           <widget class="QTableView" name="lstMagnetic"/>
432          </item>
433          <item row="1" column="2">
434           <widget class="QPushButton" name="cmdMagneticDisplay">
435            <property name="text">
436             <string>Display
437magnetic
438angles</string>
439            </property>
440           </widget>
441          </item>
442         </layout>
443        </widget>
444       </item>
445      </layout>
446     </widget>
447    </widget>
448   </item>
449   <item row="2" column="0">
450    <layout class="QHBoxLayout" name="horizontalLayout_3">
451     <item>
452      <spacer name="horizontalSpacer">
453       <property name="orientation">
454        <enum>Qt::Horizontal</enum>
455       </property>
456       <property name="sizeHint" stdset="0">
457        <size>
458         <width>273</width>
459         <height>20</height>
460        </size>
461       </property>
462      </spacer>
463     </item>
464     <item>
465      <widget class="QPushButton" name="cmdPlot">
466       <property name="sizePolicy">
467        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
468         <horstretch>0</horstretch>
469         <verstretch>0</verstretch>
470        </sizepolicy>
471       </property>
472       <property name="minimumSize">
473        <size>
474         <width>93</width>
475         <height>28</height>
476        </size>
477       </property>
478       <property name="text">
479        <string>Show Plot</string>
480       </property>
481      </widget>
482     </item>
483     <item>
484      <widget class="QPushButton" name="cmdFit">
485       <property name="sizePolicy">
486        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
487         <horstretch>0</horstretch>
488         <verstretch>0</verstretch>
489        </sizepolicy>
490       </property>
491       <property name="minimumSize">
492        <size>
493         <width>93</width>
494         <height>28</height>
495        </size>
496       </property>
497       <property name="text">
498        <string>Fit</string>
499       </property>
500      </widget>
501     </item>
502     <item>
503      <widget class="QPushButton" name="cmdHelp">
504       <property name="sizePolicy">
505        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
506         <horstretch>0</horstretch>
507         <verstretch>0</verstretch>
508        </sizepolicy>
509       </property>
510       <property name="minimumSize">
511        <size>
512         <width>93</width>
513         <height>28</height>
514        </size>
515       </property>
516       <property name="text">
517        <string>Help</string>
518       </property>
519      </widget>
520     </item>
521    </layout>
522   </item>
523  </layout>
524 </widget>
525 <resources/>
526 <connections/>
527</ui>
Note: See TracBrowser for help on using the repository browser.