add label hint for checkboxes, fix tab order

This commit is contained in:
Roland W-H 2025-02-11 19:04:21 +00:00
parent 36a36f5437
commit 107c388afb

View File

@ -6,20 +6,20 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>480</width> <width>498</width>
<height>305</height> <height>303</height>
</rect> </rect>
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>480</width> <width>498</width>
<height>305</height> <height>303</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>480</width> <width>498</width>
<height>305</height> <height>303</height>
</size> </size>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -28,10 +28,10 @@
<widget class="QWidget" name="gridLayoutWidget"> <widget class="QWidget" name="gridLayoutWidget">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>10</x> <x>20</x>
<y>10</y> <y>20</y>
<width>461</width> <width>461</width>
<height>251</height> <height>243</height>
</rect> </rect>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
@ -53,30 +53,24 @@
<property name="verticalSpacing"> <property name="verticalSpacing">
<number>5</number> <number>5</number>
</property> </property>
<item row="8" column="0" colspan="2"> <item row="0" column="3">
<widget class="QLabel" name="share_deal_reduce_amount_lab"> <widget class="QCheckBox" name="plat_name_check">
<property name="text"> <property name="checked">
<string>Share dealing discount amount</string> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
<item row="8" column="2"> <item row="6" column="3">
<widget class="QDoubleSpinBox" name="share_deal_reduce_amount_box"> <widget class="QCheckBox" name="share_deal_fee_check">
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="buttonSymbols"> <property name="checked">
<enum>QAbstractSpinBox::ButtonSymbols::NoButtons</enum> <bool>true</bool>
</property>
<property name="correctionMode">
<enum>QAbstractSpinBox::CorrectionMode::CorrectToNearestValue</enum>
</property>
<property name="prefix">
<string>£</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="2"> <item row="5" column="2">
<widget class="QDoubleSpinBox" name="share_plat_max_fee_box"> <widget class="QDoubleSpinBox" name="share_plat_max_fee_box">
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
@ -92,40 +86,17 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="3"> <item row="2" column="3">
<widget class="QCheckBox" name="plat_name_check"> <widget class="QCheckBox" name="fund_deal_fee_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">
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="text">
<string/>
</property>
<property name="checked"> <property name="checked">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
<item row="5" column="2"> <item row="6" column="2">
<widget class="QDoubleSpinBox" name="share_deal_fee_box"> <widget class="QDoubleSpinBox" name="share_deal_fee_box">
<property name="buttonSymbols"> <property name="buttonSymbols">
<enum>QAbstractSpinBox::ButtonSymbols::NoButtons</enum> <enum>QAbstractSpinBox::ButtonSymbols::NoButtons</enum>
@ -138,7 +109,24 @@
</property> </property>
</widget> </widget>
</item> </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"> <widget class="QDoubleSpinBox" name="fund_deal_fee_box">
<property name="buttonSymbols"> <property name="buttonSymbols">
<enum>QAbstractSpinBox::ButtonSymbols::NoButtons</enum> <enum>QAbstractSpinBox::ButtonSymbols::NoButtons</enum>
@ -151,48 +139,14 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0" colspan="2"> <item row="6" 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">
<widget class="QLabel" name="share_deal_fee_lab"> <widget class="QLabel" name="share_deal_fee_lab">
<property name="text"> <property name="text">
<string>Share dealing fee*</string> <string>Share dealing fee*</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="7" column="2"> <item row="8" column="2">
<widget class="QSpinBox" name="share_deal_reduce_trades_box"> <widget class="QSpinBox" name="share_deal_reduce_trades_box">
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
@ -205,57 +159,79 @@
</property> </property>
</widget> </widget>
</item> </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"> <item row="8" column="3">
<widget class="QCheckBox" name="share_deal_reduce_amount_check"> <widget class="QCheckBox" name="share_deal_reduce_trades_check"/>
<property name="text">
<string/>
</property>
</widget>
</item> </item>
<item row="5" column="3"> <item row="4" column="3">
<widget class="QCheckBox" name="share_deal_fee_check"> <widget class="QCheckBox" name="share_plat_fee_check">
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="text">
<string/>
</property>
<property name="checked"> <property name="checked">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </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"> <widget class="QLabel" name="share_plat_fee_lab">
<property name="text"> <property name="text">
<string>Share platform fee*</string> <string>Share platform fee*</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="3"> <item row="4" column="2">
<widget class="QCheckBox" name="fund_deal_fee_check"> <widget class="QDoubleSpinBox" name="share_plat_fee_box">
<property name="enabled"> <property name="buttonSymbols">
<bool>false</bool> <enum>QAbstractSpinBox::ButtonSymbols::NoButtons</enum>
</property> </property>
<property name="text"> <property name="correctionMode">
<string/> <enum>QAbstractSpinBox::CorrectionMode::CorrectToNearestValue</enum>
</property> </property>
<property name="checked"> <property name="suffix">
<bool>true</bool> <string>%</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="3"> <item row="0" column="0" colspan="2">
<widget class="QCheckBox" name="share_plat_max_fee_check"> <widget class="QLabel" name="plat_name_lab">
<property name="text"> <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> </property>
</widget> </widget>
</item> </item>
@ -267,7 +243,7 @@
</property> </property>
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>330</x> <x>350</x>
<y>270</y> <y>270</y>
<width>141</width> <width>141</width>
<height>24</height> <height>24</height>
@ -277,11 +253,11 @@
<string>Save</string> <string>Save</string>
</property> </property>
</widget> </widget>
<widget class="QLabel" name="label"> <widget class="QLabel" name="req_field_lab">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>20</x> <x>10</x>
<y>270</y> <y>280</y>
<width>191</width> <width>191</width>
<height>21</height> <height>21</height>
</rect> </rect>
@ -290,6 +266,22 @@
<string>* Indicates required field</string> <string>* Indicates required field</string>
</property> </property>
</widget> </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> </widget>
<tabstops> <tabstops>
<tabstop>plat_name_box</tabstop> <tabstop>plat_name_box</tabstop>