Files
create/src/Mod/Draft/Resources/ui/preferences-drafttexts.ui
2023-12-10 15:22:43 +01:00

717 lines
22 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">
<item>
<widget class="QGroupBox" name="groupBox_1">
<property name="title">
<string>Texts</string>
</property>
<layout class="QGridLayout" name="gridLayout_1">
<item row="0" column="0">
<widget class="QLabel" name="label_textfont">
<property name="text">
<string>Font name or family</string>
</property>
</widget>
</item>
<item row="0" column="1" colspan="2">
<widget class="Gui::PrefLineEdit" name="lineEdit_textfont">
<property name="toolTip">
<string>The default font for texts, dimensions and labels. It can be a font name such
as &quot;Arial&quot;, a style such as &quot;sans&quot;, &quot;serif&quot; or &quot;mono&quot;, or a family such as
&quot;Arial,Helvetica,sans&quot;, or a name with a style such as &quot;Arial:Bold&quot;.</string>
</property>
<property name="text">
<string/>
</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>
<item row="1" column="0">
<widget class="QLabel" name="label_textheight">
<property name="text">
<string>Font size</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="Gui::PrefUnitSpinBox" name="spinBox_textheight">
<property name="minimumSize">
<size>
<width>140</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>The default height for texts, dimension texts and label texts</string>
</property>
<property name="singleStep">
<double>0.05</double>
</property>
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="minimum" stdset="0">
<double>0.0</double>
</property>
<property name="rawValue" stdset="0">
<double>3.5</double>
</property>
<property name="prefEntry" stdset="0">
<cstring>textheight</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Draft</cstring>
</property>
</widget>
</item>
<item row="1" column="2">
<spacer name="horizontalSpacer_1">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</spacer>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_LineSpacing">
<property name="text">
<string>Line spacing factor</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="Gui::PrefDoubleSpinBox" name="spinBox_LineSpacing">
<property name="toolTip">
<string>The default line spacing for multi-line texts and labels (relative to the font size)</string>
</property>
<property name="singleStep">
<double>0.05</double>
</property>
<property name="value">
<double>1.0</double>
</property>
<property name="prefEntry" stdset="0">
<cstring>LineSpacing</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Draft</cstring>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_DefaultAnnoScaleMultiplier">
<property name="text">
<string>Scale multiplier</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="Gui::PrefDoubleSpinBox" name="spinBox_DefaultAnnoScaleMultiplier">
<property name="toolTip">
<string>The default annotation scale multiplier. This is the inverse of the scale set
in the Annotation scale widget. If the scale is 1:100 the multiplier is 100.</string>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="value">
<double>1.0</double>
</property>
<property name="prefEntry" stdset="0">
<cstring>DefaultAnnoScaleMultiplier</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Draft</cstring>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_DefaultTextColor">
<property name="text">
<string>Text color</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="Gui::PrefColorButton" name="colorButton_DefaultTextColor">
<property name="toolTip">
<string>The default color for texts, dimension texts and label texts</string>
</property>
<property name="color" stdset="0">
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</property>
<property name="prefEntry" stdset="0">
<cstring>DefaultTextColor</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Draft</cstring>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>Lines and arrows</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0" colspan="3">
<widget class="Gui::PrefCheckBox" name="checkBox_DimShowLine">
<property name="toolTip">
<string>If checked, the dimension line is displayed by default</string>
</property>
<property name="text">
<string>Show dimension line</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="prefEntry" stdset="0">
<cstring>DimShowLine</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Draft</cstring>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_DefaultAnnoLineWidth">
<property name="text">
<string>Line width</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="Gui::PrefSpinBox" name="spinBox_DefaultAnnoLineWidth">
<property name="toolTip">
<string>The default line width</string>
</property>
<property name="suffix">
<string> px</string>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="value">
<number>2</number>
</property>
<property name="prefEntry" stdset="0">
<cstring>DefaultAnnoLineWidth</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Draft</cstring>
</property>
</widget>
</item>
<item row="1" column="2">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</spacer>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_dimsymbol">
<property name="text">
<string>Arrow type</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="Gui::PrefComboBox" name="comboBox_dimsymbol">
<property name="minimumSize">
<size>
<width>140</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>The default symbol displayed at the ends of dimension lines</string>
</property>
<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>
<item row="3" column="0">
<widget class="QLabel" name="label_arrowsize">
<property name="text">
<string>Arrow size</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="Gui::PrefUnitSpinBox" name="spinBox_arrowsize">
<property name="toolTip">
<string>The default arrow size</string>
</property>
<property name="singleStep">
<double>0.05</double>
</property>
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="minimum" stdset="0">
<double>0.0</double>
</property>
<property name="rawValue" stdset="0">
<double>1.0</double>
</property>
<property name="prefEntry" stdset="0">
<cstring>arrowsize</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Draft</cstring>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_DefaultAnnoLineColor">
<property name="text">
<string>Line and arrow color</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="Gui::PrefColorButton" name="colorButton_DefaultAnnoLineColor">
<property name="toolTip">
<string>The default color for lines and arrows</string>
</property>
<property name="color" stdset="0">
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</property>
<property name="prefEntry" stdset="0">
<cstring>DefaultAnnoLineColor</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Draft</cstring>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_3">
<property name="title">
<string>Units</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0" colspan="3">
<widget class="Gui::PrefCheckBox" name="checkBox_showUnit">
<property name="toolTip">
<string>If checked, a unit symbol is added to dimension texts by default</string>
</property>
<property name="text">
<string>Show unit</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>
<item row="1" column="0">
<widget class="QLabel" name="label_overrideUnit">
<property name="text">
<string>Unit override</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="Gui::PrefLineEdit" name="lineEdit_overrideUnit">
<property name="maximumSize">
<size>
<width>140</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>The default unit override for dimensions. Enter a unit such as m
or cm, leave blank to use the current unit defined in FreeCAD.</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>overrideUnit</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Draft</cstring>
</property>
</widget>
</item>
<item row="1" column="2">
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</spacer>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_dimPrecision">
<property name="text">
<string>Number of decimals</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="Gui::PrefSpinBox" name="spinBox_dimPrecision">
<property name="toolTip">
<string>The default number of decimal places for dimension texts</string>
</property>
<property name="minimum">
<number>0</number>
</property>
<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>
<item row="3" column="0">
<widget class="QLabel" name="label_FeetSeparator">
<property name="text">
<string>Feet separator</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="Gui::PrefLineEdit" name="lineEdit_FeetSeparator">
<property name="maximumSize">
<size>
<width>140</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>The optional string inserted 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>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_4">
<property name="title">
<string>Dimension details</string>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="0">
<widget class="QLabel" name="label_dimovershoot">
<property name="text">
<string>Dimension line overshoot</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="Gui::PrefUnitSpinBox" name="spinBox_dimovershoot">
<property name="minimumSize">
<size>
<width>140</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>The default distance the dimension line is extended past the extension lines</string>
</property>
<property name="singleStep">
<double>0.05</double>
</property>
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="rawValue" stdset="0">
<double>0.0</double>
</property>
<property name="prefEntry" stdset="0">
<cstring>dimovershoot</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Draft</cstring>
</property>
</widget>
</item>
<item row="0" column="2">
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</spacer>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_extlines">
<property name="text">
<string>Extension line length</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="Gui::PrefUnitSpinBox" name="spinBox_extlines">
<property name="toolTip">
<string>The default length of extension lines. Use 0 for full extension lines. A negative
value defines the gap between the ends of the extension lines and the measured
points. A positive value defines the maximum length of the extension lines. Only
used for linear dimensions.</string>
</property>
<property name="singleStep">
<double>0.05</double>
</property>
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="rawValue" stdset="0">
<double>-0.5</double>
</property>
<property name="prefEntry" stdset="0">
<cstring>extlines</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Draft</cstring>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_extovershoot">
<property name="text">
<string>Extension line overshoot</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="Gui::PrefUnitSpinBox" name="spinBox_extovershoot">
<property name="toolTip">
<string>The default length of extension lines above the dimension line</string>
</property>
<property name="singleStep">
<double>0.05</double>
</property>
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="rawValue" stdset="0">
<double>2.0</double>
</property>
<property name="prefEntry" stdset="0">
<cstring>extovershoot</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Draft</cstring>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_dimspacing">
<property name="text">
<string>Text spacing</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="Gui::PrefUnitSpinBox" name="spinBox_dimspacing">
<property name="toolTip">
<string>The default space between the dimension line and the dimension text</string>
</property>
<property name="singleStep">
<double>0.05</double>
</property>
<property name="unit" stdset="0">
<string>mm</string>
</property>
<property name="minimum" stdset="0">
<double>0.0</double>
</property>
<property name="rawValue" stdset="0">
<double>1.0</double>
</property>
<property name="prefEntry" stdset="0">
<cstring>dimspacing</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Draft</cstring>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_5">
<property name="title">
<string>ShapeStrings</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_1">
<item>
<widget class="QLabel" name="label_FontFile">
<property name="text">
<string>Default ShapeString font file</string>
</property>
</widget>
</item>
<item>
<widget class="Gui::PrefFileChooser" name="fileChooser_FontFile">
<property name="filter">
<string>Font files (*.ttf *.otf *.pfb *.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>
</widget>
</item>
<item>
<spacer name="verticalSpacer_1">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</spacer>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="30"/>
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
<customwidgets>
<customwidget>
<class>Gui::PrefCheckBox</class>
<extends>QCheckBox</extends>
<header>Gui/PrefWidgets.h</header>
</customwidget>
<customwidget>
<class>Gui::PrefLineEdit</class>
<extends>QLineEdit</extends>
<header>Gui/PrefWidgets.h</header>
</customwidget>
<customwidget>
<class>Gui::PrefComboBox</class>
<extends>QComboBox</extends>
<header>Gui/PrefWidgets.h</header>
</customwidget>
<customwidget>
<class>Gui::PrefSpinBox</class>
<extends>QSpinBox</extends>
<header>Gui/PrefWidgets.h</header>
</customwidget>
<customwidget>
<class>Gui::PrefDoubleSpinBox</class>
<extends>QDoubleSpinBox</extends>
<header>Gui/PrefWidgets.h</header>
</customwidget>
<customwidget>
<class>Gui::QuantitySpinBox</class>
<extends>QWidget</extends>
<header>Gui/QuantitySpinBox.h</header>
</customwidget>
<customwidget>
<class>Gui::PrefUnitSpinBox</class>
<extends>Gui::QuantitySpinBox</extends>
<header>Gui/PrefWidgets.h</header>
</customwidget>
<customwidget>
<class>Gui::ColorButton</class>
<extends>QPushButton</extends>
<header>Gui/Widgets.h</header>
</customwidget>
<customwidget>
<class>Gui::PrefColorButton</class>
<extends>Gui::ColorButton</extends>
<header>Gui/PrefWidgets.h</header>
</customwidget>
<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>
</customwidgets>
<resources/>
<connections/>
</ui>