make fund_plat_fee user defined (no validation)

This commit is contained in:
2025-03-17 15:16:02 +00:00
parent fca1b384bd
commit 32bc3add9b
2 changed files with 175 additions and 29 deletions

View File

@ -6,32 +6,20 @@
<rect>
<x>0</x>
<y>0</y>
<width>498</width>
<height>303</height>
<width>630</width>
<height>567</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>498</width>
<height>303</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>498</width>
<height>303</height>
</size>
</property>
<property name="windowTitle">
<string>Platform Editor</string>
</property>
<widget class="QWidget" name="gridLayoutWidget">
<property name="geometry">
<rect>
<x>20</x>
<x>10</x>
<y>20</y>
<width>461</width>
<height>243</height>
<width>611</width>
<height>241</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
@ -261,8 +249,8 @@
</property>
<property name="geometry">
<rect>
<x>350</x>
<y>270</y>
<x>482</x>
<y>534</y>
<width>141</width>
<height>24</height>
</rect>
@ -274,8 +262,8 @@
<widget class="QLabel" name="req_field_lab">
<property name="geometry">
<rect>
<x>10</x>
<y>280</y>
<x>8</x>
<y>262</y>
<width>191</width>
<height>21</height>
</rect>
@ -287,7 +275,7 @@
<widget class="QLabel" name="active_lab">
<property name="geometry">
<rect>
<x>437</x>
<x>577</x>
<y>10</y>
<width>61</width>
<height>16</height>
@ -300,6 +288,93 @@
<set>Qt::AlignmentFlag::AlignCenter</set>
</property>
</widget>
<widget class="QWidget" name="gridLayoutWidget_2">
<property name="geometry">
<rect>
<x>11</x>
<y>314</y>
<width>611</width>
<height>31</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<property name="verticalSpacing">
<number>0</number>
</property>
<item row="0" column="3">
<widget class="FastEditQDoubleSpinBox" name="first_tier_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>
<property name="maximum">
<double>100.000000000000000</double>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="first_tier_lab">
<property name="text">
<string>on the first</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="first_tier_fee_lab">
<property name="text">
<string>the fee is</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="FastEditQDoubleSpinBox" name="first_tier_box">
<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 name="maximum">
<double>9999999.000000000000000</double>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QPushButton" name="new_row_but">
<property name="geometry">
<rect>
<x>532</x>
<y>481</y>
<width>91</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string>Add row</string>
</property>
</widget>
<widget class="QPushButton" name="del_row_but">
<property name="geometry">
<rect>
<x>440</x>
<y>481</y>
<width>91</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string>Remove row</string>
</property>
</widget>
</widget>
<customwidgets>
<customwidget>
@ -321,7 +396,6 @@
<tabstop>share_deal_fee_box</tabstop>
<tabstop>share_deal_reduce_trades_box</tabstop>
<tabstop>share_deal_reduce_amount_box</tabstop>
<tabstop>save_but</tabstop>
<tabstop>plat_name_check</tabstop>
<tabstop>fund_deal_fee_check</tabstop>
<tabstop>share_plat_fee_check</tabstop>
@ -329,6 +403,11 @@
<tabstop>share_deal_fee_check</tabstop>
<tabstop>share_deal_reduce_trades_check</tabstop>
<tabstop>share_deal_reduce_amount_check</tabstop>
<tabstop>first_tier_box</tabstop>
<tabstop>first_tier_fee_box</tabstop>
<tabstop>del_row_but</tabstop>
<tabstop>new_row_but</tabstop>
<tabstop>save_but</tabstop>
</tabstops>
<resources/>
<connections>