Ignore:
Timestamp:
Nov 21, 2017 5:31:47 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:
c6fb57c
Parents:
f1ec901
Message:

Added a tab to Inversion so the widget looks a bit less intimidating

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Inversion/UI/TabbedInversionUI.ui

    rf1ec901 r0580c77  
    77    <x>0</x> 
    88    <y>0</y> 
    9     <width>458</width> 
    10     <height>695</height> 
     9    <width>473</width> 
     10    <height>540</height> 
    1111   </rect> 
    1212  </property> 
    1313  <property name="sizePolicy"> 
    14    <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> 
     14   <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 
    1515    <horstretch>0</horstretch> 
    1616    <verstretch>0</verstretch> 
     
    1919  <property name="minimumSize"> 
    2020   <size> 
    21     <width>458</width> 
    22     <height>679</height> 
     21    <width>0</width> 
     22    <height>0</height> 
    2323   </size> 
    2424  </property> 
     
    3232   <string>P(r) Inversion</string> 
    3333  </property> 
    34   <layout class="QGridLayout" name="gridLayout_6"> 
     34  <layout class="QGridLayout" name="gridLayout_10"> 
    3535   <item row="0" column="0"> 
    3636    <widget class="QTabWidget" name="PrTabWidget"> 
    3737     <property name="sizePolicy"> 
    38       <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> 
     38      <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 
    3939       <horstretch>0</horstretch> 
    4040       <verstretch>0</verstretch> 
     
    5454       <string>P(r) Parameters</string> 
    5555      </attribute> 
    56       <layout class="QGridLayout" name="gridLayout_5"> 
    57        <item row="0" column="0"> 
     56      <layout class="QGridLayout" name="gridLayout_7"> 
     57       <item row="0" column="0" colspan="2"> 
    5858        <widget class="QGroupBox" name="dataSourceGroupBox"> 
    5959         <property name="title"> 
     
    8282            <item> 
    8383             <widget class="QPushButton" name="removeButton"> 
     84              <property name="enabled"> 
     85               <bool>false</bool> 
     86              </property> 
    8487              <property name="sizePolicy"> 
    8588               <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 
     
    9598           </layout> 
    9699          </item> 
    97           <item row="1" column="0"> 
    98            <layout class="QHBoxLayout" name="horizontalLayout_3" stretch="2,1,0,2,2"> 
    99             <item> 
    100              <widget class="QLabel" name="label_5"> 
    101               <property name="text"> 
    102                <string>Background Level:</string> 
    103               </property> 
    104              </widget> 
    105             </item> 
    106             <item> 
    107              <widget class="QLineEdit" name="backgroundInput"> 
    108               <property name="enabled"> 
    109                <bool>false</bool> 
    110               </property> 
    111               <property name="text"> 
    112                <string>0.0</string> 
    113               </property> 
    114              </widget> 
    115             </item> 
    116             <item> 
    117              <widget class="QLabel" name="label_10"> 
    118               <property name="text"> 
    119                <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;à
    120 &lt;span style=&quot; vertical-align:super;&quot;&gt;-1&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> 
    121               </property> 
    122              </widget> 
    123             </item> 
    124             <item> 
    125              <widget class="QRadioButton" name="estimateBgd"> 
    126               <property name="text"> 
    127                <string>Estimate</string> 
    128               </property> 
    129              </widget> 
    130             </item> 
    131             <item> 
    132              <widget class="QRadioButton" name="manualBgd"> 
    133               <property name="text"> 
    134                <string>Manual Input</string> 
    135               </property> 
    136              </widget> 
    137             </item> 
    138            </layout> 
    139           </item> 
    140100         </layout> 
    141101        </widget> 
    142102       </item> 
    143        <item row="1" column="0"> 
    144         <widget class="QGroupBox" name="qRangeGroupBox"> 
    145          <property name="title"> 
    146           <string>Total Q range</string> 
    147          </property> 
    148          <layout class="QGridLayout" name="gridLayout_3"> 
    149           <item row="0" column="0"> 
    150            <layout class="QHBoxLayout" name="horizontalLayout_4"> 
    151             <item> 
    152              <widget class="QLabel" name="label_7"> 
    153               <property name="text"> 
    154                <string>Min:</string> 
    155               </property> 
    156              </widget> 
    157             </item> 
    158             <item> 
    159              <widget class="QLineEdit" name="minQInput"> 
    160               <property name="enabled"> 
    161                <bool>true</bool> 
    162               </property> 
    163              </widget> 
    164             </item> 
    165             <item> 
    166              <widget class="QLabel" name="label_11"> 
    167               <property name="text"> 
    168                <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;à
    169 &lt;span style=&quot; vertical-align:super;&quot;&gt;-1&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> 
    170               </property> 
    171              </widget> 
    172             </item> 
    173             <item> 
    174              <widget class="QLabel" name="label_8"> 
    175               <property name="text"> 
    176                <string>Max:</string> 
    177               </property> 
    178              </widget> 
    179             </item> 
    180             <item> 
    181              <widget class="QLineEdit" name="maxQInput"> 
    182               <property name="enabled"> 
    183                <bool>true</bool> 
    184               </property> 
    185              </widget> 
    186             </item> 
    187             <item> 
    188              <widget class="QLabel" name="label_9"> 
    189               <property name="text"> 
    190                <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;à
    191 &lt;span style=&quot; vertical-align:super;&quot;&gt;-1&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> 
    192               </property> 
    193              </widget> 
    194             </item> 
    195            </layout> 
    196           </item> 
    197          </layout> 
    198         </widget> 
    199        </item> 
    200        <item row="2" column="0"> 
    201         <widget class="QGroupBox" name="slitParamsGroupBox"> 
    202          <property name="title"> 
    203           <string>Slit Parameters</string> 
    204          </property> 
    205          <layout class="QGridLayout" name="gridLayout"> 
    206           <item row="0" column="0"> 
    207            <layout class="QHBoxLayout" name="horizontalLayout"> 
    208             <item> 
    209              <widget class="QLabel" name="label_3"> 
    210               <property name="text"> 
    211                <string>Height</string> 
    212               </property> 
    213              </widget> 
    214             </item> 
    215             <item> 
    216              <widget class="QLineEdit" name="slitHeightInput"> 
    217               <property name="enabled"> 
    218                <bool>true</bool> 
    219               </property> 
    220              </widget> 
    221             </item> 
    222             <item> 
    223              <widget class="QLabel" name="label_6"> 
    224               <property name="text"> 
    225                <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;à
    226 &lt;span style=&quot; vertical-align:super;&quot;&gt;-1&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> 
    227               </property> 
    228              </widget> 
    229             </item> 
    230             <item> 
    231              <widget class="QLabel" name="label_4"> 
    232               <property name="text"> 
    233                <string>Width</string> 
    234               </property> 
    235              </widget> 
    236             </item> 
    237             <item> 
    238              <widget class="QLineEdit" name="slitWidthInput"> 
    239               <property name="enabled"> 
    240                <bool>true</bool> 
    241               </property> 
    242              </widget> 
    243             </item> 
    244             <item> 
    245              <widget class="QLabel" name="label_2"> 
    246               <property name="text"> 
    247                <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;à
    248 &lt;span style=&quot; vertical-align:super;&quot;&gt;-1&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> 
    249               </property> 
    250              </widget> 
    251             </item> 
    252            </layout> 
    253           </item> 
    254          </layout> 
    255         </widget> 
    256        </item> 
    257        <item row="3" column="0"> 
    258         <widget class="QGroupBox" name="paramGroupBox"> 
    259          <property name="sizePolicy"> 
    260           <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> 
    261            <horstretch>0</horstretch> 
    262            <verstretch>0</verstretch> 
    263           </sizepolicy> 
    264          </property> 
    265          <property name="toolTip"> 
    266           <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt; 
     103       <item row="1" column="0" colspan="2"> 
     104        <layout class="QGridLayout" name="gridLayout_6"> 
     105         <item row="0" column="0"> 
     106          <widget class="QGroupBox" name="paramGroupBox"> 
     107           <property name="sizePolicy"> 
     108            <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred"> 
     109             <horstretch>0</horstretch> 
     110             <verstretch>0</verstretch> 
     111            </sizepolicy> 
     112           </property> 
     113           <property name="toolTip"> 
     114            <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt; 
    267115&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt; 
    268116p, li { white-space: pre-wrap; } 
    269117&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:8pt; font-weight:400; font-style:normal;&quot;&gt; 
    270118&lt;pre style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&gt;&lt;span style=&quot; font-family:'Courier New'; font-size:9pt; color:#000000;&quot;&gt;P(r) is found by fitting a set of base functions to I(Q). The minimization involves a regularization term to ensure a smooth P(r). The regularization constant gives the size of that term. The suggested value is the value above which the output P(r) will have only one peak.&lt;/span&gt;&lt;/pre&gt;&lt;/body&gt;&lt;/html&gt;</string> 
    271          </property> 
    272          <property name="title"> 
    273           <string>Parameters</string> 
    274          </property> 
    275          <layout class="QGridLayout" name="gridLayout_8"> 
    276           <item row="1" column="0"> 
    277            <widget class="QLabel" name="label_13"> 
    278             <property name="text"> 
    279              <string>Regularization constant</string> 
    280             </property> 
    281            </widget> 
    282           </item> 
    283           <item row="0" column="2"> 
    284            <widget class="QPushButton" name="noOfTermsSuggestionButton"> 
    285             <property name="enabled"> 
    286              <bool>false</bool> 
    287             </property> 
    288             <property name="text"> 
    289              <string/> 
    290             </property> 
    291            </widget> 
    292           </item> 
    293           <item row="2" column="2"> 
    294            <widget class="QPushButton" name="explorerButton"> 
    295             <property name="sizePolicy"> 
    296              <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 
    297               <horstretch>0</horstretch> 
    298               <verstretch>0</verstretch> 
    299              </sizepolicy> 
    300             </property> 
    301             <property name="toolTip"> 
    302              <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Open the D&lt;span style=&quot; vertical-align:sub;&quot;&gt;max&lt;/span&gt; explorer window.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> 
    303             </property> 
    304             <property name="layoutDirection"> 
    305              <enum>Qt::LeftToRight</enum> 
    306             </property> 
    307             <property name="text"> 
    308              <string>Explore</string> 
    309             </property> 
    310            </widget> 
    311           </item> 
    312           <item row="0" column="1"> 
    313            <widget class="QLineEdit" name="noOfTermsInput"/> 
    314           </item> 
    315           <item row="2" column="1"> 
    316            <widget class="QLineEdit" name="maxDistanceInput"/> 
    317           </item> 
    318           <item row="0" column="0"> 
    319            <widget class="QLabel" name="label_12"> 
    320             <property name="text"> 
    321              <string>Number of Terms</string> 
    322             </property> 
    323            </widget> 
    324           </item> 
    325           <item row="1" column="2"> 
    326            <widget class="QPushButton" name="regConstantSuggestionButton"> 
    327             <property name="enabled"> 
    328              <bool>false</bool> 
    329             </property> 
    330             <property name="text"> 
    331              <string/> 
    332             </property> 
    333            </widget> 
    334           </item> 
    335           <item row="2" column="0"> 
    336            <widget class="QLabel" name="label_14"> 
    337             <property name="text"> 
    338              <string>Max distance [à
     119           </property> 
     120           <property name="title"> 
     121            <string>Parameters</string> 
     122           </property> 
     123           <layout class="QGridLayout" name="gridLayout"> 
     124            <item row="0" column="0"> 
     125             <widget class="QLabel" name="label_12"> 
     126              <property name="sizePolicy"> 
     127               <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> 
     128                <horstretch>0</horstretch> 
     129                <verstretch>0</verstretch> 
     130               </sizepolicy> 
     131              </property> 
     132              <property name="text"> 
     133               <string>Number of terms</string> 
     134              </property> 
     135             </widget> 
     136            </item> 
     137            <item row="0" column="1"> 
     138             <widget class="QLineEdit" name="noOfTermsInput"> 
     139              <property name="sizePolicy"> 
     140               <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 
     141                <horstretch>0</horstretch> 
     142                <verstretch>0</verstretch> 
     143               </sizepolicy> 
     144              </property> 
     145              <property name="minimumSize"> 
     146               <size> 
     147                <width>40</width> 
     148                <height>0</height> 
     149               </size> 
     150              </property> 
     151             </widget> 
     152            </item> 
     153            <item row="0" column="2"> 
     154             <widget class="QPushButton" name="noOfTermsSuggestionButton"> 
     155              <property name="enabled"> 
     156               <bool>false</bool> 
     157              </property> 
     158              <property name="text"> 
     159               <string/> 
     160              </property> 
     161             </widget> 
     162            </item> 
     163            <item row="1" column="0"> 
     164             <widget class="QLabel" name="label_13"> 
     165              <property name="sizePolicy"> 
     166               <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> 
     167                <horstretch>0</horstretch> 
     168                <verstretch>0</verstretch> 
     169               </sizepolicy> 
     170              </property> 
     171              <property name="minimumSize"> 
     172               <size> 
     173                <width>80</width> 
     174                <height>0</height> 
     175               </size> 
     176              </property> 
     177              <property name="text"> 
     178               <string>Reg. constant</string> 
     179              </property> 
     180             </widget> 
     181            </item> 
     182            <item row="1" column="1"> 
     183             <widget class="QLineEdit" name="regularizationConstantInput"> 
     184              <property name="sizePolicy"> 
     185               <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 
     186                <horstretch>0</horstretch> 
     187                <verstretch>0</verstretch> 
     188               </sizepolicy> 
     189              </property> 
     190              <property name="minimumSize"> 
     191               <size> 
     192                <width>40</width> 
     193                <height>0</height> 
     194               </size> 
     195              </property> 
     196             </widget> 
     197            </item> 
     198            <item row="1" column="2"> 
     199             <widget class="QPushButton" name="regConstantSuggestionButton"> 
     200              <property name="enabled"> 
     201               <bool>false</bool> 
     202              </property> 
     203              <property name="text"> 
     204               <string/> 
     205              </property> 
     206             </widget> 
     207            </item> 
     208            <item row="2" column="0"> 
     209             <widget class="QLabel" name="label_14"> 
     210              <property name="sizePolicy"> 
     211               <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> 
     212                <horstretch>0</horstretch> 
     213                <verstretch>0</verstretch> 
     214               </sizepolicy> 
     215              </property> 
     216              <property name="text"> 
     217               <string>Max distance [à
    339218]</string> 
    340             </property> 
    341            </widget> 
    342           </item> 
    343           <item row="1" column="1"> 
    344            <widget class="QLineEdit" name="regularizationConstantInput"/> 
    345           </item> 
    346          </layout> 
    347         </widget> 
     219              </property> 
     220             </widget> 
     221            </item> 
     222            <item row="2" column="1"> 
     223             <widget class="QLineEdit" name="maxDistanceInput"> 
     224              <property name="sizePolicy"> 
     225               <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 
     226                <horstretch>0</horstretch> 
     227                <verstretch>0</verstretch> 
     228               </sizepolicy> 
     229              </property> 
     230              <property name="minimumSize"> 
     231               <size> 
     232                <width>40</width> 
     233                <height>0</height> 
     234               </size> 
     235              </property> 
     236             </widget> 
     237            </item> 
     238            <item row="2" column="2"> 
     239             <widget class="QPushButton" name="explorerButton"> 
     240              <property name="sizePolicy"> 
     241               <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 
     242                <horstretch>0</horstretch> 
     243                <verstretch>0</verstretch> 
     244               </sizepolicy> 
     245              </property> 
     246              <property name="minimumSize"> 
     247               <size> 
     248                <width>50</width> 
     249                <height>0</height> 
     250               </size> 
     251              </property> 
     252              <property name="toolTip"> 
     253               <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Open the D&lt;span style=&quot; vertical-align:sub;&quot;&gt;max&lt;/span&gt; explorer window.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> 
     254              </property> 
     255              <property name="layoutDirection"> 
     256               <enum>Qt::LeftToRight</enum> 
     257              </property> 
     258              <property name="text"> 
     259               <string>Explore</string> 
     260              </property> 
     261             </widget> 
     262            </item> 
     263           </layout> 
     264           <zorder>noOfTermsInput</zorder> 
     265           <zorder>noOfTermsSuggestionButton</zorder> 
     266           <zorder>regularizationConstantInput</zorder> 
     267           <zorder>regConstantSuggestionButton</zorder> 
     268           <zorder>maxDistanceInput</zorder> 
     269           <zorder>explorerButton</zorder> 
     270           <zorder>label_13</zorder> 
     271           <zorder>label_12</zorder> 
     272           <zorder>label_14</zorder> 
     273          </widget> 
     274         </item> 
     275        </layout> 
    348276       </item> 
    349        <item row="4" column="0"> 
     277       <item row="2" column="0"> 
    350278        <widget class="QGroupBox" name="outputsGroupBox"> 
    351279         <property name="title"> 
     
    353281         </property> 
    354282         <layout class="QGridLayout" name="gridLayout_4"> 
     283          <item row="1" column="1"> 
     284           <widget class="QLineEdit" name="rgValue"> 
     285            <property name="enabled"> 
     286             <bool>true</bool> 
     287            </property> 
     288            <property name="sizePolicy"> 
     289             <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 
     290              <horstretch>0</horstretch> 
     291              <verstretch>0</verstretch> 
     292             </sizepolicy> 
     293            </property> 
     294            <property name="readOnly"> 
     295             <bool>true</bool> 
     296            </property> 
     297           </widget> 
     298          </item> 
     299          <item row="5" column="1"> 
     300           <widget class="QLineEdit" name="chiDofValue"> 
     301            <property name="enabled"> 
     302             <bool>true</bool> 
     303            </property> 
     304            <property name="sizePolicy"> 
     305             <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 
     306              <horstretch>0</horstretch> 
     307              <verstretch>0</verstretch> 
     308             </sizepolicy> 
     309            </property> 
     310            <property name="readOnly"> 
     311             <bool>true</bool> 
     312            </property> 
     313           </widget> 
     314          </item> 
     315          <item row="3" column="1"> 
     316           <widget class="QLineEdit" name="backgroundValue"> 
     317            <property name="enabled"> 
     318             <bool>true</bool> 
     319            </property> 
     320            <property name="sizePolicy"> 
     321             <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 
     322              <horstretch>0</horstretch> 
     323              <verstretch>0</verstretch> 
     324             </sizepolicy> 
     325            </property> 
     326            <property name="readOnly"> 
     327             <bool>true</bool> 
     328            </property> 
     329           </widget> 
     330          </item> 
     331          <item row="0" column="0"> 
     332           <widget class="QLabel" name="label_22"> 
     333            <property name="text"> 
     334             <string>Parameter</string> 
     335            </property> 
     336           </widget> 
     337          </item> 
    355338          <item row="0" column="1"> 
    356339           <widget class="QLabel" name="label_23"> 
     
    363346           </widget> 
    364347          </item> 
     348          <item row="4" column="2"> 
     349           <widget class="QLabel" name="label_27"> 
     350            <property name="text"> 
     351             <string>secs</string> 
     352            </property> 
     353           </widget> 
     354          </item> 
    365355          <item row="0" column="2"> 
    366356           <widget class="QLabel" name="label_28"> 
    367357            <property name="text"> 
    368358             <string>Units</string> 
     359            </property> 
     360           </widget> 
     361          </item> 
     362          <item row="1" column="0"> 
     363           <widget class="QLabel" name="label_15"> 
     364            <property name="text"> 
     365             <string>Rg</string> 
     366            </property> 
     367           </widget> 
     368          </item> 
     369          <item row="2" column="2"> 
     370           <widget class="QLabel" name="label_25"> 
     371            <property name="text"> 
     372             <string>à
     373-1</string> 
     374            </property> 
     375           </widget> 
     376          </item> 
     377          <item row="7" column="0"> 
     378           <widget class="QLabel" name="label_21"> 
     379            <property name="text"> 
     380             <string>Positive Fraction</string> 
     381            </property> 
     382           </widget> 
     383          </item> 
     384          <item row="5" column="0"> 
     385           <widget class="QLabel" name="label_19"> 
     386            <property name="text"> 
     387             <string>Chi^2/dof</string> 
     388            </property> 
     389           </widget> 
     390          </item> 
     391          <item row="6" column="0"> 
     392           <widget class="QLabel" name="label_20"> 
     393            <property name="text"> 
     394             <string>Oscillations</string> 
    369395            </property> 
    370396           </widget> 
     
    375401             <bool>true</bool> 
    376402            </property> 
     403            <property name="sizePolicy"> 
     404             <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 
     405              <horstretch>0</horstretch> 
     406              <verstretch>0</verstretch> 
     407             </sizepolicy> 
     408            </property> 
    377409            <property name="readOnly"> 
    378410             <bool>true</bool> 
     
    380412           </widget> 
    381413          </item> 
    382           <item row="3" column="0"> 
    383            <widget class="QLabel" name="label_17"> 
    384             <property name="text"> 
    385              <string>Background</string> 
     414          <item row="1" column="2"> 
     415           <widget class="QLabel" name="label_24"> 
     416            <property name="text"> 
     417             <string>à
     418</string> 
     419            </property> 
     420           </widget> 
     421          </item> 
     422          <item row="4" column="0"> 
     423           <widget class="QLabel" name="label_18"> 
     424            <property name="text"> 
     425             <string>Computation Time</string> 
     426            </property> 
     427           </widget> 
     428          </item> 
     429          <item row="8" column="0"> 
     430           <widget class="QLabel" name="label_29"> 
     431            <property name="text"> 
     432             <string>1-sigma positive fraction</string> 
     433            </property> 
     434           </widget> 
     435          </item> 
     436          <item row="8" column="1"> 
     437           <widget class="QLineEdit" name="sigmaPosFractionValue"> 
     438            <property name="enabled"> 
     439             <bool>true</bool> 
     440            </property> 
     441            <property name="sizePolicy"> 
     442             <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 
     443              <horstretch>0</horstretch> 
     444              <verstretch>0</verstretch> 
     445             </sizepolicy> 
     446            </property> 
     447            <property name="readOnly"> 
     448             <bool>true</bool> 
    386449            </property> 
    387450           </widget> 
     
    392455             <bool>true</bool> 
    393456            </property> 
     457            <property name="sizePolicy"> 
     458             <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 
     459              <horstretch>0</horstretch> 
     460              <verstretch>0</verstretch> 
     461             </sizepolicy> 
     462            </property> 
    394463            <property name="readOnly"> 
    395464             <bool>true</bool> 
     
    397466           </widget> 
    398467          </item> 
    399           <item row="2" column="2"> 
    400            <widget class="QLabel" name="label_25"> 
     468          <item row="3" column="2"> 
     469           <widget class="QLabel" name="label_26"> 
    401470            <property name="text"> 
    402471             <string>à
     
    405474           </widget> 
    406475          </item> 
    407           <item row="3" column="1"> 
    408            <widget class="QLineEdit" name="backgroundValue"> 
    409             <property name="enabled"> 
    410              <bool>true</bool> 
    411             </property> 
    412             <property name="readOnly"> 
    413              <bool>true</bool> 
    414             </property> 
    415            </widget> 
    416           </item> 
    417           <item row="1" column="0"> 
    418            <widget class="QLabel" name="label_15"> 
    419             <property name="text"> 
    420              <string>Rg</string> 
    421             </property> 
    422            </widget> 
    423           </item> 
    424           <item row="1" column="2"> 
    425            <widget class="QLabel" name="label_24"> 
    426             <property name="text"> 
    427              <string>à
    428 </string> 
    429             </property> 
    430            </widget> 
    431           </item> 
    432           <item row="6" column="0"> 
    433            <widget class="QLabel" name="label_20"> 
    434             <property name="text"> 
    435              <string>Oscillations</string> 
    436             </property> 
    437            </widget> 
    438           </item> 
    439           <item row="4" column="0"> 
    440            <widget class="QLabel" name="label_18"> 
    441             <property name="text"> 
    442              <string>Computation Time</string> 
    443             </property> 
    444            </widget> 
    445           </item> 
    446           <item row="4" column="2"> 
    447            <widget class="QLabel" name="label_27"> 
    448             <property name="text"> 
    449              <string>secs</string> 
    450             </property> 
    451            </widget> 
    452           </item> 
    453476          <item row="2" column="0"> 
    454477           <widget class="QLabel" name="label_16"> 
     
    458481           </widget> 
    459482          </item> 
    460           <item row="3" column="2"> 
    461            <widget class="QLabel" name="label_26"> 
    462             <property name="text"> 
    463              <string>à
    464 -1</string> 
    465             </property> 
    466            </widget> 
    467           </item> 
    468           <item row="0" column="0"> 
    469            <widget class="QLabel" name="label_22"> 
    470             <property name="text"> 
    471              <string>Parameter</string> 
    472             </property> 
    473            </widget> 
    474           </item> 
    475           <item row="8" column="0"> 
    476            <widget class="QLabel" name="label_29"> 
    477             <property name="text"> 
    478              <string>1-sigma positive fraction</string> 
     483          <item row="4" column="1"> 
     484           <widget class="QLineEdit" name="computationTimeValue"> 
     485            <property name="enabled"> 
     486             <bool>true</bool> 
     487            </property> 
     488            <property name="sizePolicy"> 
     489             <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 
     490              <horstretch>0</horstretch> 
     491              <verstretch>0</verstretch> 
     492             </sizepolicy> 
     493            </property> 
     494            <property name="readOnly"> 
     495             <bool>true</bool> 
     496            </property> 
     497           </widget> 
     498          </item> 
     499          <item row="3" column="0"> 
     500           <widget class="QLabel" name="label_17"> 
     501            <property name="text"> 
     502             <string>Background</string> 
    479503            </property> 
    480504           </widget> 
     
    485509             <bool>true</bool> 
    486510            </property> 
    487             <property name="readOnly"> 
    488              <bool>true</bool> 
    489             </property> 
    490            </widget> 
    491           </item> 
    492           <item row="5" column="0"> 
    493            <widget class="QLabel" name="label_19"> 
    494             <property name="text"> 
    495              <string>Chi^2/dof</string> 
    496             </property> 
    497            </widget> 
    498           </item> 
    499           <item row="1" column="1"> 
    500            <widget class="QLineEdit" name="rgValue"> 
    501             <property name="enabled"> 
    502              <bool>true</bool> 
    503             </property> 
    504             <property name="readOnly"> 
    505              <bool>true</bool> 
    506             </property> 
    507            </widget> 
    508           </item> 
    509           <item row="5" column="1"> 
    510            <widget class="QLineEdit" name="chiDofValue"> 
    511             <property name="enabled"> 
    512              <bool>true</bool> 
    513             </property> 
    514             <property name="readOnly"> 
    515              <bool>true</bool> 
    516             </property> 
    517            </widget> 
    518           </item> 
    519           <item row="4" column="1"> 
    520            <widget class="QLineEdit" name="computationTimeValue"> 
    521             <property name="enabled"> 
    522              <bool>true</bool> 
    523             </property> 
    524             <property name="readOnly"> 
    525              <bool>true</bool> 
    526             </property> 
    527            </widget> 
    528           </item> 
    529           <item row="7" column="0"> 
    530            <widget class="QLabel" name="label_21"> 
    531             <property name="text"> 
    532              <string>Positive Fraction</string> 
    533             </property> 
    534            </widget> 
    535           </item> 
    536           <item row="8" column="1"> 
    537            <widget class="QLineEdit" name="sigmaPosFractionValue"> 
    538             <property name="enabled"> 
    539              <bool>true</bool> 
     511            <property name="sizePolicy"> 
     512             <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 
     513              <horstretch>0</horstretch> 
     514              <verstretch>0</verstretch> 
     515             </sizepolicy> 
    540516            </property> 
    541517            <property name="readOnly"> 
     
    546522         </layout> 
    547523        </widget> 
     524       </item> 
     525      </layout> 
     526     </widget> 
     527     <widget class="QWidget" name="tabOptions"> 
     528      <attribute name="title"> 
     529       <string>Options</string> 
     530      </attribute> 
     531      <layout class="QGridLayout" name="gridLayout_9"> 
     532       <item row="0" column="0"> 
     533        <widget class="QGroupBox" name="groupBox"> 
     534         <property name="title"> 
     535          <string>Options</string> 
     536         </property> 
     537         <layout class="QGridLayout" name="gridLayout_8"> 
     538          <item row="0" column="0"> 
     539           <layout class="QHBoxLayout" name="horizontalLayout_3" stretch="2,1,0,2,2"> 
     540            <item> 
     541             <widget class="QLabel" name="label_5"> 
     542              <property name="text"> 
     543               <string>Background Level:</string> 
     544              </property> 
     545             </widget> 
     546            </item> 
     547            <item> 
     548             <widget class="QLineEdit" name="backgroundInput"> 
     549              <property name="enabled"> 
     550               <bool>false</bool> 
     551              </property> 
     552              <property name="text"> 
     553               <string>0.0</string> 
     554              </property> 
     555             </widget> 
     556            </item> 
     557            <item> 
     558             <widget class="QLabel" name="label_10"> 
     559              <property name="text"> 
     560               <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;à
     561&lt;span style=&quot; vertical-align:super;&quot;&gt;-1&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> 
     562              </property> 
     563             </widget> 
     564            </item> 
     565            <item> 
     566             <widget class="QRadioButton" name="estimateBgd"> 
     567              <property name="text"> 
     568               <string>Estimate</string> 
     569              </property> 
     570             </widget> 
     571            </item> 
     572            <item> 
     573             <widget class="QRadioButton" name="manualBgd"> 
     574              <property name="text"> 
     575               <string>Manual Input</string> 
     576              </property> 
     577             </widget> 
     578            </item> 
     579           </layout> 
     580          </item> 
     581          <item row="1" column="0"> 
     582           <widget class="QGroupBox" name="qRangeGroupBox"> 
     583            <property name="title"> 
     584             <string>Total Q range</string> 
     585            </property> 
     586            <layout class="QGridLayout" name="gridLayout_3"> 
     587             <item row="0" column="0"> 
     588              <layout class="QHBoxLayout" name="horizontalLayout_4"> 
     589               <item> 
     590                <widget class="QLabel" name="label_7"> 
     591                 <property name="text"> 
     592                  <string>Min:</string> 
     593                 </property> 
     594                </widget> 
     595               </item> 
     596               <item> 
     597                <widget class="QLineEdit" name="minQInput"> 
     598                 <property name="enabled"> 
     599                  <bool>true</bool> 
     600                 </property> 
     601                 <property name="sizePolicy"> 
     602                  <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 
     603                   <horstretch>0</horstretch> 
     604                   <verstretch>0</verstretch> 
     605                  </sizepolicy> 
     606                 </property> 
     607                </widget> 
     608               </item> 
     609               <item> 
     610                <widget class="QLabel" name="label_11"> 
     611                 <property name="text"> 
     612                  <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;à
     613&lt;span style=&quot; vertical-align:super;&quot;&gt;-1&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> 
     614                 </property> 
     615                </widget> 
     616               </item> 
     617               <item> 
     618                <widget class="QLabel" name="label_8"> 
     619                 <property name="text"> 
     620                  <string>Max:</string> 
     621                 </property> 
     622                </widget> 
     623               </item> 
     624               <item> 
     625                <widget class="QLineEdit" name="maxQInput"> 
     626                 <property name="enabled"> 
     627                  <bool>true</bool> 
     628                 </property> 
     629                 <property name="sizePolicy"> 
     630                  <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 
     631                   <horstretch>0</horstretch> 
     632                   <verstretch>0</verstretch> 
     633                  </sizepolicy> 
     634                 </property> 
     635                </widget> 
     636               </item> 
     637               <item> 
     638                <widget class="QLabel" name="label_9"> 
     639                 <property name="text"> 
     640                  <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;à
     641&lt;span style=&quot; vertical-align:super;&quot;&gt;-1&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> 
     642                 </property> 
     643                </widget> 
     644               </item> 
     645              </layout> 
     646             </item> 
     647            </layout> 
     648           </widget> 
     649          </item> 
     650          <item row="2" column="0"> 
     651           <widget class="QGroupBox" name="slitParamsGroupBox"> 
     652            <property name="title"> 
     653             <string>Slit Parameters</string> 
     654            </property> 
     655            <layout class="QGridLayout" name="gridLayout_5"> 
     656             <item row="0" column="0"> 
     657              <layout class="QHBoxLayout" name="horizontalLayout"> 
     658               <item> 
     659                <widget class="QLabel" name="label_3"> 
     660                 <property name="text"> 
     661                  <string>Height</string> 
     662                 </property> 
     663                </widget> 
     664               </item> 
     665               <item> 
     666                <widget class="QLineEdit" name="slitHeightInput"> 
     667                 <property name="enabled"> 
     668                  <bool>true</bool> 
     669                 </property> 
     670                 <property name="sizePolicy"> 
     671                  <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 
     672                   <horstretch>0</horstretch> 
     673                   <verstretch>0</verstretch> 
     674                  </sizepolicy> 
     675                 </property> 
     676                </widget> 
     677               </item> 
     678               <item> 
     679                <widget class="QLabel" name="label_6"> 
     680                 <property name="text"> 
     681                  <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;à
     682&lt;span style=&quot; vertical-align:super;&quot;&gt;-1&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> 
     683                 </property> 
     684                </widget> 
     685               </item> 
     686               <item> 
     687                <widget class="QLabel" name="label_4"> 
     688                 <property name="text"> 
     689                  <string>Width</string> 
     690                 </property> 
     691                </widget> 
     692               </item> 
     693               <item> 
     694                <widget class="QLineEdit" name="slitWidthInput"> 
     695                 <property name="enabled"> 
     696                  <bool>true</bool> 
     697                 </property> 
     698                 <property name="sizePolicy"> 
     699                  <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 
     700                   <horstretch>0</horstretch> 
     701                   <verstretch>0</verstretch> 
     702                  </sizepolicy> 
     703                 </property> 
     704                </widget> 
     705               </item> 
     706               <item> 
     707                <widget class="QLabel" name="label_2"> 
     708                 <property name="text"> 
     709                  <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;à
     710&lt;span style=&quot; vertical-align:super;&quot;&gt;-1&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> 
     711                 </property> 
     712                </widget> 
     713               </item> 
     714              </layout> 
     715             </item> 
     716            </layout> 
     717           </widget> 
     718          </item> 
     719         </layout> 
     720        </widget> 
     721       </item> 
     722       <item row="1" column="0"> 
     723        <spacer name="verticalSpacer"> 
     724         <property name="orientation"> 
     725          <enum>Qt::Vertical</enum> 
     726         </property> 
     727         <property name="sizeHint" stdset="0"> 
     728          <size> 
     729           <width>20</width> 
     730           <height>255</height> 
     731          </size> 
     732         </property> 
     733        </spacer> 
    548734       </item> 
    549735      </layout> 
     
    552738   </item> 
    553739   <item row="1" column="0"> 
    554     <spacer name="verticalSpacer"> 
     740    <spacer name="verticalSpacer_2"> 
    555741     <property name="orientation"> 
    556742      <enum>Qt::Vertical</enum> 
     
    559745      <size> 
    560746       <width>20</width> 
    561        <height>2</height> 
     747       <height>0</height> 
    562748      </size> 
    563749     </property> 
     
    565751   </item> 
    566752   <item row="2" column="0"> 
    567     <layout class="QHBoxLayout" name="horizontalLayout_5"> 
     753    <layout class="QHBoxLayout" name="horizontalLayout_8"> 
     754     <property name="sizeConstraint"> 
     755      <enum>QLayout::SetDefaultConstraint</enum> 
     756     </property> 
    568757     <item> 
    569758      <widget class="QPushButton" name="calculateThisButton"> 
     759       <property name="enabled"> 
     760        <bool>true</bool> 
     761       </property> 
    570762       <property name="text"> 
    571763        <string>Calculate</string> 
     
    575767     <item> 
    576768      <widget class="QPushButton" name="calculateAllButton"> 
     769       <property name="enabled"> 
     770        <bool>true</bool> 
     771       </property> 
     772       <property name="sizePolicy"> 
     773        <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> 
     774         <horstretch>0</horstretch> 
     775         <verstretch>0</verstretch> 
     776        </sizepolicy> 
     777       </property> 
    577778       <property name="text"> 
    578779        <string>Calculate All</string> 
     
    590791       <property name="sizeHint" stdset="0"> 
    591792        <size> 
    592          <width>158</width> 
     793         <width>40</width> 
    593794         <height>20</height> 
    594795        </size> 
Note: See TracChangeset for help on using the changeset viewer.