Files
create/src/Gui/DlgSettingsUnits.ui
donovaly bab14b5895 more fixes for the UnitsCalculator
- we must read out the unit system description UTF8 to get the characters ² and ³
- update unit system description according to today's unit "cft" addition
- don't hardcode the unit system descriptions in the .ui file
- add acceleration to imperial schema
2019-12-24 13:31:13 +01:00

163 lines
4.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Gui::Dialog::DlgSettingsUnits</class>
<widget class="QWidget" name="Gui::Dialog::DlgSettingsUnits">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>484</width>
<height>388</height>
</rect>
</property>
<property name="windowTitle">
<string>Units</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QGroupBox" name="GroupBox6">
<property name="title">
<string>Units settings</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="4" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>79</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>Number of decimals:</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBoxDecimals">
<property name="toolTip">
<string>Number of decimals that should be shown for numbers and dimensions</string>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>12</number>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Unit system:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_ViewSystem">
<property name="toolTip">
<string>Unit system that should be used for all parts the application</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="3" column="0">
<widget class="QTableWidget" name="tableWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<column>
<property name="text">
<string>Magnitude</string>
</property>
</column>
<column>
<property name="text">
<string>Unit</string>
</property>
</column>
</widget>
</item>
<item row="2" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>Minimum fractional inch:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_FracInch">
<property name="toolTip">
<string>Minimum fractional inch to be displayed</string>
</property>
<item>
<property name="text">
<string>1/2&quot;</string>
</property>
</item>
<item>
<property name="text">
<string>1/4&quot;</string>
</property>
</item>
<item>
<property name="text">
<string>1/8&quot;</string>
</property>
</item>
<item>
<property name="text">
<string>1/16&quot;</string>
</property>
</item>
<item>
<property name="text">
<string>1/32&quot;</string>
</property>
</item>
<item>
<property name="text">
<string>1/64&quot;</string>
</property>
</item>
<item>
<property name="text">
<string>1/128&quot;</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
<connections/>
</ui>