Changeset 76a0ffc in sasview for src


Ignore:
Timestamp:
Sep 8, 2018 3:19:49 AM (6 years ago)
Author:
Laura Forster <Awork@…>
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
7cc38a7, a2e8ea5
Parents:
50cafe7
Message:

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.

Location:
src/sas/qtgui/Perspectives/Fitting/UI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Fitting/UI/FittingWidgetUI.ui

    rd686ff1 r76a0ffc  
    7777      <number>0</number> 
    7878     </property> 
     79     <property name="iconSize"> 
     80      <size> 
     81       <width>16</width> 
     82       <height>16</height> 
     83      </size> 
     84     </property> 
    7985     <widget class="QWidget" name="tab_3"> 
    8086      <attribute name="title"> 
     
    8288      </attribute> 
    8389      <layout class="QGridLayout" name="gridLayout_4"> 
    84        <item row="0" column="0" colspan="4"> 
     90       <item row="0" column="0" colspan="3"> 
    8591        <widget class="QGroupBox" name="groupBox_6"> 
    8692         <property name="sizePolicy"> 
     
    158164       <item row="1" column="0"> 
    159165        <widget class="QGroupBox" name="groupBox_7"> 
     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> 
    160178         <property name="title"> 
    161179          <string>Options </string> 
     
    231249       <item row="1" column="1"> 
    232250        <widget class="QGroupBox" name="groupBox_8"> 
     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> 
    233263         <property name="title"> 
    234264          <string>Fitting details </string> 
    235265         </property> 
    236266         <layout class="QGridLayout" name="gridLayout_17"> 
     267          <property name="sizeConstraint"> 
     268           <enum>QLayout::SetFixedSize</enum> 
     269          </property> 
    237270          <item row="0" column="0" colspan="2"> 
    238271           <layout class="QGridLayout" name="gridLayout_8"> 
    239272            <item row="0" column="0"> 
    240273             <widget class="QLabel" name="label_16"> 
     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> 
    241286              <property name="text"> 
    242287               <string>Min range</string> 
     
    246291            <item row="0" column="1"> 
    247292             <widget class="QLabel" name="lblMinRangeDef"> 
     293              <property name="minimumSize"> 
     294               <size> 
     295                <width>0</width> 
     296                <height>0</height> 
     297               </size> 
     298              </property> 
    248299              <property name="text"> 
    249300               <string>0.005</string> 
     
    253304            <item row="0" column="2"> 
    254305             <widget class="QLabel" name="label_17"> 
     306              <property name="minimumSize"> 
     307               <size> 
     308                <width>0</width> 
     309                <height>0</height> 
     310               </size> 
     311              </property> 
    255312              <property name="text"> 
    256313               <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;à
     
    261318            <item row="1" column="0"> 
    262319             <widget class="QLabel" name="label_18"> 
     320              <property name="minimumSize"> 
     321               <size> 
     322                <width>25</width> 
     323                <height>0</height> 
     324               </size> 
     325              </property> 
     326              <property name="maximumSize"> 
     327               <size> 
     328                <width>16777215</width> 
     329                <height>16777215</height> 
     330               </size> 
     331              </property> 
    263332              <property name="text"> 
    264333               <string>Max range</string> 
     
    268337            <item row="1" column="1"> 
    269338             <widget class="QLabel" name="lblMaxRangeDef"> 
     339              <property name="minimumSize"> 
     340               <size> 
     341                <width>0</width> 
     342                <height>0</height> 
     343               </size> 
     344              </property> 
    270345              <property name="text"> 
    271346               <string>0.1</string> 
     
    275350            <item row="1" column="2"> 
    276351             <widget class="QLabel" name="label_19"> 
     352              <property name="minimumSize"> 
     353               <size> 
     354                <width>0</width> 
     355                <height>0</height> 
     356               </size> 
     357              </property> 
    277358              <property name="text"> 
    278359               <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;à
     
    301382       </item> 
    302383       <item row="1" column="2"> 
    303         <spacer name="horizontalSpacer_3"> 
    304          <property name="orientation"> 
    305           <enum>Qt::Horizontal</enum> 
    306          </property> 
    307          <property name="sizeHint" stdset="0"> 
     384        <widget class="QGroupBox" name="groupBox_9"> 
     385         <property name="minimumSize"> 
    308386          <size> 
    309            <width>207</width> 
    310            <height>20</height> 
     387           <width>80</width> 
     388           <height>0</height> 
    311389          </size> 
    312390         </property> 
    313         </spacer> 
    314        </item> 
    315        <item row="1" column="3"> 
    316         <widget class="QGroupBox" name="groupBox_9"> 
     391         <property name="maximumSize"> 
     392          <size> 
     393           <width>16777215</width> 
     394           <height>16777215</height> 
     395          </size> 
     396         </property> 
    317397         <property name="toolTip"> 
    318398          <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> 
     
    333413            <item> 
    334414             <widget class="QLabel" name="lblChi2Value"> 
     415              <property name="minimumSize"> 
     416               <size> 
     417                <width>50</width> 
     418                <height>0</height> 
     419               </size> 
     420              </property> 
    335421              <property name="text"> 
    336422               <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> 
  • src/sas/qtgui/Perspectives/Fitting/UI/OptionsWidgetUI.ui

    r79bd268 r76a0ffc  
    3232        <item row="0" column="1"> 
    3333         <widget class="QLineEdit" name="txtMinRange"> 
     34          <property name="minimumSize"> 
     35           <size> 
     36            <width>5</width> 
     37            <height>0</height> 
     38           </size> 
     39          </property> 
    3440          <property name="toolTip"> 
    3541           <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Minimum value of Q.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> 
     
    7682        <property name="sizeHint" stdset="0"> 
    7783         <size> 
    78           <width>217</width> 
     84          <width>40</width> 
    7985          <height>20</height> 
    8086         </size> 
Note: See TracChangeset for help on using the changeset viewer.