Gui: improve a bit number format selection

This commit is contained in:
0penBrain
2022-03-28 18:44:32 +02:00
committed by wwmayer
parent 68d7892fb0
commit 2ddf5dd625

View File

@@ -57,39 +57,27 @@
<number>6</number>
</property>
<item row="0" column="0">
<layout class="QHBoxLayout">
<property name="spacing">
<number>6</number>
<widget class="QLabel" name="TextLabel1_4">
<property name="text">
<string>Change language:</string>
</property>
<property name="leftMargin">
<number>0</number>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="Languages">
<property name="toolTip">
<string>Language of the application's user interface</string>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="TextLabel1_4">
<property name="text">
<string>Change language:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="Languages">
<property name="toolTip">
<string>Language of the application's user interface</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="TextLabel1_5">
<property name="text">
<string>Number format:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="Gui::PrefComboBox" name="UseLocaleFormatting">
<property name="prefEntry" stdset="0">
<cstring>UseLocaleFormatting</cstring>
@@ -99,37 +87,37 @@
</property>
<item>
<property name="text">
<string>Number format of operating system</string>
<string>Operating system</string>
</property>
</item>
<item>
<property name="text">
<string>Use selected language number format</string>
<string>Selected language</string>
</property>
</item>
<item>
<property name="text">
<string>C/POSIX number format</string>
<string>C/POSIX</string>
</property>
</item>
</widget>
</item>
<item row="1" column="1">
<widget class="Gui::PrefCheckBox" name="SubstituteDecimal">
<property name="toolTip">
<string>If enabled, numerical keypad decimal separator will be substituted with locale separator</string>
</property>
<property name="text">
<string>Substitute decimal separator (needs restart)</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>SubstituteDecimalSeparator</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>General</cstring>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="Gui::PrefCheckBox" name="SubstituteDecimal">
<property name="toolTip">
<string>If enabled, numerical keypad decimal separator will be substituted with locale separator</string>
</property>
<property name="text">
<string>Substitute decimal separator (needs restart)</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>SubstituteDecimalSeparator</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>General</cstring>
</property>
</widget>
</item>
</layout>
</widget>
</item>