Ignore:
Timestamp:
Nov 13, 2017 9:34:45 AM (6 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
7c487846
Parents:
1543f0c
Message:

Initial commit of Celine's Invariant Perspective work SASVIEW-52

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Invariant/UI/TabbedInvariantUI.ui

    r469b4622 rf1f3e6a  
    77    <x>0</x> 
    88    <y>0</y> 
    9     <width>466</width> 
    10     <height>408</height> 
     9    <width>601</width> 
     10    <height>473</height> 
    1111   </rect> 
     12  </property> 
     13  <property name="sizePolicy"> 
     14   <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> 
     15    <horstretch>0</horstretch> 
     16    <verstretch>0</verstretch> 
     17   </sizepolicy> 
    1218  </property> 
    1319  <property name="windowTitle"> 
     
    1521  </property> 
    1622  <layout class="QGridLayout" name="gridLayout_11"> 
     23   <item row="1" column="0"> 
     24    <spacer name="verticalSpacer"> 
     25     <property name="orientation"> 
     26      <enum>Qt::Vertical</enum> 
     27     </property> 
     28     <property name="sizeHint" stdset="0"> 
     29      <size> 
     30       <width>20</width> 
     31       <height>2</height> 
     32      </size> 
     33     </property> 
     34    </spacer> 
     35   </item> 
     36   <item row="2" column="0"> 
     37    <layout class="QHBoxLayout" name="horizontalLayout_8"> 
     38     <item> 
     39      <widget class="QPushButton" name="cmdCalculate"> 
     40       <property name="toolTip"> 
     41        <string>Compute invariant</string> 
     42       </property> 
     43       <property name="text"> 
     44        <string>Calculate</string> 
     45       </property> 
     46      </widget> 
     47     </item> 
     48     <item> 
     49      <spacer name="horizontalSpacer"> 
     50       <property name="orientation"> 
     51        <enum>Qt::Horizontal</enum> 
     52       </property> 
     53       <property name="sizeHint" stdset="0"> 
     54        <size> 
     55         <width>40</width> 
     56         <height>20</height> 
     57        </size> 
     58       </property> 
     59      </spacer> 
     60     </item> 
     61     <item> 
     62      <widget class="QPushButton" name="cmdStatus"> 
     63       <property name="enabled"> 
     64        <bool>false</bool> 
     65       </property> 
     66       <property name="toolTip"> 
     67        <string>Get more details of computation such as fraction from extrapolation</string> 
     68       </property> 
     69       <property name="text"> 
     70        <string>Status</string> 
     71       </property> 
     72      </widget> 
     73     </item> 
     74     <item> 
     75      <widget class="QPushButton" name="cmdHelp"> 
     76       <property name="toolTip"> 
     77        <string/> 
     78       </property> 
     79       <property name="text"> 
     80        <string>Help</string> 
     81       </property> 
     82      </widget> 
     83     </item> 
     84    </layout> 
     85   </item> 
    1786   <item row="0" column="0"> 
    1887    <widget class="QTabWidget" name="tabWidget"> 
     
    34103           <layout class="QHBoxLayout" name="horizontalLayout_4"> 
    35104            <item> 
    36              <widget class="QLabel" name="label"> 
     105             <widget class="QLabel" name="lblName"> 
    37106              <property name="text"> 
    38107               <string>Name:</string> 
     
    41110            </item> 
    42111            <item> 
    43              <widget class="QLineEdit" name="lineEdit"> 
     112             <widget class="QLineEdit" name="txtName"> 
    44113              <property name="enabled"> 
    45                <bool>true</bool> 
     114               <bool>false</bool> 
    46115              </property> 
    47116              <property name="frame"> 
     
    64133              <layout class="QHBoxLayout" name="horizontalLayout"> 
    65134               <item> 
    66                 <widget class="QLabel" name="label_3"> 
     135                <widget class="QLabel" name="lblTotalQMin"> 
    67136                 <property name="text"> 
    68137                  <string>Min:</string> 
     
    71140               </item> 
    72141               <item> 
    73                 <widget class="QLineEdit" name="lineEdit_2"> 
     142                <widget class="QLineEdit" name="txtTotalQMin"> 
    74143                 <property name="enabled"> 
    75144                  <bool>false</bool> 
     
    78147               </item> 
    79148               <item> 
    80                 <widget class="QLabel" name="label_4"> 
     149                <widget class="QLabel" name="lblTotalQMax"> 
    81150                 <property name="text"> 
    82151                  <string>Max:</string> 
     
    85154               </item> 
    86155               <item> 
    87                 <widget class="QLineEdit" name="lineEdit_3"> 
     156                <widget class="QLineEdit" name="txtTotalQMax"> 
    88157                 <property name="enabled"> 
    89158                  <bool>false</bool> 
     
    92161               </item> 
    93162               <item> 
    94                 <widget class="QLabel" name="label_2"> 
     163                <widget class="QLabel" name="lblTotalQUnits"> 
    95164                 <property name="text"> 
    96165                  <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;à
     
    121190          </item> 
    122191          <item row="0" column="1"> 
    123            <widget class="QLineEdit" name="lineEdit_14"> 
     192           <widget class="QLineEdit" name="txtVolFract"> 
    124193            <property name="enabled"> 
    125              <bool>true</bool> 
     194             <bool>false</bool> 
    126195            </property> 
    127196            <property name="autoFillBackground"> 
     
    150219          </item> 
    151220          <item row="0" column="3"> 
    152            <widget class="QLineEdit" name="lineEdit_15"> 
     221           <widget class="QLineEdit" name="txtVolFractErr"> 
    153222            <property name="enabled"> 
    154              <bool>true</bool> 
     223             <bool>false</bool> 
    155224            </property> 
    156225            <property name="frame"> 
     
    173242          </item> 
    174243          <item row="1" column="1"> 
    175            <widget class="QLineEdit" name="lineEdit_17"> 
     244           <widget class="QLineEdit" name="txtSpecSurf"> 
    176245            <property name="enabled"> 
    177              <bool>true</bool> 
     246             <bool>false</bool> 
    178247            </property> 
    179248            <property name="frame"> 
     
    196265          </item> 
    197266          <item row="1" column="3"> 
    198            <widget class="QLineEdit" name="lineEdit_16"> 
     267           <widget class="QLineEdit" name="txtSpecSurfErr"> 
    199268            <property name="enabled"> 
    200              <bool>true</bool> 
     269             <bool>false</bool> 
    201270            </property> 
    202271            <property name="frame"> 
     
    212281          </item> 
    213282          <item row="1" column="4"> 
    214            <widget class="QLabel" name="label_24"> 
     283           <widget class="QLabel" name="lblSpecificSurfaceUnits"> 
    215284            <property name="text"> 
    216285             <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;à
     
    234303          </item> 
    235304          <item row="3" column="1"> 
    236            <widget class="QLineEdit" name="lineEdit_19"> 
     305           <widget class="QLineEdit" name="txtInvariantTot"> 
    237306            <property name="enabled"> 
    238              <bool>true</bool> 
    239             </property> 
    240             <property name="styleSheet"> 
    241              <string notr="true">background-color: rgb(253, 253, 126); 
    242 font: bold 8pt &quot;MS Shell Dlg 2&quot;;</string> 
     307             <bool>false</bool> 
     308            </property> 
     309            <property name="toolTip"> 
     310             <string>Total invariant [Q*], including extrapolated regions.</string> 
    243311            </property> 
    244312            <property name="frame"> 
     
    261329          </item> 
    262330          <item row="3" column="3"> 
    263            <widget class="QLineEdit" name="lineEdit_18"> 
     331           <widget class="QLineEdit" name="txtInvariantTotErr"> 
    264332            <property name="enabled"> 
    265              <bool>true</bool> 
    266             </property> 
    267             <property name="styleSheet"> 
    268              <string notr="true">background-color: rgb(253, 253, 126); 
    269 font: bold 8pt &quot;MS Shell Dlg 2&quot;;</string> 
     333             <bool>false</bool> 
    270334            </property> 
    271335            <property name="frame"> 
     
    281345          </item> 
    282346          <item row="3" column="4"> 
    283            <widget class="QLabel" name="label_27"> 
     347           <widget class="QLabel" name="lblInvariantTotalQUnits"> 
    284348            <property name="text"> 
    285349             <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;(cm à
     
    314378            </item> 
    315379            <item row="0" column="1"> 
    316              <widget class="QLineEdit" name="lineEdit_4"/> 
     380             <widget class="QLineEdit" name="txtBackgd"/> 
    317381            </item> 
    318382            <item row="0" column="2"> 
     
    331395            </item> 
    332396            <item row="0" column="4"> 
    333              <widget class="QLineEdit" name="lineEdit_6"/> 
     397             <widget class="QLineEdit" name="txtScale"/> 
    334398            </item> 
    335399            <item row="1" column="0"> 
     
    341405            </item> 
    342406            <item row="1" column="1"> 
    343              <widget class="QLineEdit" name="lineEdit_5"/> 
     407             <widget class="QLineEdit" name="txtContrast"/> 
    344408            </item> 
    345409            <item row="1" column="2"> 
    346              <widget class="QLabel" name="label_7"> 
     410             <widget class="QLabel" name="lblContrastUnits"> 
    347411              <property name="text"> 
    348412               <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;à
     
    359423            </item> 
    360424            <item row="1" column="4"> 
    361              <widget class="QLineEdit" name="lineEdit_7"/> 
     425             <widget class="QLineEdit" name="txtPorodCst"> 
     426              <property name="toolTip"> 
     427               <string>Porod constant (optional)</string> 
     428              </property> 
     429             </widget> 
    362430            </item> 
    363431            <item row="1" column="5"> 
    364              <widget class="QLabel" name="label_11"> 
     432             <widget class="QLabel" name="lblPorodCstUnits"> 
    365433              <property name="text"> 
    366434               <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;(cm à
     
    397465            </item> 
    398466            <item> 
    399              <widget class="QLineEdit" name="lineEdit_8"> 
     467             <widget class="QLineEdit" name="txtExtrapolQMin"> 
    400468              <property name="enabled"> 
    401469               <bool>false</bool> 
    402470              </property> 
     471              <property name="toolTip"> 
     472               <string>The minimum extrapolated q value.</string> 
     473              </property> 
    403474             </widget> 
    404475            </item> 
     
    411482            </item> 
    412483            <item> 
    413              <widget class="QLineEdit" name="lineEdit_9"> 
     484             <widget class="QLineEdit" name="txtExtrapolQMax"> 
    414485              <property name="enabled"> 
    415486               <bool>false</bool> 
     
    418489            </item> 
    419490            <item> 
    420              <widget class="QLabel" name="label_15"> 
     491             <widget class="QLabel" name="lblExtrapolQUnits"> 
    421492              <property name="text"> 
    422493               <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;à
     
    428499          </item> 
    429500          <item row="1" column="0"> 
    430            <widget class="QGroupBox" name="groupBox_5"> 
     501           <widget class="QGroupBox" name="groupBox_lowQ"> 
    431502            <property name="title"> 
    432503             <string>Low Q</string> 
    433504            </property> 
    434505            <layout class="QGridLayout" name="gridLayout_7"> 
    435              <item row="0" column="0"> 
    436               <widget class="QCheckBox" name="checkBox"> 
     506             <item row="1" column="0" colspan="2"> 
     507              <layout class="QHBoxLayout" name="horizontalLayout_3"> 
     508               <item> 
     509                <widget class="QLabel" name="label_16"> 
     510                 <property name="text"> 
     511                  <string>Npts:</string> 
     512                 </property> 
     513                </widget> 
     514               </item> 
     515               <item> 
     516                <widget class="QLineEdit" name="txtNptsLowQ"> 
     517                 <property name="toolTip"> 
     518                  <string>Number of Q points to consider 
     519while extrapolating the low-Q region</string> 
     520                 </property> 
     521                </widget> 
     522               </item> 
     523              </layout> 
     524             </item> 
     525             <item row="2" column="0"> 
     526              <layout class="QVBoxLayout" name="verticalLayout_2"> 
     527               <item> 
     528                <widget class="QRadioButton" name="rbGuinier"> 
     529                 <property name="text"> 
     530                  <string>Guinier</string> 
     531                 </property> 
     532                 <property name="checked"> 
     533                  <bool>true</bool> 
     534                 </property> 
     535                 <property name="autoExclusive"> 
     536                  <bool>false</bool> 
     537                 </property> 
     538                </widget> 
     539               </item> 
     540               <item> 
     541                <widget class="QRadioButton" name="rbPowerLawLowQ"> 
     542                 <property name="text"> 
     543                  <string>Power law</string> 
     544                 </property> 
     545                 <property name="checked"> 
     546                  <bool>false</bool> 
     547                 </property> 
     548                 <property name="autoExclusive"> 
     549                  <bool>false</bool> 
     550                 </property> 
     551                </widget> 
     552               </item> 
     553              </layout> 
     554             </item> 
     555             <item row="3" column="0" colspan="2"> 
     556              <layout class="QHBoxLayout" name="horizontalLayout_6"> 
     557               <item> 
     558                <widget class="QLabel" name="label_17"> 
     559                 <property name="text"> 
     560                  <string>Power:</string> 
     561                 </property> 
     562                </widget> 
     563               </item> 
     564               <item> 
     565                <widget class="QLineEdit" name="txtPowerLowQ"> 
     566                 <property name="toolTip"> 
     567                  <string>Exponent to apply to the Power_law function.</string> 
     568                 </property> 
     569                </widget> 
     570               </item> 
     571              </layout> 
     572             </item> 
     573             <item row="0" column="0" colspan="2"> 
     574              <widget class="QCheckBox" name="chkLowQ"> 
     575               <property name="toolTip"> 
     576                <string>Check to extrapolate data at low-Q</string> 
     577               </property> 
    437578               <property name="text"> 
    438579                <string>Enable Low-Q extrapolation</string> 
     
    440581              </widget> 
    441582             </item> 
    442              <item row="1" column="0"> 
    443               <layout class="QHBoxLayout" name="horizontalLayout_3"> 
    444                <item> 
    445                 <widget class="QLabel" name="label_16"> 
    446                  <property name="text"> 
    447                   <string>Npts:</string> 
    448                  </property> 
    449                 </widget> 
    450                </item> 
    451                <item> 
    452                 <widget class="QLineEdit" name="lineEdit_10"/> 
     583             <item row="2" column="1"> 
     584              <layout class="QVBoxLayout" name="verticalLayout"> 
     585               <item> 
     586                <widget class="QRadioButton" name="rbFitLowQ"> 
     587                 <property name="enabled"> 
     588                  <bool>true</bool> 
     589                 </property> 
     590                 <property name="text"> 
     591                  <string>Fit</string> 
     592                 </property> 
     593                 <property name="checkable"> 
     594                  <bool>true</bool> 
     595                 </property> 
     596                 <property name="checked"> 
     597                  <bool>true</bool> 
     598                 </property> 
     599                 <property name="autoExclusive"> 
     600                  <bool>true</bool> 
     601                 </property> 
     602                </widget> 
     603               </item> 
     604               <item> 
     605                <widget class="QRadioButton" name="rbFixLowQ"> 
     606                 <property name="text"> 
     607                  <string>Fix</string> 
     608                 </property> 
     609                 <property name="checkable"> 
     610                  <bool>true</bool> 
     611                 </property> 
     612                 <property name="checked"> 
     613                  <bool>false</bool> 
     614                 </property> 
     615                 <property name="autoExclusive"> 
     616                  <bool>true</bool> 
     617                 </property> 
     618                </widget> 
    453619               </item> 
    454620              </layout> 
    455621             </item> 
    456              <item row="2" column="0"> 
    457               <layout class="QFormLayout" name="formLayout"> 
    458                <item row="0" column="0"> 
    459                 <widget class="QRadioButton" name="radioButton"> 
    460                  <property name="text"> 
    461                   <string>Guinier</string> 
    462                  </property> 
    463                 </widget> 
    464                </item> 
    465                <item row="0" column="1"> 
    466                 <widget class="QRadioButton" name="radioButton_3"> 
    467                  <property name="text"> 
    468                   <string>Fit</string> 
    469                  </property> 
    470                 </widget> 
    471                </item> 
    472                <item row="1" column="0"> 
    473                 <widget class="QRadioButton" name="radioButton_2"> 
    474                  <property name="text"> 
    475                   <string>Power law</string> 
    476                  </property> 
    477                 </widget> 
    478                </item> 
    479                <item row="1" column="1"> 
    480                 <widget class="QRadioButton" name="radioButton_4"> 
    481                  <property name="text"> 
    482                   <string>Fix</string> 
    483                  </property> 
    484                 </widget> 
    485                </item> 
    486               </layout> 
    487              </item> 
    488              <item row="3" column="0"> 
    489               <layout class="QHBoxLayout" name="horizontalLayout_6"> 
    490                <item> 
    491                 <widget class="QLabel" name="label_17"> 
    492                  <property name="text"> 
    493                   <string>Power:</string> 
    494                  </property> 
    495                 </widget> 
    496                </item> 
    497                <item> 
    498                 <widget class="QLineEdit" name="lineEdit_11"/> 
    499                </item> 
    500               </layout> 
    501              </item> 
    502622            </layout> 
    503623           </widget> 
    504624          </item> 
    505625          <item row="1" column="1"> 
    506            <widget class="QGroupBox" name="groupBox_6"> 
     626           <widget class="QGroupBox" name="groupBox_highQ"> 
    507627            <property name="title"> 
    508628             <string>High Q</string> 
     
    510630            <layout class="QGridLayout" name="gridLayout_8"> 
    511631             <item row="0" column="0"> 
    512               <widget class="QCheckBox" name="checkBox_2"> 
     632              <widget class="QCheckBox" name="chkHighQ"> 
     633               <property name="toolTip"> 
     634                <string>Check to extrapolate data at high-Q</string> 
     635               </property> 
    513636               <property name="text"> 
    514637                <string>Enable High-Q extrapolation</string> 
     
    526649               </item> 
    527650               <item> 
    528                 <widget class="QLineEdit" name="lineEdit_12"/> 
     651                <widget class="QLineEdit" name="txtNptsHighQ"> 
     652                 <property name="toolTip"> 
     653                  <string>Number of Q points to consider 
     654 while extrapolating the high-Q region</string> 
     655                 </property> 
     656                </widget> 
    529657               </item> 
    530658              </layout> 
    531659             </item> 
    532660             <item row="2" column="0"> 
    533               <layout class="QFormLayout" name="formLayout_2"> 
     661              <layout class="QGridLayout" name="gridLayout_13"> 
    534662               <item row="0" column="0"> 
    535                 <widget class="QRadioButton" name="radioButton_7"> 
     663                <widget class="QRadioButton" name="rbFitHighQ"> 
    536664                 <property name="text"> 
    537665                  <string>Fit</string> 
    538666                 </property> 
     667                 <property name="checkable"> 
     668                  <bool>true</bool> 
     669                 </property> 
     670                 <property name="checked"> 
     671                  <bool>false</bool> 
     672                 </property> 
    539673                </widget> 
    540674               </item> 
    541675               <item row="1" column="0"> 
    542                 <widget class="QRadioButton" name="radioButton_8"> 
     676                <widget class="QRadioButton" name="rbFixHighQ"> 
    543677                 <property name="text"> 
    544678                  <string>Fix</string> 
     679                 </property> 
     680                 <property name="checked"> 
     681                  <bool>true</bool> 
    545682                 </property> 
    546683                </widget> 
     
    558695               </item> 
    559696               <item> 
    560                 <widget class="QLineEdit" name="lineEdit_13"/> 
     697                <widget class="QLineEdit" name="txtPowerHighQ"> 
     698                 <property name="toolTip"> 
     699                  <string>Exponent to apply to the Power_law function.</string> 
     700                 </property> 
     701                </widget> 
    561702               </item> 
    562703              </layout> 
     
    570711      </layout> 
    571712     </widget> 
    572      <widget class="QWidget" name="tab"> 
    573       <attribute name="title"> 
    574        <string>View on model</string> 
    575       </attribute> 
    576       <widget class="QTreeView" name="treeView"> 
    577        <property name="geometry"> 
    578         <rect> 
    579          <x>5</x> 
    580          <y>11</y> 
    581          <width>431</width> 
    582          <height>311</height> 
    583         </rect> 
    584        </property> 
    585       </widget> 
    586      </widget> 
    587713    </widget> 
    588    </item> 
    589    <item row="1" column="0"> 
    590     <spacer name="verticalSpacer"> 
    591      <property name="orientation"> 
    592       <enum>Qt::Vertical</enum> 
    593      </property> 
    594      <property name="sizeHint" stdset="0"> 
    595       <size> 
    596        <width>20</width> 
    597        <height>2</height> 
    598       </size> 
    599      </property> 
    600     </spacer> 
    601    </item> 
    602    <item row="2" column="0"> 
    603     <layout class="QHBoxLayout" name="horizontalLayout_8"> 
    604      <item> 
    605       <widget class="QPushButton" name="pushButton"> 
    606        <property name="text"> 
    607         <string>Calculate</string> 
    608        </property> 
    609       </widget> 
    610      </item> 
    611      <item> 
    612       <spacer name="horizontalSpacer"> 
    613        <property name="orientation"> 
    614         <enum>Qt::Horizontal</enum> 
    615        </property> 
    616        <property name="sizeHint" stdset="0"> 
    617         <size> 
    618          <width>40</width> 
    619          <height>20</height> 
    620         </size> 
    621        </property> 
    622       </spacer> 
    623      </item> 
    624      <item> 
    625       <widget class="QPushButton" name="pushButton_2"> 
    626        <property name="text"> 
    627         <string>Status</string> 
    628        </property> 
    629       </widget> 
    630      </item> 
    631      <item> 
    632       <widget class="QPushButton" name="pushButton_3"> 
    633        <property name="text"> 
    634         <string>Help</string> 
    635        </property> 
    636       </widget> 
    637      </item> 
    638     </layout> 
    639714   </item> 
    640715  </layout> 
Note: See TracChangeset for help on using the changeset viewer.