Layout efficiency coefficient should support two decimals.

This commit is contained in:
Roman Telezhynskyi 2023-10-10 17:04:32 +03:00
parent 81235377fe
commit d1699e673c

View File

@ -90,7 +90,7 @@
<item> <item>
<widget class="QToolButton" name="toolButtonPortrait"> <widget class="QToolButton" name="toolButtonPortrait">
<property name="text"> <property name="text">
<string notr="true"></string> <string notr="true"/>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../../../libs/vmisc/share/resources/icon.qrc"> <iconset resource="../../../libs/vmisc/share/resources/icon.qrc">
@ -113,7 +113,7 @@
<item> <item>
<widget class="QToolButton" name="toolButtonLandscape"> <widget class="QToolButton" name="toolButtonLandscape">
<property name="text"> <property name="text">
<string notr="true"></string> <string notr="true"/>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../../../libs/vmisc/share/resources/icon.qrc"> <iconset resource="../../../libs/vmisc/share/resources/icon.qrc">
@ -435,13 +435,13 @@
<item row="2" column="1"> <item row="2" column="1">
<widget class="QDoubleSpinBox" name="doubleSpinBoxEfficiency"> <widget class="QDoubleSpinBox" name="doubleSpinBoxEfficiency">
<property name="toolTip"> <property name="toolTip">
<string>Set layout efficiency coefficient. Layout efficiency coefficientt is the ratio of the area occupied by the pieces to the bounding rect of all pieces. If nesting reaches required level the process stops. If value is 0 no check will be made.</string> <string>Set layout efficiency coefficient. Layout efficiency coefficient is the ratio of the area occupied by the pieces to the bounding rect of all pieces. If nesting reaches required level the process stops. If value is 0 no check will be made.</string>
</property> </property>
<property name="suffix"> <property name="suffix">
<string notr="true">%</string> <string notr="true">%</string>
</property> </property>
<property name="decimals"> <property name="decimals">
<number>1</number> <number>2</number>
</property> </property>
<property name="singleStep"> <property name="singleStep">
<double>0.100000000000000</double> <double>0.100000000000000</double>
@ -700,7 +700,7 @@
</connection> </connection>
</connections> </connections>
<buttongroups> <buttongroups>
<buttongroup name="buttonGroupPrinciple"/>
<buttongroup name="buttonGroup"/> <buttongroup name="buttonGroup"/>
<buttongroup name="buttonGroupPrinciple"/>
</buttongroups> </buttongroups>
</ui> </ui>