Ignore:
Timestamp:
Jan 9, 2019 4:09:39 AM (5 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_sync_sascalc
Children:
cf9f39e
Parents:
bbcf9f0
Message:

Replace Apply button menu driven functionality with additional button.
Removed Cancel.
Removed the window system context help button from all affected widgets.
SASVIEW-1239

File:
1 edited

Legend:

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

    r2e5081b r33c0561  
    139139       <property name="sizeHint" stdset="0"> 
    140140        <size> 
    141          <width>88</width> 
     141         <width>58</width> 
    142142         <height>20</height> 
    143143        </size> 
     
    146146     </item> 
    147147     <item> 
    148       <widget class="QToolButton" name="cmdOK"> 
     148      <widget class="QToolButton" name="cmdAddAll"> 
     149       <property name="sizePolicy"> 
     150        <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 
     151         <horstretch>0</horstretch> 
     152         <verstretch>0</verstretch> 
     153        </sizepolicy> 
     154       </property> 
    149155       <property name="minimumSize"> 
    150156        <size> 
     
    154160       </property> 
    155161       <property name="toolTip"> 
     162        <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Add constraints between all identically named parameters in both fitpages&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> 
     163       </property> 
     164       <property name="text"> 
     165        <string>Add All</string> 
     166       </property> 
     167       <property name="popupMode"> 
     168        <enum>QToolButton::InstantPopup</enum> 
     169       </property> 
     170       <property name="toolButtonStyle"> 
     171        <enum>Qt::ToolButtonTextOnly</enum> 
     172       </property> 
     173       <property name="autoRaise"> 
     174        <bool>false</bool> 
     175       </property> 
     176       <property name="arrowType"> 
     177        <enum>Qt::DownArrow</enum> 
     178       </property> 
     179      </widget> 
     180     </item> 
     181     <item> 
     182      <widget class="QToolButton" name="cmdOK"> 
     183       <property name="sizePolicy"> 
     184        <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 
     185         <horstretch>0</horstretch> 
     186         <verstretch>0</verstretch> 
     187        </sizepolicy> 
     188       </property> 
     189       <property name="minimumSize"> 
     190        <size> 
     191         <width>93</width> 
     192         <height>28</height> 
     193        </size> 
     194       </property> 
     195       <property name="toolTip"> 
    156196        <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Add the constraint as defined by the above expression.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> 
    157197       </property> 
     
    170210       <property name="arrowType"> 
    171211        <enum>Qt::DownArrow</enum> 
    172        </property> 
    173       </widget> 
    174      </item> 
    175      <item> 
    176       <widget class="QPushButton" name="cmdCancel"> 
    177        <property name="toolTip"> 
    178         <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Close the window.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> 
    179        </property> 
    180        <property name="text"> 
    181         <string>Close</string> 
    182212       </property> 
    183213      </widget> 
     
    195225 </widget> 
    196226 <resources/> 
    197  <connections> 
    198   <connection> 
    199    <sender>cmdCancel</sender> 
    200    <signal>clicked()</signal> 
    201    <receiver>ComplexConstraintUI</receiver> 
    202    <slot>reject()</slot> 
    203    <hints> 
    204     <hint type="sourcelabel"> 
    205      <x>230</x> 
    206      <y>144</y> 
    207     </hint> 
    208     <hint type="destinationlabel"> 
    209      <x>179</x> 
    210      <y>82</y> 
    211     </hint> 
    212    </hints> 
    213   </connection> 
    214  </connections> 
     227 <connections/> 
    215228</ui> 
Note: See TracChangeset for help on using the changeset viewer.