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

ESS_GUIESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalc
Last change on this file since 76a0ffc was 76a0ffc, checked in by Laura Forster <Awork@…>, 6 years ago

Fit panel boxes slightly adjusted for better view

Fit Panel model page boxes at bottom, set min size so you can read the values in Fitting Details,
Text boxes on Fit Options, Fitting range adjusted so they have a suitable min size and done have to be adjusted to read/edit number inside.

  • Property mode set to 100755
File size: 20.1 KB
RevLine 
[60af928]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>
[79bd268]9    <width>566</width>
10    <height>646</height>
[60af928]11   </rect>
12  </property>
[f7f5796]13  <property name="sizePolicy">
[d1955d67]14   <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
[f7f5796]15    <horstretch>0</horstretch>
16    <verstretch>0</verstretch>
17   </sizepolicy>
18  </property>
[d1955d67]19  <property name="minimumSize">
20   <size>
[d686ff1]21    <width>445</width>
22    <height>540</height>
[d1955d67]23   </size>
24  </property>
[60af928]25  <property name="windowTitle">
26   <string>FittingWidget</string>
27  </property>
[7fd20fc]28  <layout class="QGridLayout" name="gridLayout_5">
29   <item row="0" column="0">
[ee18d33]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">
[38eb433]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>
[ee18d33]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>
[6c8fb2c]73   </item>
[7fd20fc]74   <item row="1" column="0">
[60af928]75    <widget class="QTabWidget" name="tabFitting">
76     <property name="currentIndex">
77      <number>0</number>
78     </property>
[76a0ffc]79     <property name="iconSize">
80      <size>
81       <width>16</width>
82       <height>16</height>
83      </size>
84     </property>
[60af928]85     <widget class="QWidget" name="tab_3">
86      <attribute name="title">
87       <string>Model</string>
88      </attribute>
[7fd20fc]89      <layout class="QGridLayout" name="gridLayout_4">
[76a0ffc]90       <item row="0" column="0" colspan="3">
[60af928]91        <widget class="QGroupBox" name="groupBox_6">
92         <property name="sizePolicy">
93          <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
94           <horstretch>0</horstretch>
95           <verstretch>0</verstretch>
96          </sizepolicy>
97         </property>
98         <property name="title">
99          <string>Model </string>
100         </property>
101         <layout class="QGridLayout" name="gridLayout_2">
102          <item row="0" column="0">
103           <layout class="QGridLayout" name="gridLayout">
104            <item row="0" column="0">
105             <widget class="QLabel" name="label_2">
106              <property name="text">
107               <string>Category</string>
108              </property>
109             </widget>
110            </item>
111            <item row="0" column="1">
[b1e36a3]112             <widget class="QLabel" name="lblModel">
[60af928]113              <property name="text">
114               <string>Model name</string>
115              </property>
116             </widget>
117            </item>
118            <item row="0" column="2">
[b1e36a3]119             <widget class="QLabel" name="lblStructure">
[60af928]120              <property name="text">
121               <string>Structure factor</string>
122              </property>
123             </widget>
124            </item>
125            <item row="1" column="0">
[2add354]126             <widget class="QComboBox" name="cbCategory">
127              <property name="toolTip">
128               <string>Select a category</string>
129              </property>
130             </widget>
[60af928]131            </item>
132            <item row="1" column="1">
[2add354]133             <widget class="QComboBox" name="cbModel">
134              <property name="toolTip">
135               <string>Select a model</string>
136              </property>
137             </widget>
[60af928]138            </item>
139            <item row="1" column="2">
[2add354]140             <widget class="QComboBox" name="cbStructureFactor">
141              <property name="toolTip">
142               <string>Select a structure factor</string>
143              </property>
144             </widget>
[60af928]145            </item>
146           </layout>
147          </item>
148          <item row="1" column="0">
[86f88d1]149           <widget class="QTreeView" name="lstParams">
[60af928]150            <property name="styleSheet">
151             <string notr="true"/>
152            </property>
[2add354]153            <property name="editTriggers">
154             <set>QAbstractItemView::CurrentChanged|QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed|QAbstractItemView::SelectedClicked</set>
155            </property>
[60af928]156            <property name="selectionMode">
157             <enum>QAbstractItemView::ExtendedSelection</enum>
158            </property>
159           </widget>
160          </item>
161         </layout>
162        </widget>
163       </item>
164       <item row="1" column="0">
165        <widget class="QGroupBox" name="groupBox_7">
[76a0ffc]166         <property name="minimumSize">
167          <size>
168           <width>80</width>
169           <height>0</height>
170          </size>
171         </property>
172         <property name="maximumSize">
173          <size>
174           <width>16777215</width>
175           <height>16777215</height>
176          </size>
177         </property>
[60af928]178         <property name="title">
179          <string>Options </string>
180         </property>
[7fd20fc]181         <layout class="QVBoxLayout" name="verticalLayout">
182          <item>
[60af928]183           <widget class="QCheckBox" name="chkPolydispersity">
184            <property name="enabled">
185             <bool>true</bool>
186            </property>
187            <property name="toolTip">
188             <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>
189            </property>
190            <property name="text">
191             <string>Polydispersity</string>
192            </property>
193            <property name="checkable">
194             <bool>true</bool>
195            </property>
196           </widget>
197          </item>
[7fd20fc]198          <item>
[60af928]199           <widget class="QCheckBox" name="chk2DView">
200            <property name="enabled">
201             <bool>true</bool>
202            </property>
203            <property name="toolTip">
204             <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>
205            </property>
206            <property name="text">
207             <string>2D view</string>
208            </property>
209            <property name="checkable">
210             <bool>true</bool>
211            </property>
212           </widget>
213          </item>
[7fd20fc]214          <item>
[60af928]215           <widget class="QCheckBox" name="chkMagnetism">
216            <property name="enabled">
217             <bool>true</bool>
218            </property>
219            <property name="toolTip">
220             <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>
221            </property>
222            <property name="text">
223             <string>Magnetism</string>
224            </property>
225            <property name="checkable">
226             <bool>true</bool>
227            </property>
228           </widget>
229          </item>
[7fd20fc]230          <item>
231           <widget class="QCheckBox" name="chkChainFit">
232            <property name="enabled">
233             <bool>true</bool>
234            </property>
235            <property name="toolTip">
[d4dac80]236             <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>
[7fd20fc]237            </property>
238            <property name="text">
239             <string>Chain fit</string>
240            </property>
241            <property name="checkable">
242             <bool>true</bool>
243            </property>
244           </widget>
245          </item>
[60af928]246         </layout>
247        </widget>
248       </item>
249       <item row="1" column="1">
250        <widget class="QGroupBox" name="groupBox_8">
[76a0ffc]251         <property name="minimumSize">
252          <size>
253           <width>100</width>
254           <height>0</height>
255          </size>
256         </property>
257         <property name="maximumSize">
258          <size>
259           <width>16777215</width>
260           <height>16777215</height>
261          </size>
262         </property>
[60af928]263         <property name="title">
264          <string>Fitting details </string>
265         </property>
266         <layout class="QGridLayout" name="gridLayout_17">
[76a0ffc]267          <property name="sizeConstraint">
268           <enum>QLayout::SetFixedSize</enum>
269          </property>
[60af928]270          <item row="0" column="0" colspan="2">
271           <layout class="QGridLayout" name="gridLayout_8">
272            <item row="0" column="0">
273             <widget class="QLabel" name="label_16">
[76a0ffc]274              <property name="minimumSize">
275               <size>
276                <width>25</width>
277                <height>0</height>
278               </size>
279              </property>
280              <property name="maximumSize">
281               <size>
282                <width>16777215</width>
283                <height>16777215</height>
284               </size>
285              </property>
[60af928]286              <property name="text">
287               <string>Min range</string>
288              </property>
289             </widget>
290            </item>
291            <item row="0" column="1">
292             <widget class="QLabel" name="lblMinRangeDef">
[76a0ffc]293              <property name="minimumSize">
294               <size>
295                <width>0</width>
296                <height>0</height>
297               </size>
298              </property>
[60af928]299              <property name="text">
300               <string>0.005</string>
301              </property>
302             </widget>
303            </item>
304            <item row="0" column="2">
305             <widget class="QLabel" name="label_17">
[76a0ffc]306              <property name="minimumSize">
307               <size>
308                <width>0</width>
309                <height>0</height>
310               </size>
311              </property>
[60af928]312              <property name="text">
313               <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>
314              </property>
315             </widget>
316            </item>
317            <item row="1" column="0">
318             <widget class="QLabel" name="label_18">
[76a0ffc]319              <property name="minimumSize">
320               <size>
321                <width>25</width>
322                <height>0</height>
323               </size>
324              </property>
325              <property name="maximumSize">
326               <size>
327                <width>16777215</width>
328                <height>16777215</height>
329               </size>
330              </property>
[60af928]331              <property name="text">
332               <string>Max range</string>
333              </property>
334             </widget>
335            </item>
336            <item row="1" column="1">
337             <widget class="QLabel" name="lblMaxRangeDef">
[76a0ffc]338              <property name="minimumSize">
339               <size>
340                <width>0</width>
341                <height>0</height>
342               </size>
343              </property>
[60af928]344              <property name="text">
345               <string>0.1</string>
346              </property>
347             </widget>
348            </item>
349            <item row="1" column="2">
350             <widget class="QLabel" name="label_19">
[76a0ffc]351              <property name="minimumSize">
352               <size>
353                <width>0</width>
354                <height>0</height>
355               </size>
356              </property>
[60af928]357              <property name="text">
358               <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>
359              </property>
360             </widget>
361            </item>
362           </layout>
363          </item>
364          <item row="1" column="0">
365           <widget class="QLabel" name="label_20">
366            <property name="text">
367             <string>Smearing:</string>
368            </property>
369           </widget>
370          </item>
371          <item row="1" column="1">
372           <widget class="QLabel" name="lblCurrentSmearing">
373            <property name="text">
374             <string>None</string>
375            </property>
376           </widget>
377          </item>
378         </layout>
379        </widget>
380       </item>
381       <item row="1" column="2">
[76a0ffc]382        <widget class="QGroupBox" name="groupBox_9">
383         <property name="minimumSize">
384          <size>
385           <width>80</width>
386           <height>0</height>
387          </size>
[60af928]388         </property>
[76a0ffc]389         <property name="maximumSize">
[60af928]390          <size>
[76a0ffc]391           <width>16777215</width>
392           <height>16777215</height>
[60af928]393          </size>
394         </property>
[c1cfa80]395         <property name="toolTip">
396          <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;/DOF (DOF=N&lt;span style=&quot; vertical-align:sub;&quot;&gt;pts&lt;/span&gt;-N&lt;span style=&quot; vertical-align:sub;&quot;&gt;par&lt;/span&gt; fitted)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
397         </property>
[60af928]398         <property name="title">
399          <string>Fitting error</string>
400         </property>
401         <layout class="QGridLayout" name="gridLayout_18">
402          <item row="0" column="0">
403           <layout class="QHBoxLayout" name="horizontalLayout_2">
404            <item>
405             <widget class="QLabel" name="label_23">
406              <property name="text">
407               <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>
408              </property>
409             </widget>
410            </item>
411            <item>
412             <widget class="QLabel" name="lblChi2Value">
[76a0ffc]413              <property name="minimumSize">
414               <size>
415                <width>50</width>
416                <height>0</height>
417               </size>
418              </property>
[60af928]419              <property name="text">
420               <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>
421              </property>
422             </widget>
423            </item>
424           </layout>
425          </item>
426         </layout>
427        </widget>
428       </item>
429      </layout>
430     </widget>
[180bd54]431     <widget class="QWidget" name="tabOptions">
[60af928]432      <attribute name="title">
433       <string>Fit Options</string>
434      </attribute>
[180bd54]435     </widget>
436     <widget class="QWidget" name="tabResolution">
437      <attribute name="title">
438       <string>Resolution</string>
439      </attribute>
[60af928]440     </widget>
441     <widget class="QWidget" name="tab_4">
442      <attribute name="title">
443       <string>Polydispersity</string>
444      </attribute>
445      <layout class="QGridLayout" name="gridLayout_10">
446       <item row="0" column="0">
447        <widget class="QGroupBox" name="groupBox_3">
448         <property name="title">
449          <string>Polydispersity and Orientational Distribution</string>
450         </property>
451         <layout class="QGridLayout" name="gridLayout_9">
452          <item row="0" column="0">
[00b3b40]453           <widget class="QTableView" name="lstPoly">
454            <property name="editTriggers">
455             <set>QAbstractItemView::AllEditTriggers</set>
456            </property>
457            <property name="alternatingRowColors">
458             <bool>true</bool>
459            </property>
460            <property name="selectionMode">
[aca8418]461             <enum>QAbstractItemView::ExtendedSelection</enum>
[00b3b40]462            </property>
463            <property name="selectionBehavior">
464             <enum>QAbstractItemView::SelectRows</enum>
465            </property>
466           </widget>
[60af928]467          </item>
468         </layout>
469        </widget>
470       </item>
471      </layout>
472     </widget>
473     <widget class="QWidget" name="tab_6">
474      <attribute name="title">
475       <string>Magnetism</string>
476      </attribute>
477      <layout class="QGridLayout" name="gridLayout_22">
478       <item row="0" column="0">
479        <widget class="QGroupBox" name="groupBox_10">
480         <property name="title">
481          <string>Polarisation/Magnetic Scattering </string>
482         </property>
483         <layout class="QGridLayout" name="gridLayout_21">
484          <item row="1" column="1">
485           <spacer name="horizontalSpacer_6">
486            <property name="orientation">
487             <enum>Qt::Horizontal</enum>
488            </property>
489            <property name="sizeHint" stdset="0">
490             <size>
491              <width>498</width>
492              <height>20</height>
493             </size>
494            </property>
495           </spacer>
496          </item>
497          <item row="0" column="0" colspan="3">
498           <widget class="QTableView" name="lstMagnetic"/>
499          </item>
500          <item row="1" column="2">
501           <widget class="QPushButton" name="cmdMagneticDisplay">
502            <property name="text">
503             <string>Display
504magnetic
505angles</string>
506            </property>
507           </widget>
508          </item>
509         </layout>
510        </widget>
511       </item>
512      </layout>
513     </widget>
514    </widget>
515   </item>
[ee18d33]516   <item row="2" column="0">
[7fd20fc]517    <layout class="QHBoxLayout" name="horizontalLayout_3">
518     <item>
519      <spacer name="horizontalSpacer">
520       <property name="orientation">
521        <enum>Qt::Horizontal</enum>
522       </property>
523       <property name="sizeHint" stdset="0">
524        <size>
525         <width>273</width>
526         <height>20</height>
527        </size>
528       </property>
529      </spacer>
530     </item>
531     <item>
532      <widget class="QPushButton" name="cmdPlot">
533       <property name="sizePolicy">
534        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
535         <horstretch>0</horstretch>
536         <verstretch>0</verstretch>
537        </sizepolicy>
538       </property>
539       <property name="minimumSize">
540        <size>
[e4c475b7]541         <width>93</width>
542         <height>28</height>
[7fd20fc]543        </size>
544       </property>
545       <property name="text">
546        <string>Show Plot</string>
547       </property>
548      </widget>
549     </item>
550     <item>
551      <widget class="QPushButton" name="cmdFit">
552       <property name="sizePolicy">
553        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
554         <horstretch>0</horstretch>
555         <verstretch>0</verstretch>
556        </sizepolicy>
557       </property>
558       <property name="minimumSize">
559        <size>
[e4c475b7]560         <width>93</width>
561         <height>28</height>
[7fd20fc]562        </size>
563       </property>
564       <property name="text">
565        <string>Fit</string>
566       </property>
567      </widget>
568     </item>
569     <item>
570      <widget class="QPushButton" name="cmdHelp">
571       <property name="sizePolicy">
572        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
573         <horstretch>0</horstretch>
574         <verstretch>0</verstretch>
575        </sizepolicy>
576       </property>
577       <property name="minimumSize">
578        <size>
[e4c475b7]579         <width>93</width>
580         <height>28</height>
[7fd20fc]581        </size>
582       </property>
583       <property name="text">
584        <string>Help</string>
585       </property>
586      </widget>
587     </item>
588    </layout>
[ee18d33]589   </item>
[60af928]590  </layout>
591 </widget>
592 <resources/>
593 <connections/>
594</ui>
Note: See TracBrowser for help on using the repository browser.