621 lines
19 KiB
XML
621 lines
19 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>Gui::Dialog::DlgSettingsDraft</class>
|
|
<widget class="QWidget" name="Gui::Dialog::DlgSettingsDraft">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>555</width>
|
|
<height>797</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Texts and dimensions</string>
|
|
</property>
|
|
<layout class="QVBoxLayout">
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>9</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>9</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>9</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>9</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="title">
|
|
<string>Text settings</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="text">
|
|
<string>Font family</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Gui::PrefLineEdit" name="gui::preflineedit">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>200</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>This is the default font name for all Draft texts and dimensions.
|
|
It can be a font name such as "Arial", a default style such as "sans", "serif"
|
|
or "mono", or a family such as "Arial,Helvetica,sans" or a name with a style
|
|
such as "Arial:Bold"</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>Internal font</string>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>textfont</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/Draft</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
|
<item>
|
|
<widget class="QLabel" name="label_20">
|
|
<property name="text">
|
|
<string>Font size</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Gui::PrefDoubleSpinBox" name="gui::prefdoublespinbox_2">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Default height for texts and dimensions</string>
|
|
</property>
|
|
<property name="suffix">
|
|
<string>mm</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>9999.989999999999782</double>
|
|
</property>
|
|
<property name="value">
|
|
<double>0.200000000000000</double>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>textheight</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/Draft</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
<property name="title">
|
|
<string>Dimension settings</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_9">
|
|
<item>
|
|
<widget class="QLabel" name="label_21">
|
|
<property name="text">
|
|
<string>Display mode</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Gui::PrefComboBox" name="gui::prefcombobox_4">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>120</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>dimstyle</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/Draft</cstring>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>World</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Screen</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_7">
|
|
<item>
|
|
<widget class="QLabel" name="label_19">
|
|
<property name="text">
|
|
<string>Number of decimals</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="Gui::PrefSpinBox" name="gui::prefspinbox_5">
|
|
<property name="maximum">
|
|
<number>8</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>dimPrecision</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/Draft</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QLabel" name="label_18">
|
|
<property name="text">
|
|
<string>Extension lines size</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Gui::PrefDoubleSpinBox" name="gui::prefdoublespinbox_4">
|
|
<property name="toolTip">
|
|
<string>The default size of dimensions extension lines</string>
|
|
</property>
|
|
<property name="suffix">
|
|
<string>mm</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<double>-9999.989999999999782</double>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>9999.989999999999782</double>
|
|
</property>
|
|
<property name="value">
|
|
<double>0.300000000000000</double>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>extlines</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/Draft</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_extovershoot">
|
|
<item>
|
|
<widget class="QLabel" name="label_extovershoot">
|
|
<property name="text">
|
|
<string>Extension line overshoot</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Gui::PrefDoubleSpinBox" name="gui::prefdoublespinbox_extovershoot">
|
|
<property name="toolTip">
|
|
<string>The default length of extension line above dimension line</string>
|
|
</property>
|
|
<property name="suffix">
|
|
<string>mm</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<double>-9999.989999999999782</double>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>9999.989999999999782</double>
|
|
</property>
|
|
<property name="value">
|
|
<double>0.000000000000000</double>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>extovershoot</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/Draft</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_dimovershoot">
|
|
<item>
|
|
<widget class="QLabel" name="label_dimovershoot">
|
|
<property name="text">
|
|
<string>Dimension line overshoot</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Gui::PrefDoubleSpinBox" name="gui::prefdoublespinbox_dimovershoot">
|
|
<property name="toolTip">
|
|
<string>The default distance the dimension line is extended past extension lines</string>
|
|
</property>
|
|
<property name="suffix">
|
|
<string>mm</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<double>-9999.989999999999782</double>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>9999.989999999999782</double>
|
|
</property>
|
|
<property name="value">
|
|
<double>0.000000000000000</double>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>dimovershoot</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/Draft</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_14">
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Arrows style</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Gui::PrefComboBox" name="gui::prefcombobox">
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>dimsymbol</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/Draft</cstring>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Dot</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Circle</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Arrow</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Tick</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Tick-2</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<item>
|
|
<widget class="QLabel" name="label_9">
|
|
<property name="text">
|
|
<string>Arrows size</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Gui::PrefDoubleSpinBox" name="gui::prefdoublespinbox">
|
|
<property name="toolTip">
|
|
<string>The default size of arrows</string>
|
|
</property>
|
|
<property name="suffix">
|
|
<string>mm</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>9999.989999999999782</double>
|
|
</property>
|
|
<property name="value">
|
|
<double>0.100000000000000</double>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>arrowsize</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/Draft</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
<item>
|
|
<widget class="QLabel" name="label_12">
|
|
<property name="text">
|
|
<string>Text spacing</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Gui::PrefDoubleSpinBox" name="gui::prefdoublespinbox_5">
|
|
<property name="toolTip">
|
|
<string>The space between the dimension line and the dimension text</string>
|
|
</property>
|
|
<property name="suffix">
|
|
<string>mm</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>9999.989999999999782</double>
|
|
</property>
|
|
<property name="value">
|
|
<double>0.050000000000000</double>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>dimspacing</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/Draft</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
<item>
|
|
<widget class="Gui::PrefCheckBox" name="checkBox">
|
|
<property name="text">
|
|
<string>Show the unit suffix in dimensions</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>showUnit</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/Draft</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_8">
|
|
<item>
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Override unit</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="Gui::PrefLineEdit" name="lineEdit">
|
|
<property name="toolTip">
|
|
<string>By leaving this field blank, the dimension measurements will be shown in the current unit defined in FreeCAD. By indicating a unit here such as m or cm, you can force new dimensions to be shown in that unit.</string>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>overrideUnit</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/Draft</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_10">
|
|
<item>
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string>Feet separator</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_3">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="Gui::PrefLineEdit" name="lineEdit_2">
|
|
<property name="toolTip">
|
|
<string>Optional string to appear between the feet and inches values in dimensions</string>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>FeetSeparator</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/Draft</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_3">
|
|
<property name="title">
|
|
<string>ShapeString settings</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_23">
|
|
<item>
|
|
<widget class="QLabel" name="label_24">
|
|
<property name="text">
|
|
<string>Default ShapeString font file</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Gui::PrefFileChooser" name="gui::preffilechooser">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>300</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="filter">
|
|
<string>Font files (*.ttf *.otf *.pfb)</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Select a font file</string>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>FontFile</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/Draft</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<layoutdefault spacing="6" margin="11"/>
|
|
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>Gui::FileChooser</class>
|
|
<extends>QWidget</extends>
|
|
<header>Gui/FileDialog.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>Gui::PrefFileChooser</class>
|
|
<extends>Gui::FileChooser</extends>
|
|
<header>Gui/PrefWidgets.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>Gui::PrefSpinBox</class>
|
|
<extends>QSpinBox</extends>
|
|
<header>Gui/PrefWidgets.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>Gui::PrefCheckBox</class>
|
|
<extends>QCheckBox</extends>
|
|
<header>Gui/PrefWidgets.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>Gui::PrefComboBox</class>
|
|
<extends>QComboBox</extends>
|
|
<header>Gui/PrefWidgets.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>Gui::PrefLineEdit</class>
|
|
<extends>QLineEdit</extends>
|
|
<header>Gui/PrefWidgets.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>Gui::PrefDoubleSpinBox</class>
|
|
<extends>QDoubleSpinBox</extends>
|
|
<header>Gui/PrefWidgets.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|