mirror of
				https://github.com/RolandWH/SIPPCompare.git
				synced 2025-11-03 19:42:12 +00:00 
			
		
		
		
	add label hint for checkboxes, fix tab order
This commit is contained in:
		@@ -6,20 +6,20 @@
 | 
			
		||||
   <rect>
 | 
			
		||||
    <x>0</x>
 | 
			
		||||
    <y>0</y>
 | 
			
		||||
    <width>480</width>
 | 
			
		||||
    <height>305</height>
 | 
			
		||||
    <width>498</width>
 | 
			
		||||
    <height>303</height>
 | 
			
		||||
   </rect>
 | 
			
		||||
  </property>
 | 
			
		||||
  <property name="minimumSize">
 | 
			
		||||
   <size>
 | 
			
		||||
    <width>480</width>
 | 
			
		||||
    <height>305</height>
 | 
			
		||||
    <width>498</width>
 | 
			
		||||
    <height>303</height>
 | 
			
		||||
   </size>
 | 
			
		||||
  </property>
 | 
			
		||||
  <property name="maximumSize">
 | 
			
		||||
   <size>
 | 
			
		||||
    <width>480</width>
 | 
			
		||||
    <height>305</height>
 | 
			
		||||
    <width>498</width>
 | 
			
		||||
    <height>303</height>
 | 
			
		||||
   </size>
 | 
			
		||||
  </property>
 | 
			
		||||
  <property name="windowTitle">
 | 
			
		||||
@@ -28,10 +28,10 @@
 | 
			
		||||
  <widget class="QWidget" name="gridLayoutWidget">
 | 
			
		||||
   <property name="geometry">
 | 
			
		||||
    <rect>
 | 
			
		||||
     <x>10</x>
 | 
			
		||||
     <y>10</y>
 | 
			
		||||
     <x>20</x>
 | 
			
		||||
     <y>20</y>
 | 
			
		||||
     <width>461</width>
 | 
			
		||||
     <height>251</height>
 | 
			
		||||
     <height>243</height>
 | 
			
		||||
    </rect>
 | 
			
		||||
   </property>
 | 
			
		||||
   <layout class="QGridLayout" name="gridLayout">
 | 
			
		||||
@@ -53,30 +53,24 @@
 | 
			
		||||
    <property name="verticalSpacing">
 | 
			
		||||
     <number>5</number>
 | 
			
		||||
    </property>
 | 
			
		||||
    <item row="8" column="0" colspan="2">
 | 
			
		||||
     <widget class="QLabel" name="share_deal_reduce_amount_lab">
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>Share dealing discount amount</string>
 | 
			
		||||
    <item row="0" column="3">
 | 
			
		||||
     <widget class="QCheckBox" name="plat_name_check">
 | 
			
		||||
      <property name="checked">
 | 
			
		||||
       <bool>true</bool>
 | 
			
		||||
      </property>
 | 
			
		||||
     </widget>
 | 
			
		||||
    </item>
 | 
			
		||||
    <item row="8" column="2">
 | 
			
		||||
     <widget class="QDoubleSpinBox" name="share_deal_reduce_amount_box">
 | 
			
		||||
    <item row="6" column="3">
 | 
			
		||||
     <widget class="QCheckBox" name="share_deal_fee_check">
 | 
			
		||||
      <property name="enabled">
 | 
			
		||||
       <bool>false</bool>
 | 
			
		||||
      </property>
 | 
			
		||||
      <property name="buttonSymbols">
 | 
			
		||||
       <enum>QAbstractSpinBox::ButtonSymbols::NoButtons</enum>
 | 
			
		||||
      </property>
 | 
			
		||||
      <property name="correctionMode">
 | 
			
		||||
       <enum>QAbstractSpinBox::CorrectionMode::CorrectToNearestValue</enum>
 | 
			
		||||
      </property>
 | 
			
		||||
      <property name="prefix">
 | 
			
		||||
       <string>£</string>
 | 
			
		||||
      <property name="checked">
 | 
			
		||||
       <bool>true</bool>
 | 
			
		||||
      </property>
 | 
			
		||||
     </widget>
 | 
			
		||||
    </item>
 | 
			
		||||
    <item row="4" column="2">
 | 
			
		||||
    <item row="5" column="2">
 | 
			
		||||
     <widget class="QDoubleSpinBox" name="share_plat_max_fee_box">
 | 
			
		||||
      <property name="enabled">
 | 
			
		||||
       <bool>false</bool>
 | 
			
		||||
@@ -92,40 +86,17 @@
 | 
			
		||||
      </property>
 | 
			
		||||
     </widget>
 | 
			
		||||
    </item>
 | 
			
		||||
    <item row="0" column="3">
 | 
			
		||||
     <widget class="QCheckBox" name="plat_name_check">
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string/>
 | 
			
		||||
      </property>
 | 
			
		||||
      <property name="checked">
 | 
			
		||||
       <bool>true</bool>
 | 
			
		||||
      </property>
 | 
			
		||||
     </widget>
 | 
			
		||||
    </item>
 | 
			
		||||
    <item row="0" column="0" colspan="2">
 | 
			
		||||
     <widget class="QLabel" name="plat_name_lab">
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>Platform name</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </widget>
 | 
			
		||||
    </item>
 | 
			
		||||
    <item row="0" column="2">
 | 
			
		||||
     <widget class="QLineEdit" name="plat_name_box"/>
 | 
			
		||||
    </item>
 | 
			
		||||
    <item row="3" column="3">
 | 
			
		||||
     <widget class="QCheckBox" name="share_plat_fee_check">
 | 
			
		||||
    <item row="2" column="3">
 | 
			
		||||
     <widget class="QCheckBox" name="fund_deal_fee_check">
 | 
			
		||||
      <property name="enabled">
 | 
			
		||||
       <bool>false</bool>
 | 
			
		||||
      </property>
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string/>
 | 
			
		||||
      </property>
 | 
			
		||||
      <property name="checked">
 | 
			
		||||
       <bool>true</bool>
 | 
			
		||||
      </property>
 | 
			
		||||
     </widget>
 | 
			
		||||
    </item>
 | 
			
		||||
    <item row="5" column="2">
 | 
			
		||||
    <item row="6" column="2">
 | 
			
		||||
     <widget class="QDoubleSpinBox" name="share_deal_fee_box">
 | 
			
		||||
      <property name="buttonSymbols">
 | 
			
		||||
       <enum>QAbstractSpinBox::ButtonSymbols::NoButtons</enum>
 | 
			
		||||
@@ -138,7 +109,24 @@
 | 
			
		||||
      </property>
 | 
			
		||||
     </widget>
 | 
			
		||||
    </item>
 | 
			
		||||
    <item row="1" column="2">
 | 
			
		||||
    <item row="8" column="0" colspan="2">
 | 
			
		||||
     <widget class="QLabel" name="share_deal_reduce_trades_lab">
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>Share dealing discount # of trades</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </widget>
 | 
			
		||||
    </item>
 | 
			
		||||
    <item row="9" column="3">
 | 
			
		||||
     <widget class="QCheckBox" name="share_deal_reduce_amount_check"/>
 | 
			
		||||
    </item>
 | 
			
		||||
    <item row="5" column="0" colspan="2">
 | 
			
		||||
     <widget class="QLabel" name="share_plat_max_fee_lab">
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>Share platform fee cap/mth</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </widget>
 | 
			
		||||
    </item>
 | 
			
		||||
    <item row="2" column="2">
 | 
			
		||||
     <widget class="QDoubleSpinBox" name="fund_deal_fee_box">
 | 
			
		||||
      <property name="buttonSymbols">
 | 
			
		||||
       <enum>QAbstractSpinBox::ButtonSymbols::NoButtons</enum>
 | 
			
		||||
@@ -151,48 +139,14 @@
 | 
			
		||||
      </property>
 | 
			
		||||
     </widget>
 | 
			
		||||
    </item>
 | 
			
		||||
    <item row="1" column="0" colspan="2">
 | 
			
		||||
     <widget class="QLabel" name="fund_deal_fee_lab">
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>Fund dealing fee*</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </widget>
 | 
			
		||||
    </item>
 | 
			
		||||
    <item row="4" column="0" colspan="2">
 | 
			
		||||
     <widget class="QLabel" name="share_plat_max_fee_lab">
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>Share platform fee cap/mth</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </widget>
 | 
			
		||||
    </item>
 | 
			
		||||
    <item row="3" column="2">
 | 
			
		||||
     <widget class="QDoubleSpinBox" name="share_plat_fee_box">
 | 
			
		||||
      <property name="buttonSymbols">
 | 
			
		||||
       <enum>QAbstractSpinBox::ButtonSymbols::NoButtons</enum>
 | 
			
		||||
      </property>
 | 
			
		||||
      <property name="correctionMode">
 | 
			
		||||
       <enum>QAbstractSpinBox::CorrectionMode::CorrectToNearestValue</enum>
 | 
			
		||||
      </property>
 | 
			
		||||
      <property name="suffix">
 | 
			
		||||
       <string>%</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </widget>
 | 
			
		||||
    </item>
 | 
			
		||||
    <item row="7" column="3">
 | 
			
		||||
     <widget class="QCheckBox" name="share_deal_reduce_trades_check">
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string/>
 | 
			
		||||
      </property>
 | 
			
		||||
     </widget>
 | 
			
		||||
    </item>
 | 
			
		||||
    <item row="5" column="0" colspan="2">
 | 
			
		||||
    <item row="6" column="0" colspan="2">
 | 
			
		||||
     <widget class="QLabel" name="share_deal_fee_lab">
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>Share dealing fee*</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </widget>
 | 
			
		||||
    </item>
 | 
			
		||||
    <item row="7" column="2">
 | 
			
		||||
    <item row="8" column="2">
 | 
			
		||||
     <widget class="QSpinBox" name="share_deal_reduce_trades_box">
 | 
			
		||||
      <property name="enabled">
 | 
			
		||||
       <bool>false</bool>
 | 
			
		||||
@@ -205,57 +159,79 @@
 | 
			
		||||
      </property>
 | 
			
		||||
     </widget>
 | 
			
		||||
    </item>
 | 
			
		||||
    <item row="7" column="0" colspan="2">
 | 
			
		||||
     <widget class="QLabel" name="share_deal_reduce_trades_lab">
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>Share dealing discount # of trades</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </widget>
 | 
			
		||||
    </item>
 | 
			
		||||
    <item row="8" column="3">
 | 
			
		||||
     <widget class="QCheckBox" name="share_deal_reduce_amount_check">
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string/>
 | 
			
		||||
      </property>
 | 
			
		||||
     </widget>
 | 
			
		||||
     <widget class="QCheckBox" name="share_deal_reduce_trades_check"/>
 | 
			
		||||
    </item>
 | 
			
		||||
    <item row="5" column="3">
 | 
			
		||||
     <widget class="QCheckBox" name="share_deal_fee_check">
 | 
			
		||||
    <item row="4" column="3">
 | 
			
		||||
     <widget class="QCheckBox" name="share_plat_fee_check">
 | 
			
		||||
      <property name="enabled">
 | 
			
		||||
       <bool>false</bool>
 | 
			
		||||
      </property>
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string/>
 | 
			
		||||
      </property>
 | 
			
		||||
      <property name="checked">
 | 
			
		||||
       <bool>true</bool>
 | 
			
		||||
      </property>
 | 
			
		||||
     </widget>
 | 
			
		||||
    </item>
 | 
			
		||||
    <item row="3" column="0" colspan="2">
 | 
			
		||||
    <item row="2" column="0" colspan="2">
 | 
			
		||||
     <widget class="QLabel" name="fund_deal_fee_lab">
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>Fund dealing fee*</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </widget>
 | 
			
		||||
    </item>
 | 
			
		||||
    <item row="5" column="3">
 | 
			
		||||
     <widget class="QCheckBox" name="share_plat_max_fee_check"/>
 | 
			
		||||
    </item>
 | 
			
		||||
    <item row="0" column="2">
 | 
			
		||||
     <widget class="QLineEdit" name="plat_name_box"/>
 | 
			
		||||
    </item>
 | 
			
		||||
    <item row="9" column="0" colspan="2">
 | 
			
		||||
     <widget class="QLabel" name="share_deal_reduce_amount_lab">
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>Share dealing discount amount</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </widget>
 | 
			
		||||
    </item>
 | 
			
		||||
    <item row="4" column="0" colspan="2">
 | 
			
		||||
     <widget class="QLabel" name="share_plat_fee_lab">
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>Share platform fee*</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </widget>
 | 
			
		||||
    </item>
 | 
			
		||||
    <item row="1" column="3">
 | 
			
		||||
     <widget class="QCheckBox" name="fund_deal_fee_check">
 | 
			
		||||
      <property name="enabled">
 | 
			
		||||
       <bool>false</bool>
 | 
			
		||||
    <item row="4" column="2">
 | 
			
		||||
     <widget class="QDoubleSpinBox" name="share_plat_fee_box">
 | 
			
		||||
      <property name="buttonSymbols">
 | 
			
		||||
       <enum>QAbstractSpinBox::ButtonSymbols::NoButtons</enum>
 | 
			
		||||
      </property>
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string/>
 | 
			
		||||
      <property name="correctionMode">
 | 
			
		||||
       <enum>QAbstractSpinBox::CorrectionMode::CorrectToNearestValue</enum>
 | 
			
		||||
      </property>
 | 
			
		||||
      <property name="checked">
 | 
			
		||||
       <bool>true</bool>
 | 
			
		||||
      <property name="suffix">
 | 
			
		||||
       <string>%</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </widget>
 | 
			
		||||
    </item>
 | 
			
		||||
    <item row="4" column="3">
 | 
			
		||||
     <widget class="QCheckBox" name="share_plat_max_fee_check">
 | 
			
		||||
    <item row="0" column="0" colspan="2">
 | 
			
		||||
     <widget class="QLabel" name="plat_name_lab">
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string/>
 | 
			
		||||
       <string>Platform name</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </widget>
 | 
			
		||||
    </item>
 | 
			
		||||
    <item row="9" column="2">
 | 
			
		||||
     <widget class="QDoubleSpinBox" name="share_deal_reduce_amount_box">
 | 
			
		||||
      <property name="enabled">
 | 
			
		||||
       <bool>false</bool>
 | 
			
		||||
      </property>
 | 
			
		||||
      <property name="buttonSymbols">
 | 
			
		||||
       <enum>QAbstractSpinBox::ButtonSymbols::NoButtons</enum>
 | 
			
		||||
      </property>
 | 
			
		||||
      <property name="correctionMode">
 | 
			
		||||
       <enum>QAbstractSpinBox::CorrectionMode::CorrectToNearestValue</enum>
 | 
			
		||||
      </property>
 | 
			
		||||
      <property name="prefix">
 | 
			
		||||
       <string>£</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </widget>
 | 
			
		||||
    </item>
 | 
			
		||||
@@ -267,7 +243,7 @@
 | 
			
		||||
   </property>
 | 
			
		||||
   <property name="geometry">
 | 
			
		||||
    <rect>
 | 
			
		||||
     <x>330</x>
 | 
			
		||||
     <x>350</x>
 | 
			
		||||
     <y>270</y>
 | 
			
		||||
     <width>141</width>
 | 
			
		||||
     <height>24</height>
 | 
			
		||||
@@ -277,11 +253,11 @@
 | 
			
		||||
    <string>Save</string>
 | 
			
		||||
   </property>
 | 
			
		||||
  </widget>
 | 
			
		||||
  <widget class="QLabel" name="label">
 | 
			
		||||
  <widget class="QLabel" name="req_field_lab">
 | 
			
		||||
   <property name="geometry">
 | 
			
		||||
    <rect>
 | 
			
		||||
     <x>20</x>
 | 
			
		||||
     <y>270</y>
 | 
			
		||||
     <x>10</x>
 | 
			
		||||
     <y>280</y>
 | 
			
		||||
     <width>191</width>
 | 
			
		||||
     <height>21</height>
 | 
			
		||||
    </rect>
 | 
			
		||||
@@ -290,6 +266,22 @@
 | 
			
		||||
    <string>* Indicates required field</string>
 | 
			
		||||
   </property>
 | 
			
		||||
  </widget>
 | 
			
		||||
  <widget class="QLabel" name="active_lab">
 | 
			
		||||
   <property name="geometry">
 | 
			
		||||
    <rect>
 | 
			
		||||
     <x>437</x>
 | 
			
		||||
     <y>10</y>
 | 
			
		||||
     <width>61</width>
 | 
			
		||||
     <height>16</height>
 | 
			
		||||
    </rect>
 | 
			
		||||
   </property>
 | 
			
		||||
   <property name="text">
 | 
			
		||||
    <string>Active?</string>
 | 
			
		||||
   </property>
 | 
			
		||||
   <property name="alignment">
 | 
			
		||||
    <set>Qt::AlignmentFlag::AlignCenter</set>
 | 
			
		||||
   </property>
 | 
			
		||||
  </widget>
 | 
			
		||||
 </widget>
 | 
			
		||||
 <tabstops>
 | 
			
		||||
  <tabstop>plat_name_box</tabstop>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user